Hi,
just begining to use OpenSSL (or trying...), I have got some undefined
references at compile time.
Everything is allright during installation (make, make test, make
install...), but just trying to compile
one of the little example:
gcc -g -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -Wall -c
cli.cpp
gcc -o cli cli.o -L/usr/local/ssl/lib -lcrypto -lssl
/usr/local/ssl/lib/libssl.a(s3_clnt.o): In function `ssl3_get_key_exchange':
s3_clnt.o(.text+0x17e6): undefined reference to `EVP_dss1'
/usr/local/ssl/lib/libssl.a(s3_clnt.o): In function
`ssl3_send_client_key_exchange':
s3_clnt.o(.text+0x1e22): undefined reference to `d2i_DHparams'
s3_clnt.o(.text+0x1e27): undefined reference to `i2d_DHparams'
s3_clnt.o(.text+0x1e42): undefined reference to `DH_generate_key'
s3_clnt.o(.text+0x1e5b): undefined reference to `DH_compute_key'
and so on.
/usr/local/ssl/bin/openssl version -a
OpenSSL 0.9.4 09 Aug 1999
built on: lun f�v 14 15:45:05 CET 2000
platform: linux-elf
options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int)
blowfish(idx)
compiler: gcc -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3
-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
(As usually this kind of problem is due to user's incompetence, please don't
hit me ;-)
--
_/_/_/_/ Guy MARTIN - France T�l�com
_/_/_/_/ Branche D�veloppement - Cnet - DMI/GRI
_/_/_/_/ (+33) 2 96 05 25 70 - Fax : (+33) 2 96 05 32 86
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]