Hello...
Compile bug report.
openssl-0.9.4, linux (RedHat 6.1), intel
./Configure linux-elf --openssldir=/etc/openssl --prefix=/usr no-rsa
OK
make
OK ( including ./apps/openssl )
make linux-shared
...
make[1]: Entering directory `/usr/src/redhat/BUILD/openssl-0.9.4/apps'
rm -f openssl
gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DNO_RSA
-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o
enc.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o dsa.o
dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o
s_time.o apps.o s_cb.o s_socket.o version.o sess_id.o ciphers.o nseq.o
pkcs12.o pkcs8.o -L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto
../libssl.so: undefined reference to `ssl2_generate_key_material'
../libssl.so: undefined reference to `ssl2_clear'
../libssl.so: undefined reference to `ssl2_new'
../libssl.so: undefined reference to `ssl2_get_cipher'
../libssl.so: undefined reference to `ssl2_get_cipher_by_char'
../libssl.so: undefined reference to `ssl2_write_error'
../libssl.so: undefined reference to `ssl2_return_error'
../libssl.so: undefined reference to `SSLv2_client_method'
../libssl.so: undefined reference to `ssl2_num_ciphers'
../libssl.so: undefined reference to `SSLv2_server_method'
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/openssl-0.9.4/apps'
the ssl2 undefined references seem to come out of ./ssl/s2_lib.c
the SSLv2 undefined references seem to come out of ./ssl/s2_clnt and
./ssl/s2_srvr.c
note: I am NOT a programmer, please double/tripple check
Crypto stuff confuses me, thanks to all the developers for makeing it a
little easier for us "mere mortal sysadmins".
--
Christopher McCrory
Lead Bithead, Netus Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"Linux: Because rebooting is for adding new hardware"
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]