Hi,
I'm trying to compile the SSL module for apache 1.3.3 under FreeBSD 3.0,
but first I've to compile the SSLeay lib (0.9.0b). I'm using the port
collection for this.
Unfortunatally, I always get link errors, with and without
USA_RESIDENT=YES or NO.
I try it out of the port collection, that's the same thing.
I'm sure that my problem has no link with the port collection and the
SSL sources themseves.
But if someone could help me, I would apreciate.
My last errors are :
===> Building for SSLeay-0.9.0b
making crypto...
making all in md2...
making all in md5...
making all in sha...
making all in mdc2...
making all in hmac...
making all in ripemd...
making all in des...
making all in rc2...
making all in rc4...
making all in rc5...
making all in idea...
making all in bf...
making all in cast...
making all in bn...
making all in rsa...
making all in dsa...
making all in dh...
making all in buffer...
making all in bio...
making all in stack...
making all in lhash...
making all in rand...
making all in err...
making all in objects...
making all in evp...
making all in pem...
making all in asn1...
making all in x509...
making all in conf...
making all in txt_db...
making all in pkcs7...
making ssl...
making rsaref...
making apps...
/bin/rm -f ssleay
gcc -o ssleay -DMONOLITH -I../include -DTERMIOS -DBN_ASM -DL_ENDIAN
-D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM
-DRMD160_ASM ssleay.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 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 -L. -L.. -L../..
-L../../.. -L.. -lssl -L.. -lcrypto
speed.o: In function `speed_main':
speed.o(.text+0x132b): undefined reference to `RC4'
speed.o(.text+0x1435): undefined reference to `des_ncbc_encrypt'
speed.o(.text+0x1554): undefined reference to `des_ede3_cbc_encrypt'
speed.o(.text+0x1885): undefined reference to `RC5_32_cbc_encrypt'
speed.o(.text+0x1995): undefined reference to `BF_cbc_encrypt'
speed.o(.text+0x1aa5): undefined reference to `CAST_cbc_encrypt'
../libcrypto.a(md5_dgst.o): In function `MD5_Update':
md5_dgst.o(.text+0x143): undefined reference to `md5_block_x86'
md5_dgst.o(.text+0x2e2): undefined reference to `md5_block_x86'
md5_dgst.o(.text+0x32f): undefined reference to `md5_block_x86'
../libcrypto.a(md5_dgst.o): In function `MD5_Transform':
md5_dgst.o(.text+0x3a2): undefined reference to `md5_block_x86'
../libcrypto.a(md5_dgst.o): In function `MD5_Final':
md5_dgst.o(.text+0x436): undefined reference to `md5_block_x86'
../libcrypto.a(md5_dgst.o)(.text+0x46e): more undefined references to
`md5_block_x86' follow
../libcrypto.a(sha1dgst.o): In function `SHA1_Update':
sha1dgst.o(.text+0x133): undefined reference to `sha1_block_x86'
sha1dgst.o(.text+0x2b7): undefined reference to `sha1_block_x86'
sha1dgst.o(.text+0x2f8): undefined reference to `sha1_block_x86'
../libcrypto.a(sha1dgst.o): In function `SHA1_Transform':
sha1dgst.o(.text+0x43e): undefined reference to `sha1_block_x86'
../libcrypto.a(sha1dgst.o): In function `SHA1_Final':
sha1dgst.o(.text+0x4d6): undefined reference to `sha1_block_x86'
../libcrypto.a(sha1dgst.o)(.text+0x54a): more undefined references to
`sha1_block_x86' follow
../libcrypto.a(ecb_enc.o): In function `des_ecb_encrypt':
ecb_enc.o(.text+0x9d): undefined reference to `des_encrypt'
../libcrypto.a(bf_skey.o): In function `BF_set_key':
bf_skey.o(.text+0xa3): undefined reference to `BF_encrypt'
bf_skey.o(.text+0xe3): undefined reference to `BF_encrypt'
../libcrypto.a(bf_ecb.o): In function `BF_ecb_encrypt':
bf_ecb.o(.text+0x74): undefined reference to `BF_encrypt'
bf_ecb.o(.text+0x87): undefined reference to `BF_decrypt'
../libcrypto.a(bn_word.o): In function `BN_div_word':
bn_word.o(.text+0xa5): undefined reference to `bn_div64'
../libcrypto.a(bn_word.o): In function `BN_mul_word':
bn_word.o(.text+0x2a8): undefined reference to `bn_mul_words'
../libcrypto.a(e_cbc_d.o): In function `des_cbc_cipher':
e_cbc_d.o(.text+0x72): undefined reference to `des_ncbc_encrypt'
../libcrypto.a(e_cbc_3d.o): In function `des_cbc_ede_cipher':
e_cbc_3d.o(.text+0x110): undefined reference to `des_ede3_cbc_encrypt'
../libcrypto.a(e_rc4.o): In function `rc4_cipher':
e_rc4.o(.text+0x78): undefined reference to `RC4'
../libcrypto.a(mdc2dgst.o): In function `mdc2_body':
mdc2dgst.o(.text+0x1c6): undefined reference to `des_encrypt'
mdc2dgst.o(.text+0x1e2): undefined reference to `des_encrypt'
../libcrypto.a(rmd_dgst.o): In function `RIPEMD160_Update':
rmd_dgst.o(.text+0x143): undefined reference to `ripemd160_block_x86'
rmd_dgst.o(.text+0x2e2): undefined reference to `ripemd160_block_x86'
rmd_dgst.o(.text+0x32f): undefined reference to `ripemd160_block_x86'
../libcrypto.a(rmd_dgst.o): In function `RIPEMD160_Transform':
rmd_dgst.o(.text+0x3a2): undefined reference to `ripemd160_block_x86'
../libcrypto.a(rmd_dgst.o): In function `RIPEMD160_Final':
rmd_dgst.o(.text+0x436): undefined reference to `ripemd160_block_x86'
../libcrypto.a(rmd_dgst.o)(.text+0x46e): more undefined references to
`ripemd160_block_x86' follow
../libcrypto.a(bn_add.o): In function `bn_qadd':
bn_add.o(.text+0x17f): undefined reference to `bn_add_words'
../libcrypto.a(bn_div.o): In function `BN_div':
bn_div.o(.text+0x338): undefined reference to `bn_div64'
bn_div.o(.text+0x419): undefined reference to `bn_mul_words'
../libcrypto.a(bn_mul.o): In function `BN_mul':
bn_mul.o(.text+0xbc): undefined reference to `bn_mul_words'
bn_mul.o(.text+0xe2): undefined reference to `bn_mul_add_words'
../libcrypto.a(bn_sqr.o): In function `BN_sqr':
bn_sqr.o(.text+0x103): undefined reference to `bn_mul_words'
bn_sqr.o(.text+0x128): undefined reference to `bn_mul_add_words'
bn_sqr.o(.text+0x14b): undefined reference to `bn_add_words'
bn_sqr.o(.text+0x163): undefined reference to `bn_sqr_words'
bn_sqr.o(.text+0x17c): undefined reference to `bn_add_words'
../libcrypto.a(bn_mont.o): In function `BN_from_montgomery':
bn_mont.o(.text+0x1a4): undefined reference to `bn_mul_add_words'
../libcrypto.a(e_cbc_bf.o): In function `bf_cbc_cipher':
e_cbc_bf.o(.text+0x72): undefined reference to `BF_cbc_encrypt'
../libcrypto.a(e_cbc_c.o): In function `cast_cbc_cipher':
e_cbc_c.o(.text+0x72): undefined reference to `CAST_cbc_encrypt'
../libcrypto.a(e_cbc_r5.o): In function `r_32_12_16_cbc_cipher':
e_cbc_r5.o(.text+0x72): undefined reference to `RC5_32_cbc_encrypt'
../libcrypto.a(ecb3_enc.o): In function `des_ecb3_encrypt':
ecb3_enc.o(.text+0x72): undefined reference to `des_encrypt3'
ecb3_enc.o(.text+0x91): undefined reference to `des_decrypt3'
../libcrypto.a(cfb64enc.o): In function `des_cfb64_encrypt':
cfb64enc.o(.text+0x88): undefined reference to `des_encrypt'
cfb64enc.o(.text+0x168): undefined reference to `des_encrypt'
../libcrypto.a(cfb64ede.o): In function `des_ede3_cfb64_encrypt':
cfb64ede.o(.text+0x8c): undefined reference to `des_encrypt3'
cfb64ede.o(.text+0x180): undefined reference to `des_encrypt3'
../libcrypto.a(ofb64ede.o): In function `des_ede3_ofb64_encrypt':
ofb64ede.o(.text+0xe5): undefined reference to `des_encrypt3'
../libcrypto.a(ofb64enc.o): In function `des_ofb64_encrypt':
ofb64enc.o(.text+0xd1): undefined reference to `des_encrypt'
../libcrypto.a(xcbc_enc.o): In function `des_xcbc_encrypt':
xcbc_enc.o(.text+0x261): undefined reference to `des_encrypt'
xcbc_enc.o(.text+0x389): undefined reference to `des_encrypt'
xcbc_enc.o(.text+0x4fd): undefined reference to `des_encrypt'
xcbc_enc.o(.text+0x5ed): undefined reference to `des_encrypt'
../libcrypto.a(rc5_ecb.o): In function `RC5_32_ecb_encrypt':
rc5_ecb.o(.text+0x64): undefined reference to `RC5_32_encrypt'
rc5_ecb.o(.text+0x77): undefined reference to `RC5_32_decrypt'
../libcrypto.a(rc5cfb64.o): In function `RC5_32_cfb64_encrypt':
rc5cfb64.o(.text+0x86): undefined reference to `RC5_32_encrypt'
rc5cfb64.o(.text+0x166): undefined reference to `RC5_32_encrypt'
../libcrypto.a(rc5ofb64.o): In function `RC5_32_ofb64_encrypt':
rc5ofb64.o(.text+0xcf): undefined reference to `RC5_32_encrypt'
../libcrypto.a(bf_cfb64.o): In function `BF_cfb64_encrypt':
bf_cfb64.o(.text+0x86): undefined reference to `BF_encrypt'
bf_cfb64.o(.text+0x166): undefined reference to `BF_encrypt'
../libcrypto.a(bf_ofb64.o): In function `BF_ofb64_encrypt':
bf_ofb64.o(.text+0xcf): undefined reference to `BF_encrypt'
../libcrypto.a(c_ecb.o): In function `CAST_ecb_encrypt':
c_ecb.o(.text+0x64): undefined reference to `CAST_encrypt'
c_ecb.o(.text+0x77): undefined reference to `CAST_decrypt'
../libcrypto.a(c_cfb64.o): In function `CAST_cfb64_encrypt':
c_cfb64.o(.text+0x86): undefined reference to `CAST_encrypt'
c_cfb64.o(.text+0x166): undefined reference to `CAST_encrypt'
../libcrypto.a(c_ofb64.o): In function `CAST_ofb64_encrypt':
c_ofb64.o(.text+0xcf): undefined reference to `CAST_encrypt'
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
--
----------------------------------
Antoine EMERIT [EMAIL PROTECTED]
Sysop Easynet France
Service client: [EMAIL PROTECTED]
Hotline : [EMAIL PROTECTED]
----------------------------------
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]