I have RSAREF2 from 1994 (patched for the overflow problem). I have a
librsaref.a which was used successfully to build the GPG RSA plugin. It's
in /usr/local/lib, while rsaref.h is in /usr/local/include. I unpacked
openssl-0.9.5 and ran './config --prefix=/usr/local rsaref'. 'make'
generally does its thing as expected, but then terminates when it's called
upon to build the 'openssl' binary:

rm -f openssl
gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DRSAref
-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
dhparam.o enc.o passwd.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 app_rand.o version.o sess_id.o
ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o -L. -L.. -L../..
-L../../.. -L.. -lssl -L.. -lcrypto -lRSAglue -lrsaref 
/usr/local/lib/librsaref.a(rsa.o): In function `RSAPublicBlock':
rsa.o(.text+0x3b8): undefined reference to `NN_ModExp'
/usr/local/lib/librsaref.a(rsa.o): In function `RSAPrivateBlock':
rsa.o(.text+0x5ae): undefined reference to `NN_ModExp'
rsa.o(.text+0x5e1): undefined reference to `NN_ModExp'
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/path/to/dir/openssl-0.9.5/apps'
make: *** [all] Error 1

Can anyone help? I've looked through the mailing list archives, Google,
DejaNews, the FAQ, the docs... and nothing is helping!

I have no trouble with 'make' or 'make test' if I don't choose the
'rsaref' option for the configuration script.

Platform is Red Hat Linux 6.1 (kernel 2.2.x, glibc 2.1.x) on x86, gcc
version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release), GNU ld version
2.9.1 (with BFD 2.9.1.0.24)

Thanks,

-Peter

http://www.bastille-linux.org/ : working towards more secure Linux systems

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to