On 28.08.2010 05:50, orauser wrote:

Dear experts,

I have build openssl 1.a on HP-UX using gcc. My application uses aCC to
build the code. While i am building my application using aCC i am getting
below error with the openssl 1.a that i build myself:

usr/ccs/bin/ld: Unsatisfied symbols:
    __udivdi3 (first referenced in
/opensslsource/openssl-1.0.0a/libcrypto.a(b_print.o)) (code)
    __ashldi3 (first referenced in
/opensslsource/openssl-1.0.0a/libcrypto.a(bn_lib.o)) (code)
    __umoddi3 (first referenced in
/opensslsource/openssl-1.0.0a/libcrypto.a(b_print.o)) (code)
    __lshrdi3 (first referenced in
/opensslsource/openssl-1.0.0a/libcrypto.a(bn_lib.o)) (code)
make: *** [MyApp] Error 1

I doubt this is happening because the openssl was build using gcc and my
Application is getting build using aCC. Please provide some solution to fix
this. When i am trying to build openssl with aCC i am getting compilation
errors.

Similar problem i am facing on Solaris where the openssl is build using cc
and my application is getting build using CC.

These are symbols contained in libgcc_s.so which is part of gcc. gcc often includes libgcc_s.so as runtime dependency. Make sure, that libgcc_s.so is installed (it comes with gcc) and can be found. Then add it to your library dependencies for the app.

Regards,

Rainer
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to