Hi. I have a library tool written to work on Solaris and Win platform. This libtool uses 'crypto' library from OpenSSL package. In this form, all things are OK.
The problem has been introduced when I extended the tool with capabilities derived from 'ssl' library from OpenSSL package. I have built the extended libtool on Solaris and all is OK. Then I have written a test program that use the new libtool's capabilities. When I make this TestPgm I meet those errors: Undefined first referenced symbol in file COMP_CTX_free /home/sviluppo/libtool/libs/libssl.a(s3_enc.o) EVP_enc_null /home/sviluppo/libtool/libs/libssl.a(ssl_ciph.o) COMP_compress_block /home/sviluppo/libtool/libs/libssl.a(s3_pkt.o) BIO_f_buffer /home/sviluppo/libtool/libs/libssl.a(ssl_lib.o) COMP_expand_block /home/sviluppo/libtool/libs/libssl.a(s3_pkt.o) X509_STORE_load_locations /home/sviluppo/libtool/libs/libssl.a(ssl_lib.o) X509_STORE_set_default_paths /home/sviluppo/libtool/libs/libssl.a(ssl_lib.o) X509_certificate_type /home/sviluppo/libtool/libs/libssl.a(s3_clnt.o) COMP_CTX_new /home/sviluppo/libtool/libs/libssl.a(s3_enc.o) BIO_s_socket /home/sviluppo/libtool/libs/libssl.a(ssl_lib.o) ERR_load_crypto_strings /home/sviluppo/libtool/libs/libssl.a(ssl_err2.o) ld: fatal: Symbol referencing errors. No output written to ../testmain.exe collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `main' Notice that functions reported in the error message aren't called by my code directly. My code call only upper-level ssl function. I'm using OpenSSL version 0.9.6g. Another notice. I have ported the same libtool and TestPgm on Win platform and all works fine. Do you know what's my mistake? Do you have any suggestion to resolve this situation? Thanks in advance. Francesco Dal Bello ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]