wollte gerade 6/4 austesten. Dazu braucht man openssl, also hab ich mir die neueste Version 0.9.7a runtergeladen und installiert. Danach musste ich noch nen symlink von /usr/include/openssl nach /usr/local/ssl/include/openssl legen, damit sich 6/4 nicht mehr über fehlende Header-Dateien beschwerd. Soweit so gut, jetzt bekomm ich allerdings diesen Fehler:
Code: Alles auswählen
/home/chimerer/download/source/sixfour/LinkLayer/ssl.cpp:132: undefined reference to `SSL_connect'
../../LinkLayer/ssl.o: In function `SSLObj::ssl_shutdown(void)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl.cpp:149: undefined reference to `SSL_shutdown'
../../LinkLayer/ssl.o: In function `SSLObj::get_ssl_object(void)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl.cpp:162: undefined reference to `BIO_new_fp'
/home/chimerer/download/source/sixfour/LinkLayer/ssl.cpp:163: undefined reference to `ERR_print_errors'
../../LinkLayer/ssl_ctx.o: In function `int __lexicographical_compare_3way<signed char const *, signed char const *>(signed char const *, signed char const *, signed char const *, signed char const *)':
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h:467: undefined reference to `BIO_new_file'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h:469: undefined reference to `PEM_read_bio_DHparams'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h:474: undefined reference to `BIO_free'
../../LinkLayer/ssl_ctx.o: In function `tmp_rsa_cb(ssl_st *, int, int)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:78: undefined reference to `RSA_generate_key'
../../LinkLayer/ssl_ctx.o: In function `verify_callback(int, x509_store_ctx_st *)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:89: undefined reference to `X509_STORE_CTX_get_current_cert'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:90: undefined reference to `X509_STORE_CTX_get_error'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:91: undefined reference to `X509_STORE_CTX_get_error_depth'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:93: undefined reference to `X509_get_subject_name'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:93: undefined reference to `X509_NAME_oneline'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:99: undefined reference to `X509_verify_cert_error_string'
../../LinkLayer/ssl_ctx.o: In function `SSLContext::SSLContext(int)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:115: undefined reference to `SSLv23_server_method'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:120: undefined reference to `SSLv23_client_method'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:125: undefined reference to `RAND_load_file'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:132: undefined reference to `CRYPTO_set_mem_functions'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:134: undefined reference to `SSL_library_init'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:135: undefined reference to `SSL_load_error_strings'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:136: undefined reference to `SSL_library_init'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:139: undefined reference to `SSL_CTX_new'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:144: undefined reference to `SSL_CTX_set_quiet_shutdown'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:150: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:151: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:150: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:151: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:152: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:153: undefined reference to `SSL_CTX_load_verify_locations'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:154: undefined reference to `SSL_CTX_set_default_verify_paths'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:166: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:168: undefined reference to `SSL_CTX_ctrl'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:169: undefined reference to `SSL_CTX_set_timeout'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:172: undefined reference to `SSL_CTX_use_certificate_file'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:184: undefined reference to `SSL_CTX_check_private_key'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:190: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:192: undefined reference to `SSL_CTX_set_verify'
../../LinkLayer/ssl_ctx.o: In function `SSLContext::ctx_shutdown(void)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:216: undefined reference to `SSL_CTX_free'
../../LinkLayer/ssl_ctx.o: In function `SSLContext::error(void)':
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:223: undefined reference to `ERR_get_error'
/home/chimerer/download/source/sixfour/LinkLayer/ssl_ctx.cpp:224: undefined reference to `ERR_error_string'
collect2: ld returned 1 exit status
make[1]: *** [TrustedPeer] Fehler 1
make[1]: Leaving directory `/home/chimerer/download/source/sixfour/PeerLayer/TP'
make: *** [all] Fehler 2