From: "Cameron Hague via RT" <[email protected]>

> After running ./config on my Alpha Tru64 server

   "my Alpha Tru64 server" is not a very useful description of anything.

>  and then running make, lo=
> ts
> gets made until finally it breaks with the following error.
> 
> 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 declare=
> d.
> (undeclared)
>         if (dladdr(addr,&dli))
> -------------------------^

   The actual compiler command with its results would be more
informative than only its results.

> Is there a package I'm missing or a configuration switch of the ./config
> script that I need?

   It's hard to say what you might need, because I don't really know
what you did where, how, or what happened when you did it.

> I've looked elsewhere but cannot work out what this problem is.

   And with approximately no useful information, I probably can't,
either.  Around here:

urtx# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Fri Mar 20 20:19:48 CDT 2009

urtx# cc -V
Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-302 (dtk) cc Driver

urtx# CC=cc ./config
[...]

urtx# gmake
[...]
making all in crypto/dso...
gmake[2]: Entering directory `/usr/local/src/openssl/openssl-1.0.0a/crypto/dso'
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_dl.o dso_dl.c
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 -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_err.o dso_err.c
[...]

   My "/usr/include/dlfcn.h" typedefs Dl_info if the right macros are
defined (or not), which seems to be true ("-DDSO_DLFCN -DHAVE_DLFCN_H"). 
See "crypto/dso/dso_dlfcn.c".  Look for "<dlfcn.h>".


   The big problem I had on this system was getting
"crypto/alphacpuid.s" into position (and keeping it there after "make
clean").

------------------------------------------------------------------------

   Steven M. Schweda               s...@antinode-info
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to