--_000_09B7EF8D8DB24F40BDC8C1B7EAF47CAC02B33C70F9G3W 0070americ_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
I am hoping somebody can set me straight on this. I haven't
been able to figure it out over the last few days.

I have ported to 0.9.8E from 0.9.7E, and am having trouble getting =
the
CRYPTO shareable image to link. Probably serves me right for waiting for s=
o long to port. ;-)
I am trying to do this on OpenVMS V7.3-2, with DEC C V7.1. The error that =
I am seeing
is shown below. To me, it looks like there is no global declaration of V_C=
HECK, only
external declarations:

$ search crypto$res:[ossl.build_0300_alpha_64]makevms.log "-W-"
%LINK-W-NUDFSYMS, 9 undefined symbols:
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_UBSEC referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_CSWIFT referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_NURON referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_CHIL referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_ATALLA referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_AEP referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_SUREWARE referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_4758CCA referenced
in symbol vector option
%LINK-W-USEUNDEFSYMV, undefined symbol ENGINE_LOAD_GMP referenced
in symbol vector option
%LINK-W-SHRWRNERS, compilation warnings
in shareable image file CRYPTO$RES:[OSSL.BUILD_0300_ALPHA_64.ALPHA.=
EXE.CRYPTO]SSL$LIBCRYPTO_SHR.EXE;11
$

I also found the following change in the CVS history for ENGINE.H. To me t=
his looks
like it is changing V_CHECK from a global declaration to an external refere=
nce:

--- engine.h 2005/07/16 11:13:06 1.57.2.1
+++ engine.h 2005/11/06 17:48:59 1.57.2.2
@@ -637,7 +637,7 @@
* can be fully instantiated with IMPLEMENT_DYNAMIC_CHECK_FN(). */
typedef unsigned long (*dynamic_v_check_fn)(unsigned long ossl_version);
#define IMPLEMENT_DYNAMIC_CHECK_FN() \
- unsigned long v_check(unsigned long v) { \
+ OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \
if(v >=3D OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION;=
\
return 0; }

@@ -659,6 +659,7 @@
typedef int (*dynamic_bind_engine)(ENGINE *e, const char *id,
const dynamic_fns *fns);
#define IMPLEMENT_DYNAMIC_BIND_FN(fn) \
+ OPENSSL_EXPORT \
int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) =
{ \
if(ENGINE_get_static_state() =3D=3D fns->static_state) goto=
skip_cbs; \
if(!CRYPTO_set_mem_functions(fns->mem_fns.malloc_cb, \

Any comments or clarifications will be appreciated.

Thanks,
Kevin Greaney



--_000_09B7EF8D8DB24F40BDC8C1B7EAF47CAC02B33C70F9G3W 0070americ_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable




>






Hi,

        I am hoping somebody can se=
t me straight on this.  I haven't

been able to figure it out over the last few days.

 

        I have ported to 0.9.8E fro=
m 0.9.7E, and am having trouble getting the

CRYPTO shareable image to link.  Probably serves me right for wai=
ting for so long to port. ;-)

I am trying to do this on OpenVMS V7.3-2, with DEC C V7.1.  The e=
rror that I am seeing

is shown below.  To me, it looks like there is no global declarat=
ion of V_CHECK, only

external declarations: 

 

$ search crypto$res:[ossl.build_=
0300_alpha_64]makevms.log "-W-"

%LINK-W-NUDFSYMS, 9 undefined sy=
mbols:

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_UBSEC referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_CSWIFT referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_NURON referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_CHIL referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_ATALLA referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_AEP referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_SUREWARE referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_4758CCA referenced

     &n=
bsp;  in symbol vector option

%LINK-W-USEUNDEFSYMV, undefined =
symbol ENGINE_LOAD_GMP referenced

     &n=
bsp;  in symbol vector option

%LINK-W-SHRWRNERS, compilation w=
arnings

     &n=
bsp;  in shareable image file CRYPTO$RES:[OSSL.BUILD_0300_ALPHA_64.ALP=
HA.EXE.CRYPTO]SSL$LIBCRYPTO_SHR.EXE;11

$

 

I also found the following change in the CVS history for ENGINE.H.&nbs=
p; To me this looks

like it is changing V_CHECK from a global declaration to an external r=
eference:

 

--- engine.h    =
2005/07/16 11:13:06     1.57.2.1

+++ engine.h &=
nbsp;  2005/11/06 17:48:59     1.57.2.2
v>
@@ -637,7 +637,7 @@<=
/div>
  * can be fully instantia=
ted with IMPLEMENT_DYNAMIC_CHECK_FN(). */

typedef unsigned long (*dynami=
c_v_check_fn)(unsigned long ossl_version);

#define IMPLEMENT_DYNAMIC_CHEC=
K_FN() \

-     =
  unsigned long v_check(unsigned long v) { \

+    &n=
bsp;  OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \
=

     &=
nbsp;           if(v >=
=3D OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \

     &=
nbsp;           return 0;=
}

 

@@ -659,6 +659,7 @@<=
/div>
typedef int (*dynamic_bind_eng=
ine)(ENGINE *e, const char *id,

     &=
nbsp;           &nbs=
p;            &=
nbsp;  const dynamic_fns *fns);

#define IMPLEMENT_DYNAMIC_BIND=
_FN(fn) \

+    &n=
bsp;  OPENSSL_EXPORT \

     &=
nbsp;   int bind_engine(ENGINE *e, const char *id, const dynamic_=
fns *fns) { \

     &=
nbsp;           if(ENGINE=
_get_static_state() =3D=3D fns->static_state) goto skip_cbs; \
iv>
     &=
nbsp;           if(!CRYPT=
O_set_mem_functions(fns->mem_fns.malloc_cb, \

 

Any comments or clarifications will be appreciated.

 

Thanks,

Kevin Greaney

 

 





--_000_09B7EF8D8DB24F40BDC8C1B7EAF47CAC02B33C70F9G3W 0070americ_--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org