This is the third day I've been trying to get OpenSSL to build properly
with rsaref-2.0. I'm doing this all so I can install mod_ssl for my Apache.

uname -a (after adjusting for line length):

FreeBSD toy.chip-web.com 3.1-STABLE FreeBSD 3.1-STABLE #0:
Thu Mar  4 18:28:40 PST 1999
[EMAIL PROTECTED]:/usr/src/sys/compile/TOY  i386

All work is being done in ~user/root/.
First I installed rsaref-2.0 (using the .tar.Z from ftp.rsa.com).
FreeBSD has a port for rsaref-2.0 and two patch files (the first copies
(des|md2|md5).h to _(des|md2|md5).h and the second has some integer
typedefs) and I applied those patches. RSAref compiled without problems. I
then copied rsaref.a to librsaref.a in the rsaref-2.0/local directory.

Then I went to openssl. I extracted the openssl-0.9.2b tarball, ran
"./Configure FreeBSD-elf && make && make test" and all went well. Then I
ran "./Configure -DRSAref -lrsaref -L~user/root/rsaref-2.0/local
FreeBSD-elf && make". Make died with the follwoing errors:

making all in apps...
rm -f openssl
gcc -o openssl -DMONOLITH -I../include -DRSAref -DTERMIOS -DL_ENDIAN
-fomit-fram
e-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM openssl.o
verify.o a
sn1pars.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
-L. -L.
. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto -lrsaref -L/home/user/root/rsar
ef-2.0/local
speed.o: In function `speed_main':
speed.o(.text+0x4dd): undefined reference to `RSA_PKCS1_RSAref'
../libcrypto.a(rsa_lib.o): In function `RSA_new_method':
rsa_lib.o(.text+0x30): undefined reference to `RSA_PKCS1_RSAref'
../libcrypto.a(err_all.o): In function `ERR_load_crypto_strings':
err_all.o(.text+0x2d): undefined reference to `ERR_load_RSAREF_strings'
*** Error code 1

Stop.
*** Error code 1

Stop.

I also tried openssl-SNAP from 3/22 +- 1 day with similar results. I would
use the FreeBSD port for OpenSSL, but that still uses OpenSSL 0.9.1c.

Any suggestions?

--Ludwig Pummer ( [EMAIL PROTECTED] ) ICQ UIN: 692441
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to