I've been successful on some systems, but it fails on others, and I really have no clue as to why.
I run everything the way you show in the docs, but it fails. Now it seems to be failing more than not, and I don't know what's missing from my system, i.e. some sort of lib file or what in order to make your software compile properly.
I invoked:
fw:/usr/src/openssl-0.9.4 # make -I/usr/src/openssl-0.9.4/include/openssl
It seems to make it all the way through, but towards the end, we this:
make[1]: Entering directory `/usr/src/openssl-0.9.4/apps'
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c verify.c -o verify.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c asn1pars.c -o asn1pars.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c req.c -o req.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c dgst.c -o dgst.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c dh.c -o dh.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c enc.c -o enc.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c gendh.c -o gendh.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c errstr.c -o errstr.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c ca.c -o ca.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c pkcs7.c -o pkcs7.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c crl2p7.c -o crl2p7.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c crl.c -o crl.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c rsa.c -o rsa.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c dsa.c -o dsa.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c dsaparam.c -o dsaparam.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c x509.c -o x509.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c genrsa.c -o genrsa.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c gendsa.c -o gendsa.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c s_server.c -o s_server.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c s_client.c -o s_client.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c speed.c -o speed.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c s_time.c -o s_time.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c apps.c -o apps.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c s_cb.c -o s_cb.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c s_socket.c -o s_socket.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c version.c -o version.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c sess_id.c -o sess_id.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c ciphers.c -o ciphers.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c nseq.c -o nseq.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c pkcs12.c -o pkcs12.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c pkcs8.c -o pkcs8.o
gcc -DMONOLITH -I../include -DTHREADS -D_REENTRANT
-DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -c openssl.c -o openssl.o
rm -f openssl
gcc -o openssl -DMONOLITH -I../include -DTHREADS
-D_REENTRANT -DREF_CHECK -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -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 -lefence
speed.o: In function `speed_main':
/usr/src/openssl-0.9.4/apps/speed.c:825: undefined
reference to `RC4'
/usr/src/openssl-0.9.4/apps/speed.c:842: undefined
reference to `des_ncbc_encrypt'
/usr/src/openssl-0.9.4/apps/speed.c:858: undefined
reference to `des_ede3_cbc_encrypt'
/usr/src/openssl-0.9.4/apps/speed.c:912: undefined
reference to `RC5_32_cbc_encrypt'
/usr/src/openssl-0.9.4/apps/speed.c:930: undefined
reference to `BF_cbc_encrypt'
/usr/src/openssl-0.9.4/apps/speed.c:948: undefined
reference to `CAST_cbc_encrypt'
../libcrypto.a(md5_dgst.o): In function `MD5_Update':
/usr/src/openssl-0.9.4/crypto/md5/../md32_common.h:431:
undefined reference to `md5_block_asm_host_order'
/usr/src/openssl-0.9.4/crypto/md5/../md32_common.h:472:
undefined reference to `md5_block_asm_host_order'
/usr/src/openssl-0.9.4/crypto/md5/../md32_common.h:490:
undefined reference to `md5_block_asm_host_order'
../libcrypto.a(md5_dgst.o): In function `MD5_Transform':
/usr/src/openssl-0.9.4/crypto/md5/../md32_common.h:519:
undefined reference to `md5_block_asm_host_order'
/usr/src/openssl-0.9.4/crypto/md5/../md32_common.h:529:
undefined reference to `md5_block_asm_host_order'
../libcrypto.a(md5_dgst.o):/usr/src/openssl-0.9.4/crypto/md5/../md32_common.h:569:
more undefined references to `md5_block_asm_host_order' follow
../libcrypto.a(sha1dgst.o): In function `SHA1_Update':
/usr/src/openssl-0.9.4/crypto/sha/sha1dgst.c:150:
undefined reference to `sha1_block_x86'
/usr/src/openssl-0.9.4/crypto/sha/sha1dgst.c:194:
undefined reference to `sha1_block_x86'
/usr/src/openssl-0.9.4/crypto/sha/sha1dgst.c:217:
undefined reference to `sha1_block_x86'
../libcrypto.a(sha1dgst.o): In function `SHA1_Transform':
/usr/src/openssl-0.9.4/crypto/sha/sha1dgst.c:281:
undefined reference to `sha1_block_x86'
../libcrypto.a(sha1dgst.o): In function `SHA1_Final':
/usr/src/openssl-0.9.4/crypto/sha/sha1dgst.c:470:
undefined reference to `sha1_block_x86'
../libcrypto.a(sha1dgst.o):/usr/src/openssl-0.9.4/crypto/sha/sha1dgst.c:483:
more undefined references to `sha1_block_x86' follow
../libcrypto.a(ecb_enc.o): In function `des_ecb_encrypt':
/usr/src/openssl-0.9.4/crypto/des/ecb_enc.c:117:
undefined reference to `des_encrypt'
../libcrypto.a(bf_skey.o): In function `BF_set_key':
/usr/src/openssl-0.9.4/crypto/bf/bf_skey.c:103: undefined
reference to `BF_encrypt'
/usr/src/openssl-0.9.4/crypto/bf/bf_skey.c:111: undefined
reference to `BF_encrypt'
../libcrypto.a(bf_ecb.o): In function `BF_ecb_encrypt':
/usr/src/openssl-0.9.4/crypto/bf/bf_ecb.c:89: undefined
reference to `BF_encrypt'
/usr/src/openssl-0.9.4/crypto/bf/bf_ecb.c:91: undefined
reference to `BF_decrypt'
../libcrypto.a(bn_word.o): In function `BN_div_word':
/usr/src/openssl-0.9.4/crypto/bn/bn_word.c:99: undefined
reference to `bn_div_words'
../libcrypto.a(bn_word.o): In function `BN_mul_word':
/usr/src/openssl-0.9.4/crypto/bn/bn_word.c:185: undefined
reference to `bn_mul_words'
../libcrypto.a(e_cbc_d.o): In function `des_cbc_cipher':
/usr/src/openssl-0.9.4/crypto/evp/e_cbc_d.c:102:
undefined reference to `des_ncbc_encrypt'
../libcrypto.a(e_cbc_3d.o): In function `des_cbc_ede_cipher':
/usr/src/openssl-0.9.4/crypto/evp/e_cbc_3d.c:146:
undefined reference to `des_ede3_cbc_encrypt'
../libcrypto.a(e_rc4.o): In function `rc4_cipher':
/usr/src/openssl-0.9.4/crypto/evp/e_rc4.c:113: undefined
reference to `RC4'
../libcrypto.a(mdc2dgst.o): In function `mdc2_body':
/usr/src/openssl-0.9.4/crypto/mdc2/mdc2dgst.c:139:
undefined reference to `des_encrypt'
/usr/src/openssl-0.9.4/crypto/mdc2/mdc2dgst.c:143:
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_uadd':
/usr/src/openssl-0.9.4/crypto/bn/bn_add.c:133: undefined
reference to `bn_add_words'
../libcrypto.a(bn_div.o): In function `BN_div':
/usr/src/openssl-0.9.4/crypto/bn/bn_div.c:295: undefined
reference to `bn_mul_words'
../libcrypto.a(bn_mul.o): In function `bn_mul_recursive':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:92: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:109: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:110: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:116: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:117: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:126: undefined
reference to `bn_sub_words'
../libcrypto.a(bn_mul.o):/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:127:
more undefined references to `bn_sub_words' follow
../libcrypto.a(bn_mul.o): In function `bn_mul_recursive':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:143: undefined
reference to `bn_mul_comba4'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:147: undefined
reference to `bn_mul_comba4'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:148: undefined
reference to `bn_mul_comba4'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:153: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:157: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:158: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:177: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:181: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:186: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:194: undefined
reference to `bn_add_words'
../libcrypto.a(bn_mul.o): In function `bn_mul_part_recursive':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:236: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:237: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:248: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:249: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:310: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:311: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:318: undefined
reference to `bn_add_words'
../libcrypto.a(bn_mul.o): In function `bn_mul_low_recursive':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:356: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:358: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:364: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:365: undefined
reference to `bn_add_words'
../libcrypto.a(bn_mul.o): In function `bn_mul_high':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:394: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:395: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:401: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:402: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:411: undefined
reference to `bn_sub_words'
../libcrypto.a(bn_mul.o):/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:412:
more undefined references to `bn_sub_words' follow
../libcrypto.a(bn_mul.o): In function `bn_mul_high':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:430: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:431: undefined
reference to `bn_mul_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:449: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:458: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:461: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:467: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:493: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:500: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:502: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:504: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:506: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:507: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:509: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:511: undefined
reference to `bn_add_words'
../libcrypto.a(bn_mul.o): In function `BN_mul':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:608: undefined
reference to `bn_mul_comba8'
../libcrypto.a(bn_mul.o): In function `bn_mul_normal':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:717: undefined
reference to `bn_mul_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:722: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:724: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:726: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:728: undefined
reference to `bn_mul_add_words'
../libcrypto.a(bn_mul.o): In function `bn_mul_low_normal':
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:740: undefined
reference to `bn_mul_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:745: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:747: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:749: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_mul.c:751: undefined
reference to `bn_mul_add_words'
../libcrypto.a(bn_sqr.o): In function `BN_sqr':
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:94: undefined
reference to `bn_sqr_comba4'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:103: undefined
reference to `bn_sqr_comba8'
../libcrypto.a(bn_sqr.o): In function `bn_sqr_normal':
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:161: undefined
reference to `bn_mul_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:169: undefined
reference to `bn_mul_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:173: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:177: undefined
reference to `bn_sqr_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:179: undefined
reference to `bn_add_words'
../libcrypto.a(bn_sqr.o): In function `bn_sqr_recursive':
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:207: undefined
reference to `bn_sqr_comba4'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:216: undefined
reference to `bn_sqr_comba8'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:229: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:231: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:250: undefined
reference to `bn_add_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:253: undefined
reference to `bn_sub_words'
/usr/src/openssl-0.9.4/crypto/bn/bn_sqr.c:260: undefined
reference to `bn_add_words'
../libcrypto.a(bn_mont.o): In function `BN_from_montgomery':
/usr/src/openssl-0.9.4/crypto/bn/bn_mont.c:157: undefined
reference to `bn_mul_add_words'
../libcrypto.a(e_cbc_bf.o): In function `bf_cbc_cipher':
/usr/src/openssl-0.9.4/crypto/evp/e_cbc_bf.c:100:
undefined reference to `BF_cbc_encrypt'
../libcrypto.a(e_cbc_c.o): In function `cast_cbc_cipher':
/usr/src/openssl-0.9.4/crypto/evp/e_cbc_c.c:101:
undefined reference to `CAST_cbc_encrypt'
../libcrypto.a(e_cbc_r5.o): In function `r_32_12_16_cbc_cipher':
/usr/src/openssl-0.9.4/crypto/evp/e_cbc_r5.c:102:
undefined reference to `RC5_32_cbc_encrypt'
../libcrypto.a(ecb3_enc.o): In function `des_ecb3_encrypt':
/usr/src/openssl-0.9.4/crypto/des/ecb3_enc.c:75:
undefined reference to `des_encrypt3'
/usr/src/openssl-0.9.4/crypto/des/ecb3_enc.c:77:
undefined reference to `des_decrypt3'
../libcrypto.a(cfb64enc.o): In function `des_cfb64_encrypt':
/usr/src/openssl-0.9.4/crypto/des/cfb64enc.c:85:
undefined reference to `des_encrypt'
/usr/src/openssl-0.9.4/crypto/des/cfb64enc.c:105:
undefined reference to `des_encrypt'
../libcrypto.a(cfb64ede.o): In function `des_ede3_cfb64_encrypt':
/usr/src/openssl-0.9.4/crypto/des/cfb64ede.c:88:
undefined reference to `des_encrypt3'
/usr/src/openssl-0.9.4/crypto/des/cfb64ede.c:114:
undefined reference to `des_encrypt3'
../libcrypto.a(ofb64ede.o): In function `des_ede3_ofb64_encrypt':
/usr/src/openssl-0.9.4/crypto/des/ofb64ede.c:93:
undefined reference to `des_encrypt3'
../libcrypto.a(ofb64enc.o): In function `des_ofb64_encrypt':
/usr/src/openssl-0.9.4/crypto/des/ofb64enc.c:90:
undefined reference to `des_encrypt'
../libcrypto.a(xcbc_enc.o): In function `des_xcbc_encrypt':
/usr/src/openssl-0.9.4/crypto/des/xcbc_enc.c:141:
undefined reference to `des_encrypt'
/usr/src/openssl-0.9.4/crypto/des/xcbc_enc.c:150:
undefined reference to `des_encrypt'
/usr/src/openssl-0.9.4/crypto/des/xcbc_enc.c:166:
undefined reference to `des_encrypt'
/usr/src/openssl-0.9.4/crypto/des/xcbc_enc.c:178:
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':
/usr/src/openssl-0.9.4/crypto/bf/bf_cfb64.c:85: undefined
reference to `BF_encrypt'
/usr/src/openssl-0.9.4/crypto/bf/bf_cfb64.c:105:
undefined reference to `BF_encrypt'
../libcrypto.a(bf_ofb64.o): In function `BF_ofb64_encrypt':
/usr/src/openssl-0.9.4/crypto/bf/bf_ofb64.c:90: undefined
reference to `BF_encrypt'
../libcrypto.a(c_ecb.o): In function `CAST_ecb_encrypt':
/usr/src/openssl-0.9.4/crypto/cast/c_ecb.c:73: undefined
reference to `CAST_encrypt'
/usr/src/openssl-0.9.4/crypto/cast/c_ecb.c:75: undefined
reference to `CAST_decrypt'
../libcrypto.a(c_cfb64.o): In function `CAST_cfb64_encrypt':
/usr/src/openssl-0.9.4/crypto/cast/c_cfb64.c:86:
undefined reference to `CAST_encrypt'
/usr/src/openssl-0.9.4/crypto/cast/c_cfb64.c:106:
undefined reference to `CAST_encrypt'
../libcrypto.a(c_ofb64.o): In function `CAST_ofb64_encrypt':
/usr/src/openssl-0.9.4/crypto/cast/c_ofb64.c:91:
undefined reference to `CAST_encrypt'
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/usr/src/openssl-0.9.4/apps'
make: *** [all] Error 1
fw:/usr/src/openssl-0.9.4 #