Seit der Änderung in Revision 4287 baut Tor nicht mehr, wenn statisch gelinkte Libraries ausgewählt sind. Ich baue Tor für eine 7270. Die Fehlermeldungen sehen folgendermaßen aus:
tor-dirclean hat mir nicht geholfen, mehr Ideen habe ich im Moment nicht.
Code:
/home/make/projects/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib -L/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib -static -o tor tor_main.o ./libtor.a ../common/libor.a ../common/libor-crypto.a ../common/libor-event.a -lz -lm -levent -lcrypto -lssl -lpthread -ldl
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(t1_enc.o): In function `tls1_change_cipher_state':
t1_enc.c:(.text+0x11d8): undefined reference to `COMP_CTX_free'
t1_enc.c:(.text+0x11f0): undefined reference to `COMP_CTX_new'
t1_enc.c:(.text+0x12c4): undefined reference to `COMP_CTX_free'
t1_enc.c:(.text+0x12dc): undefined reference to `COMP_CTX_new'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_load_verify_locations':
ssl_lib.c:(.text+0x960): undefined reference to `X509_STORE_load_locations'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_lib.o): In function `SSL_CTX_set_default_verify_paths':
ssl_lib.c:(.text+0x978): undefined reference to `X509_STORE_set_default_paths'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_lib.o): In function `ssl_clear_cipher_ctx':
ssl_lib.c:(.text+0x10e8): undefined reference to `COMP_CTX_free'
ssl_lib.c:(.text+0x1104): undefined reference to `COMP_CTX_free'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_cert.o): In function `SSL_add_file_cert_subjects_to_stack':
ssl_cert.c:(.text+0x12c): undefined reference to `PEM_read_bio_X509'
ssl_cert.c:(.text+0x1c8): undefined reference to `PEM_read_bio_X509'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_cert.o): In function `SSL_add_dir_cert_subjects_to_stack':
ssl_cert.c:(.text+0x344): undefined reference to `OPENSSL_DIR_read'
ssl_cert.c:(.text+0x400): undefined reference to `OPENSSL_DIR_end'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_cert.o): In function `SSL_load_client_CA_file':
ssl_cert.c:(.text+0x6d4): undefined reference to `PEM_read_bio_X509'
ssl_cert.c:(.text+0x7c8): undefined reference to `PEM_read_bio_X509'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_sess.o): In function `SSL_CTX_set_client_cert_engine':
ssl_sess.c:(.text+0x1e8): undefined reference to `ENGINE_get_ssl_client_cert_function'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_ciph.o): In function `load_builtin_compressions':
ssl_ciph.c:(.text+0x498): undefined reference to `COMP_zlib'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_ciph.o): In function `ssl_cipher_get_evp':
ssl_ciph.c:(.text+0x1934): undefined reference to `EVP_enc_null'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_rsa.o): In function `SSL_CTX_use_certificate_chain_file':
ssl_rsa.c:(.text+0x360): undefined reference to `PEM_read_bio_X509'
ssl_rsa.c:(.text+0x428): undefined reference to `PEM_read_bio_X509'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_rsa.o): In function `SSL_CTX_use_certificate_file':
ssl_rsa.c:(.text+0x16c8): undefined reference to `PEM_read_bio_X509'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(ssl_rsa.o): In function `SSL_use_certificate_file':
ssl_rsa.c:(.text+0x1874): undefined reference to `PEM_read_bio_X509'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(s3_srvr.o): In function `ssl3_get_cert_verify':
s3_srvr.c:(.text+0xca8): undefined reference to `X509_certificate_type'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(s3_clnt.o): In function `ssl_do_client_cert_cb':
s3_clnt.c:(.text+0x90): undefined reference to `ENGINE_load_ssl_client_cert'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(s3_clnt.o): In function `ssl3_check_cert_and_algorithm':
s3_clnt.c:(.text+0x1bc): undefined reference to `X509_certificate_type'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(s3_enc.o): In function `ssl3_change_cipher_state':
s3_enc.c:(.text+0x1130): undefined reference to `COMP_CTX_free'
s3_enc.c:(.text+0x1148): undefined reference to `COMP_CTX_new'
s3_enc.c:(.text+0x120c): undefined reference to `COMP_CTX_free'
s3_enc.c:(.text+0x1224): undefined reference to `COMP_CTX_new'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(s3_pkt.o): In function `ssl3_do_compress':
s3_pkt.c:(.text+0x3bc): undefined reference to `COMP_compress_block'
/home/make/projects/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libssl.a(s3_pkt.o): In function `ssl3_do_uncompress':
s3_pkt.c:(.text+0x9e0): undefined reference to `COMP_expand_block'
collect2: ld returned 1 exit status
make[4]: *** [tor] Error 1
make[4]: Leaving directory `/home/make/projects/freetz-trunk/source/tor-0.2.2.8-alpha/src/or'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/make/projects/freetz-trunk/source/tor-0.2.2.8-alpha/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/make/projects/freetz-trunk/source/tor-0.2.2.8-alpha'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/make/projects/freetz-trunk/source/tor-0.2.2.8-alpha'
make: *** [source/tor-0.2.2.8-alpha/src/or/tor] Error 2