I am also attempting to build OpenSSL 1.0.0a on an antique "OSF1
system-name-here V4.0 1530 alpha alpha Tru64" system running Alpha 4.0G. I
also get the error about "dli" not being declared. This is the last of the
compile log where it fails:
cc -I.. -I../.. -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS -pthread
-DDSO_DLFCN -DHAVE_DLFCN_H -std1 -tune host -fast -readonly_strings
-DOPENSSL_BN_ASM_MONT -c -o dso_dlfcn.o dso_dlfcn.c
cc: Error: dso_dlfcn.c, line 445: In this declaration, "Dl_info" must specify a
type. (badparsedecl)
Dl_info dli;
--------^
cc: Error: dso_dlfcn.c, line 455: In this statement, "dli" is not declared.
(undeclared)
if (dladdr(addr,&dli))
-----------------------------------
I looked at the page http://cvs.openssl.org/chngview?cn=19501 and saw that the
change to dso_dlfcn.c was:
+# ifdef __osf__
+# define __EXTENSIONS__
+# endif
I validated that the version of dso_dlfcn.c has this change. It still gets
this compiler error. I looked a bit deeper and determined that the struct
Dl_info is not being created because "__sgi" is NOT defined.
As a test I defined __sgi temporarily and the dso_dlfcn.c module compiled. I
have no clue as to where __sgi might correctly be defined or what it means. To
the best of my knowledge currently, its meaning must be "make Nelson work
harder."
My mod is a TEST ONLY to validate my troubleshooting. Here's the diff from
original March 2010 (v1.35) dso_dlfcn.c code and my mods.
##################
a402
#define __sgi
.
a440
#undef __sgi
.
##################
Don't worry too much. The compile fails later on in b_sock.c. I'll look into
that later if I can. Thanks for your attention.
Nelson E. Ingersoll
I.T. Senior Systems Engineer
ATMEL Corporation
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]