#1 Le 18/03/2015, à 19:54
- leninelenine
erreur compilation tortunnel
Bonsoir
En suivant ce tuto:
https://github.com/moxie0/tortunnel/issues/8
J'ai une erreur
Voici une copie du terminal:
privacy@privacy:~$ sudo su
[sudo] password for privacy:
root@privacy:/home/privacy# git clone git://github.com/moxie0/tortunnel.git
Cloning into 'tortunnel'...
remote: Counting objects: 78, done.
remote: Total 78 (delta 0), reused 0 (delta 0), pack-reused 78
Receiving objects: 100% (78/78), 73.53 KiB | 6 KiB/s, done.
Resolving deltas: 100% (40/40), done.
root@privacy:/home/privacy# cd tortunnel
root@privacy:/home/privacy/tortunnel# wget https://github.com/moxie0/tortunnel/pull/6.diff
--2015-03-18 18:44:57-- https://github.com/moxie0/tortunnel/pull/6.diff
Résolution de github.com (github.com)... 192.30.252.130
Connexion vers github.com (github.com)|192.30.252.130|:443... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: non spécifié [text/plain]
Sauvegarde en : «6.diff»
[ <=> ] 1 208 --.-K/s ds 0,08s
2015-03-18 18:45:01 (14,5 KB/s) - «6.diff» sauvegardé [1208]
root@privacy:/home/privacy/tortunnel# patch -p1 < 6.diff
patching file protocol/Directory.h
root@privacy:/home/privacy/tortunnel# aclocal
root@privacy:/home/privacy/tortunnel# autoconf
root@privacy:/home/privacy/tortunnel# automake --add-missing
root@privacy:/home/privacy/tortunnel# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
root@privacy:/home/privacy/tortunnel# make
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT TorProxy.o -MD -MP -MF .deps/TorProxy.Tpo -c -o TorProxy.o TorProxy.cpp
mv -f .deps/TorProxy.Tpo .deps/TorProxy.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT HybridEncryption.o -MD -MP -MF .deps/HybridEncryption.Tpo -c -o HybridEncryption.o `test -f 'protocol/HybridEncryption.cpp' || echo './'`protocol/HybridEncryption.cpp
mv -f .deps/HybridEncryption.Tpo .deps/HybridEncryption.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Connection.o -MD -MP -MF .deps/Connection.Tpo -c -o Connection.o `test -f 'protocol/Connection.cpp' || echo './'`protocol/Connection.cpp
mv -f .deps/Connection.Tpo .deps/Connection.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Cell.o -MD -MP -MF .deps/Cell.Tpo -c -o Cell.o `test -f 'protocol/Cell.cpp' || echo './'`protocol/Cell.cpp
mv -f .deps/Cell.Tpo .deps/Cell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Directory.o -MD -MP -MF .deps/Directory.Tpo -c -o Directory.o `test -f 'protocol/Directory.cpp' || echo './'`protocol/Directory.cpp
mv -f .deps/Directory.Tpo .deps/Directory.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT ServerListing.o -MD -MP -MF .deps/ServerListing.Tpo -c -o ServerListing.o `test -f 'protocol/ServerListing.cpp' || echo './'`protocol/ServerListing.cpp
mv -f .deps/ServerListing.Tpo .deps/ServerListing.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Util.o -MD -MP -MF .deps/Util.Tpo -c -o Util.o `test -f 'util/Util.cpp' || echo './'`util/Util.cpp
mv -f .deps/Util.Tpo .deps/Util.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Circuit.o -MD -MP -MF .deps/Circuit.Tpo -c -o Circuit.o `test -f 'protocol/Circuit.cpp' || echo './'`protocol/Circuit.cpp
mv -f .deps/Circuit.Tpo .deps/Circuit.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CellEncrypter.o -MD -MP -MF .deps/CellEncrypter.Tpo -c -o CellEncrypter.o `test -f 'protocol/CellEncrypter.cpp' || echo './'`protocol/CellEncrypter.cpp
mv -f .deps/CellEncrypter.Tpo .deps/CellEncrypter.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT RelayCellDispatcher.o -MD -MP -MF .deps/RelayCellDispatcher.Tpo -c -o RelayCellDispatcher.o `test -f 'protocol/RelayCellDispatcher.cpp' || echo './'`protocol/RelayCellDispatcher.cpp
mv -f .deps/RelayCellDispatcher.Tpo .deps/RelayCellDispatcher.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CellConsumer.o -MD -MP -MF .deps/CellConsumer.Tpo -c -o CellConsumer.o `test -f 'protocol/CellConsumer.cpp' || echo './'`protocol/CellConsumer.cpp
mv -f .deps/CellConsumer.Tpo .deps/CellConsumer.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT ProxyShuffler.o -MD -MP -MF .deps/ProxyShuffler.Tpo -c -o ProxyShuffler.o ProxyShuffler.cpp
mv -f .deps/ProxyShuffler.Tpo .deps/ProxyShuffler.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CreateCell.o -MD -MP -MF .deps/CreateCell.Tpo -c -o CreateCell.o `test -f 'protocol/CreateCell.cpp' || echo './'`protocol/CreateCell.cpp
mv -f .deps/CreateCell.Tpo .deps/CreateCell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CreatedCell.o -MD -MP -MF .deps/CreatedCell.Tpo -c -o CreatedCell.o `test -f 'protocol/CreatedCell.cpp' || echo './'`protocol/CreatedCell.cpp
mv -f .deps/CreatedCell.Tpo .deps/CreatedCell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT TorTunnel.o -MD -MP -MF .deps/TorTunnel.Tpo -c -o TorTunnel.o TorTunnel.cpp
mv -f .deps/TorTunnel.Tpo .deps/TorTunnel.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT SocksConnection.o -MD -MP -MF .deps/SocksConnection.Tpo -c -o SocksConnection.o SocksConnection.cpp
mv -f .deps/SocksConnection.Tpo .deps/SocksConnection.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Network.o -MD -MP -MF .deps/Network.Tpo -c -o Network.o `test -f 'util/Network.cpp' || echo './'`util/Network.cpp
mv -f .deps/Network.Tpo .deps/Network.Po
g++ -ggdb -g -O2 -lssl -lboost_system-mt -lcrypto -o torproxy TorProxy.o HybridEncryption.o Connection.o Cell.o Directory.o ServerListing.o Util.o Circuit.o CellEncrypter.o RelayCellDispatcher.o CellConsumer.o ProxyShuffler.o CreateCell.o CreatedCell.o TorTunnel.o SocksConnection.o Network.o
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `~posix_tss_ptr':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete'
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr_create(unsigned int&)':
/usr/include/boost/asio/detail/impl/posix_tss_ptr.ipp:34: undefined reference to `pthread_key_create'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*() const':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:54: undefined reference to `pthread_getspecific'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `Connection::initializeSSL()':
/home/privacy/tortunnel/protocol/Connection.cpp:59: undefined reference to `SSL_load_error_strings'
/home/privacy/tortunnel/protocol/Connection.cpp:60: undefined reference to `SSL_library_init'
/home/privacy/tortunnel/protocol/Connection.cpp:62: undefined reference to `SSLv23_client_method'
/home/privacy/tortunnel/protocol/Connection.cpp:62: undefined reference to `SSL_CTX_new'
/home/privacy/tortunnel/protocol/Connection.cpp:63: undefined reference to `SSL_CTX_set_verify'
/home/privacy/tortunnel/protocol/Connection.cpp:65: undefined reference to `BIO_s_mem'
/home/privacy/tortunnel/protocol/Connection.cpp:65: undefined reference to `BIO_new'
/home/privacy/tortunnel/protocol/Connection.cpp:66: undefined reference to `BIO_s_mem'
/home/privacy/tortunnel/protocol/Connection.cpp:66: undefined reference to `BIO_new'
/home/privacy/tortunnel/protocol/Connection.cpp:67: undefined reference to `SSL_new'
/home/privacy/tortunnel/protocol/Connection.cpp:69: undefined reference to `SSL_set_bio'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `~Connection':
/home/privacy/tortunnel/protocol/Connection.cpp:403: undefined reference to `SSL_CTX_free'
/home/privacy/tortunnel/protocol/Connection.cpp:404: undefined reference to `SSL_free'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::readIntoBufferComplete(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&, unsigned int)':
/home/privacy/tortunnel/protocol/Connection.cpp:240: undefined reference to `BIO_write'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::writeFromBuffer(boost::function<void (boost::system::error_code const&)>)':
/home/privacy/tortunnel/protocol/Connection.cpp:247: undefined reference to `BIO_ctrl_pending'
/home/privacy/tortunnel/protocol/Connection.cpp:249: undefined reference to `BIO_read'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `reactive_socket_send_op':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `Connection::handshake(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:201: undefined reference to `SSL_do_handshake'
/home/privacy/tortunnel/protocol/Connection.cpp:206: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::renegotiateCiphers(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:189: undefined reference to `SSL_set_cipher_list'
/home/privacy/tortunnel/protocol/Connection.cpp:190: undefined reference to `SSL_renegotiate'
Connection.o: In function `Connection::writeFully(unsigned char*, int, boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:138: undefined reference to `SSL_write'
/home/privacy/tortunnel/protocol/Connection.cpp:140: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::readFully(unsigned char*, int, boost::function<void (boost::system::error_code const&)>, boost::system::error_code)':
/home/privacy/tortunnel/protocol/Connection.cpp:101: undefined reference to `SSL_read'
/home/privacy/tortunnel/protocol/Connection.cpp:103: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::initializeSSL()':
/home/privacy/tortunnel/protocol/Connection.cpp:70: undefined reference to `SSL_set_connect_state'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
RelayCellDispatcher.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
ProxyShuffler.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
ProxyShuffler.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
SocksConnection.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
SocksConnection.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
HybridEncryption.o: In function `HybridEncryption::AES_encrypt(unsigned char*, int, unsigned char*, unsigned char*, int)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:59: undefined reference to `AES_set_encrypt_key'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:60: undefined reference to `AES_ctr128_encrypt'
HybridEncryption.o: In function `HybridEncryption::encryptInHybridChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:67: undefined reference to `RSA_size'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:75: undefined reference to `RAND_bytes'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:82: undefined reference to `RSA_public_encrypt'
HybridEncryption.o: In function `HybridEncryption::encryptInSingleChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:94: undefined reference to `RSA_size'
HybridEncryption.o: In function `HybridEncryption::encrypt(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:104: undefined reference to `RSA_size'
HybridEncryption.o: In function `HybridEncryption::encryptInSingleChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:97: undefined reference to `RSA_public_encrypt'
Directory.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Directory.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
ServerListing.o: In function `ServerListing::getOnionKey()':
/home/privacy/tortunnel/protocol/ServerListing.cpp:92: undefined reference to `RSA_new'
/home/privacy/tortunnel/protocol/ServerListing.cpp:93: undefined reference to `BIO_new_mem_buf'
/home/privacy/tortunnel/protocol/ServerListing.cpp:97: undefined reference to `PEM_read_bio_RSAPublicKey'
ServerListing.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
ServerListing.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Util.o: In function `Util::getRandomId()':
/home/privacy/tortunnel/util/Util.cpp:252: undefined reference to `RAND_bytes'
Util.o: In function `Util::getRandom()':
/home/privacy/tortunnel/util/Util.cpp:259: undefined reference to `RAND_bytes'
Circuit.o: In function `Circuit::initializeDhParameters()':
/home/privacy/tortunnel/protocol/Circuit.cpp:69: undefined reference to `BN_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:70: undefined reference to `BN_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:71: undefined reference to `DH_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:73: undefined reference to `BN_hex2bn'
/home/privacy/tortunnel/protocol/Circuit.cpp:74: undefined reference to `BN_set_word'
/home/privacy/tortunnel/protocol/Circuit.cpp:76: undefined reference to `BN_dup'
/home/privacy/tortunnel/protocol/Circuit.cpp:77: undefined reference to `BN_dup'
Circuit.o: In function `~Circuit':
/home/privacy/tortunnel/protocol/Circuit.cpp:280: undefined reference to `BN_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:281: undefined reference to `BN_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:282: undefined reference to `DH_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:283: undefined reference to `RSA_free'
Circuit.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Circuit.o: In function `Circuit::initializeDhParameters()':
/home/privacy/tortunnel/protocol/Circuit.cpp:79: undefined reference to `DH_generate_key'
Circuit.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Circuit.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CellEncrypter.o: In function `CellEncrypter':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:50: undefined reference to `SHA1_Init'
CellEncrypter.o: In function `CellEncrypter::expandKeyMaterial(unsigned char*, int, unsigned char*, int)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:69: undefined reference to `SHA1'
CellEncrypter.o: In function `CellEncrypter::initKeyMaterial(unsigned char*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:92: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:93: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:95: undefined reference to `AES_set_encrypt_key'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:96: undefined reference to `AES_set_encrypt_key'
CellEncrypter.o: In function `CellEncrypter::aesOperate(Cell&, aes_key_st*, unsigned char*, unsigned char*, unsigned int*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:124: undefined reference to `AES_ctr128_encrypt'
CellEncrypter.o: In function `CellEncrypter::calculateDigest(SHAstate_st*, RelayCell&, unsigned char*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:132: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:137: undefined reference to `SHA1_Final'
CellEncrypter.o: In function `CellEncrypter':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:51: undefined reference to `SHA1_Init'
CellConsumer.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
CellConsumer.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CreateCell.o: In function `CreateCell':
/home/privacy/tortunnel/protocol/CreateCell.cpp:39: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreateCell.cpp:45: undefined reference to `BN_bn2bin'
Network.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Network.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Network.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Network.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CreatedCell.o: In function `CreatedCell::isValid()':
/home/privacy/tortunnel/protocol/CreatedCell.cpp:45: undefined reference to `BN_num_bits'
CreatedCell.o: In function `CreatedCell::getKeyMaterial(unsigned char**, unsigned char**)':
/home/privacy/tortunnel/protocol/CreatedCell.cpp:49: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:49: undefined reference to `BN_bin2bn'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:50: undefined reference to `DH_size'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:51: undefined reference to `DH_compute_key'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:52: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:54: undefined reference to `BN_free'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [torproxy] Erreur 1
J'utilise Lubuntu 12.04
Sauriez vous d'ou vient le problème ou comment y remédier s'il vous plait.
Merci
Hors ligne
#2 Le 18/03/2015, à 20:02
- bishop
Re : erreur compilation tortunnel
Salut leninelenine !
Peut être, pour commencer, en installant libboost-dev :
sudo apt-get install libboost-dev
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#3 Le 18/03/2015, à 20:06
- bishop
Re : erreur compilation tortunnel
Et aussi libssl-dev si ce n'est déjà fait :
sudo apt-get install libssl-dev
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#4 Le 18/03/2015, à 20:57
- leninelenine
Re : erreur compilation tortunnel
Merci
J'ai fait un:
sudo apt-get install libboost-dev
puis un:
sudo apt-get install libssl-dev
maintenant j'ai ça:
privacy@privacy:~$ sudo su
[sudo] password for privacy:
root@privacy:/home/privacy# git clone git://github.com/moxie0/tortunnel.git
Cloning into 'tortunnel'...
remote: Counting objects: 78, done.
remote: Total 78 (delta 0), reused 0 (delta 0), pack-reused 78
Receiving objects: 100% (78/78), 73.53 KiB | 12 KiB/s, done.
Resolving deltas: 100% (40/40), done.
root@privacy:/home/privacy# cd tortunnel
root@privacy:/home/privacy/tortunnel# wget https://github.com/moxie0/tortunnel/pull/6.diff
--2015-03-18 19:49:58-- https://github.com/moxie0/tortunnel/pull/6.diff
Résolution de github.com (github.com)... 192.30.252.128
Connexion vers github.com (github.com)|192.30.252.128|:443... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: non spécifié [text/plain]
Sauvegarde en : «6.diff»
[ <=> ] 1 208 --.-K/s ds 0s
2015-03-18 19:50:01 (17,6 MB/s) - «6.diff» sauvegardé [1208]
root@privacy:/home/privacy/tortunnel# patch -p1 < 6.diff
patching file protocol/Directory.h
root@privacy:/home/privacy/tortunnel# aclocal
root@privacy:/home/privacy/tortunnel# autoconf
root@privacy:/home/privacy/tortunnel# automake --add-missing
root@privacy:/home/privacy/tortunnel# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
root@privacy:/home/privacy/tortunnel# make
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT TorProxy.o -MD -MP -MF .deps/TorProxy.Tpo -c -o TorProxy.o TorProxy.cpp
mv -f .deps/TorProxy.Tpo .deps/TorProxy.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT HybridEncryption.o -MD -MP -MF .deps/HybridEncryption.Tpo -c -o HybridEncryption.o `test -f 'protocol/HybridEncryption.cpp' || echo './'`protocol/HybridEncryption.cpp
mv -f .deps/HybridEncryption.Tpo .deps/HybridEncryption.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Connection.o -MD -MP -MF .deps/Connection.Tpo -c -o Connection.o `test -f 'protocol/Connection.cpp' || echo './'`protocol/Connection.cpp
mv -f .deps/Connection.Tpo .deps/Connection.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Cell.o -MD -MP -MF .deps/Cell.Tpo -c -o Cell.o `test -f 'protocol/Cell.cpp' || echo './'`protocol/Cell.cpp
mv -f .deps/Cell.Tpo .deps/Cell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Directory.o -MD -MP -MF .deps/Directory.Tpo -c -o Directory.o `test -f 'protocol/Directory.cpp' || echo './'`protocol/Directory.cpp
mv -f .deps/Directory.Tpo .deps/Directory.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT ServerListing.o -MD -MP -MF .deps/ServerListing.Tpo -c -o ServerListing.o `test -f 'protocol/ServerListing.cpp' || echo './'`protocol/ServerListing.cpp
mv -f .deps/ServerListing.Tpo .deps/ServerListing.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Util.o -MD -MP -MF .deps/Util.Tpo -c -o Util.o `test -f 'util/Util.cpp' || echo './'`util/Util.cpp
mv -f .deps/Util.Tpo .deps/Util.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Circuit.o -MD -MP -MF .deps/Circuit.Tpo -c -o Circuit.o `test -f 'protocol/Circuit.cpp' || echo './'`protocol/Circuit.cpp
mv -f .deps/Circuit.Tpo .deps/Circuit.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CellEncrypter.o -MD -MP -MF .deps/CellEncrypter.Tpo -c -o CellEncrypter.o `test -f 'protocol/CellEncrypter.cpp' || echo './'`protocol/CellEncrypter.cpp
mv -f .deps/CellEncrypter.Tpo .deps/CellEncrypter.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT RelayCellDispatcher.o -MD -MP -MF .deps/RelayCellDispatcher.Tpo -c -o RelayCellDispatcher.o `test -f 'protocol/RelayCellDispatcher.cpp' || echo './'`protocol/RelayCellDispatcher.cpp
mv -f .deps/RelayCellDispatcher.Tpo .deps/RelayCellDispatcher.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CellConsumer.o -MD -MP -MF .deps/CellConsumer.Tpo -c -o CellConsumer.o `test -f 'protocol/CellConsumer.cpp' || echo './'`protocol/CellConsumer.cpp
mv -f .deps/CellConsumer.Tpo .deps/CellConsumer.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT ProxyShuffler.o -MD -MP -MF .deps/ProxyShuffler.Tpo -c -o ProxyShuffler.o ProxyShuffler.cpp
mv -f .deps/ProxyShuffler.Tpo .deps/ProxyShuffler.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CreateCell.o -MD -MP -MF .deps/CreateCell.Tpo -c -o CreateCell.o `test -f 'protocol/CreateCell.cpp' || echo './'`protocol/CreateCell.cpp
mv -f .deps/CreateCell.Tpo .deps/CreateCell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CreatedCell.o -MD -MP -MF .deps/CreatedCell.Tpo -c -o CreatedCell.o `test -f 'protocol/CreatedCell.cpp' || echo './'`protocol/CreatedCell.cpp
mv -f .deps/CreatedCell.Tpo .deps/CreatedCell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT TorTunnel.o -MD -MP -MF .deps/TorTunnel.Tpo -c -o TorTunnel.o TorTunnel.cpp
mv -f .deps/TorTunnel.Tpo .deps/TorTunnel.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT SocksConnection.o -MD -MP -MF .deps/SocksConnection.Tpo -c -o SocksConnection.o SocksConnection.cpp
mv -f .deps/SocksConnection.Tpo .deps/SocksConnection.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Network.o -MD -MP -MF .deps/Network.Tpo -c -o Network.o `test -f 'util/Network.cpp' || echo './'`util/Network.cpp
mv -f .deps/Network.Tpo .deps/Network.Po
g++ -ggdb -g -O2 -lssl -lboost_system-mt -lcrypto -o torproxy TorProxy.o HybridEncryption.o Connection.o Cell.o Directory.o ServerListing.o Util.o Circuit.o CellEncrypter.o RelayCellDispatcher.o CellConsumer.o ProxyShuffler.o CreateCell.o CreatedCell.o TorTunnel.o SocksConnection.o Network.o
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `~posix_tss_ptr':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete'
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr_create(unsigned int&)':
/usr/include/boost/asio/detail/impl/posix_tss_ptr.ipp:34: undefined reference to `pthread_key_create'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*() const':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:54: undefined reference to `pthread_getspecific'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `Connection::initializeSSL()':
/home/privacy/tortunnel/protocol/Connection.cpp:59: undefined reference to `SSL_load_error_strings'
/home/privacy/tortunnel/protocol/Connection.cpp:60: undefined reference to `SSL_library_init'
/home/privacy/tortunnel/protocol/Connection.cpp:62: undefined reference to `SSLv23_client_method'
/home/privacy/tortunnel/protocol/Connection.cpp:62: undefined reference to `SSL_CTX_new'
/home/privacy/tortunnel/protocol/Connection.cpp:63: undefined reference to `SSL_CTX_set_verify'
/home/privacy/tortunnel/protocol/Connection.cpp:65: undefined reference to `BIO_s_mem'
/home/privacy/tortunnel/protocol/Connection.cpp:65: undefined reference to `BIO_new'
/home/privacy/tortunnel/protocol/Connection.cpp:66: undefined reference to `BIO_s_mem'
/home/privacy/tortunnel/protocol/Connection.cpp:66: undefined reference to `BIO_new'
/home/privacy/tortunnel/protocol/Connection.cpp:67: undefined reference to `SSL_new'
/home/privacy/tortunnel/protocol/Connection.cpp:69: undefined reference to `SSL_set_bio'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `~Connection':
/home/privacy/tortunnel/protocol/Connection.cpp:403: undefined reference to `SSL_CTX_free'
/home/privacy/tortunnel/protocol/Connection.cpp:404: undefined reference to `SSL_free'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::readIntoBufferComplete(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&, unsigned int)':
/home/privacy/tortunnel/protocol/Connection.cpp:240: undefined reference to `BIO_write'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::writeFromBuffer(boost::function<void (boost::system::error_code const&)>)':
/home/privacy/tortunnel/protocol/Connection.cpp:247: undefined reference to `BIO_ctrl_pending'
/home/privacy/tortunnel/protocol/Connection.cpp:249: undefined reference to `BIO_read'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `reactive_socket_send_op':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `Connection::handshake(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:201: undefined reference to `SSL_do_handshake'
/home/privacy/tortunnel/protocol/Connection.cpp:206: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::renegotiateCiphers(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:189: undefined reference to `SSL_set_cipher_list'
/home/privacy/tortunnel/protocol/Connection.cpp:190: undefined reference to `SSL_renegotiate'
Connection.o: In function `Connection::writeFully(unsigned char*, int, boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:138: undefined reference to `SSL_write'
/home/privacy/tortunnel/protocol/Connection.cpp:140: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::readFully(unsigned char*, int, boost::function<void (boost::system::error_code const&)>, boost::system::error_code)':
/home/privacy/tortunnel/protocol/Connection.cpp:101: undefined reference to `SSL_read'
/home/privacy/tortunnel/protocol/Connection.cpp:103: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::initializeSSL()':
/home/privacy/tortunnel/protocol/Connection.cpp:70: undefined reference to `SSL_set_connect_state'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
RelayCellDispatcher.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
ProxyShuffler.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
ProxyShuffler.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
SocksConnection.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
SocksConnection.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
HybridEncryption.o: In function `HybridEncryption::AES_encrypt(unsigned char*, int, unsigned char*, unsigned char*, int)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:59: undefined reference to `AES_set_encrypt_key'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:60: undefined reference to `AES_ctr128_encrypt'
HybridEncryption.o: In function `HybridEncryption::encryptInHybridChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:67: undefined reference to `RSA_size'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:75: undefined reference to `RAND_bytes'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:82: undefined reference to `RSA_public_encrypt'
HybridEncryption.o: In function `HybridEncryption::encryptInSingleChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:94: undefined reference to `RSA_size'
HybridEncryption.o: In function `HybridEncryption::encrypt(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:104: undefined reference to `RSA_size'
HybridEncryption.o: In function `HybridEncryption::encryptInSingleChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:97: undefined reference to `RSA_public_encrypt'
Directory.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Directory.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
ServerListing.o: In function `ServerListing::getOnionKey()':
/home/privacy/tortunnel/protocol/ServerListing.cpp:92: undefined reference to `RSA_new'
/home/privacy/tortunnel/protocol/ServerListing.cpp:93: undefined reference to `BIO_new_mem_buf'
/home/privacy/tortunnel/protocol/ServerListing.cpp:97: undefined reference to `PEM_read_bio_RSAPublicKey'
ServerListing.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
ServerListing.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Util.o: In function `Util::getRandomId()':
/home/privacy/tortunnel/util/Util.cpp:252: undefined reference to `RAND_bytes'
Util.o: In function `Util::getRandom()':
/home/privacy/tortunnel/util/Util.cpp:259: undefined reference to `RAND_bytes'
Circuit.o: In function `Circuit::initializeDhParameters()':
/home/privacy/tortunnel/protocol/Circuit.cpp:69: undefined reference to `BN_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:70: undefined reference to `BN_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:71: undefined reference to `DH_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:73: undefined reference to `BN_hex2bn'
/home/privacy/tortunnel/protocol/Circuit.cpp:74: undefined reference to `BN_set_word'
/home/privacy/tortunnel/protocol/Circuit.cpp:76: undefined reference to `BN_dup'
/home/privacy/tortunnel/protocol/Circuit.cpp:77: undefined reference to `BN_dup'
Circuit.o: In function `~Circuit':
/home/privacy/tortunnel/protocol/Circuit.cpp:280: undefined reference to `BN_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:281: undefined reference to `BN_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:282: undefined reference to `DH_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:283: undefined reference to `RSA_free'
Circuit.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Circuit.o: In function `Circuit::initializeDhParameters()':
/home/privacy/tortunnel/protocol/Circuit.cpp:79: undefined reference to `DH_generate_key'
Circuit.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Circuit.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CellEncrypter.o: In function `CellEncrypter':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:50: undefined reference to `SHA1_Init'
CellEncrypter.o: In function `CellEncrypter::expandKeyMaterial(unsigned char*, int, unsigned char*, int)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:69: undefined reference to `SHA1'
CellEncrypter.o: In function `CellEncrypter::initKeyMaterial(unsigned char*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:92: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:93: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:95: undefined reference to `AES_set_encrypt_key'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:96: undefined reference to `AES_set_encrypt_key'
CellEncrypter.o: In function `CellEncrypter::aesOperate(Cell&, aes_key_st*, unsigned char*, unsigned char*, unsigned int*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:124: undefined reference to `AES_ctr128_encrypt'
CellEncrypter.o: In function `CellEncrypter::calculateDigest(SHAstate_st*, RelayCell&, unsigned char*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:132: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:137: undefined reference to `SHA1_Final'
CellEncrypter.o: In function `CellEncrypter':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:51: undefined reference to `SHA1_Init'
CellConsumer.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
CellConsumer.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CreateCell.o: In function `CreateCell':
/home/privacy/tortunnel/protocol/CreateCell.cpp:39: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreateCell.cpp:45: undefined reference to `BN_bn2bin'
Network.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Network.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Network.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Network.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CreatedCell.o: In function `CreatedCell::isValid()':
/home/privacy/tortunnel/protocol/CreatedCell.cpp:45: undefined reference to `BN_num_bits'
CreatedCell.o: In function `CreatedCell::getKeyMaterial(unsigned char**, unsigned char**)':
/home/privacy/tortunnel/protocol/CreatedCell.cpp:49: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:49: undefined reference to `BN_bin2bn'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:50: undefined reference to `DH_size'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:51: undefined reference to `DH_compute_key'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:52: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:54: undefined reference to `BN_free'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [torproxy] Erreur 1
root@privacy:/home/privacy/tortunnel#
une idée?
Merci
Hors ligne
#5 Le 18/03/2015, à 23:05
- bishop
Re : erreur compilation tortunnel
Essaie :
Dans Precise 12.04 il y a deux versions de libboost-filesystem, 1.46 et 1.48.
Si tu as installé Synaptic il faudrait que tu regardes (Rechercher => libboost-filesystem) si tu as des librairies libboost installées et quelle version. Puis tu installes l'une ou l'autre selon le cas.
sudo apt-get install libboost-filesystem1.46-dev
ou
sudo apt-get install libboost-filesystem1.48-dev
Dernière modification par bishop (Le 18/03/2015, à 23:05)
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#6 Le 19/03/2015, à 10:05
- bishop
Re : erreur compilation tortunnel
D'après https://github.com/moxie0/tortunnel/issues/2
Il faudrait que tu installes ces libboost dev (version ??? à voir sur Precise 12.04) :
libboost-filesystem1... -dev
libboost-python1... -dev
libboost-regex1...-dev
libboost-system-dev
libboost-system1...-dev
libboost-system1...
libboost-thread1...-dev
libboost1...-dev
Et aussi automake :
sudo apt-get install automake
Puis :
git clone https://github.com/manurautela/tortunnel
cd tortunnel
autoreconf
automake --add-missing
./configure
make
sudo make install
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#7 Le 19/03/2015, à 10:05
- bishop
Re : erreur compilation tortunnel
D'après https://github.com/moxie0/tortunnel/issues/2
Il faudrait que tu installes ces libboost (dev) (version ??? à voir sur Precise 12.04) :
libboost-filesystem1... -dev
libboost-python1... -dev
libboost-regex1...-dev
libboost-system-dev
libboost-system1...-dev
libboost-system1...
libboost-thread1...-dev
libboost1...-dev
Et aussi automake :
sudo apt-get install automake
Puis :
git clone https://github.com/manurautela/tortunnel
cd tortunnel
autoreconf
automake --add-missing
./configure
make
sudo make install
Dernière modification par bishop (Le 19/03/2015, à 10:05)
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne
#8 Le 24/03/2015, à 19:54
- leninelenine
Re : erreur compilation tortunnel
Bonjour
Avec libboost 1.46 j'ai:
privacy@privacy:~$ git clone git://github.com/manurautela/tortunnel
Cloning into 'tortunnel'...
remote: Counting objects: 86, done.
remote: Total 86 (delta 0), reused 0 (delta 0), pack-reused 86
Receiving objects: 100% (86/86), 77.59 KiB | 13 KiB/s, done.
Resolving deltas: 100% (44/44), done.
privacy@privacy:~$ cd tortunnel
privacy@privacy:~/tortunnel$ autoreconf
privacy@privacy:~/tortunnel$ automake --add-missing
privacy@privacy:~/tortunnel$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
privacy@privacy:~/tortunnel$ make
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT TorProxy.o -MD -MP -MF .deps/TorProxy.Tpo -c -o TorProxy.o TorProxy.cpp
mv -f .deps/TorProxy.Tpo .deps/TorProxy.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT HybridEncryption.o -MD -MP -MF .deps/HybridEncryption.Tpo -c -o HybridEncryption.o `test -f 'protocol/HybridEncryption.cpp' || echo './'`protocol/HybridEncryption.cpp
mv -f .deps/HybridEncryption.Tpo .deps/HybridEncryption.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Connection.o -MD -MP -MF .deps/Connection.Tpo -c -o Connection.o `test -f 'protocol/Connection.cpp' || echo './'`protocol/Connection.cpp
mv -f .deps/Connection.Tpo .deps/Connection.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Cell.o -MD -MP -MF .deps/Cell.Tpo -c -o Cell.o `test -f 'protocol/Cell.cpp' || echo './'`protocol/Cell.cpp
mv -f .deps/Cell.Tpo .deps/Cell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Directory.o -MD -MP -MF .deps/Directory.Tpo -c -o Directory.o `test -f 'protocol/Directory.cpp' || echo './'`protocol/Directory.cpp
mv -f .deps/Directory.Tpo .deps/Directory.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT ServerListing.o -MD -MP -MF .deps/ServerListing.Tpo -c -o ServerListing.o `test -f 'protocol/ServerListing.cpp' || echo './'`protocol/ServerListing.cpp
mv -f .deps/ServerListing.Tpo .deps/ServerListing.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Util.o -MD -MP -MF .deps/Util.Tpo -c -o Util.o `test -f 'util/Util.cpp' || echo './'`util/Util.cpp
mv -f .deps/Util.Tpo .deps/Util.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Circuit.o -MD -MP -MF .deps/Circuit.Tpo -c -o Circuit.o `test -f 'protocol/Circuit.cpp' || echo './'`protocol/Circuit.cpp
mv -f .deps/Circuit.Tpo .deps/Circuit.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CellEncrypter.o -MD -MP -MF .deps/CellEncrypter.Tpo -c -o CellEncrypter.o `test -f 'protocol/CellEncrypter.cpp' || echo './'`protocol/CellEncrypter.cpp
mv -f .deps/CellEncrypter.Tpo .deps/CellEncrypter.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT RelayCellDispatcher.o -MD -MP -MF .deps/RelayCellDispatcher.Tpo -c -o RelayCellDispatcher.o `test -f 'protocol/RelayCellDispatcher.cpp' || echo './'`protocol/RelayCellDispatcher.cpp
mv -f .deps/RelayCellDispatcher.Tpo .deps/RelayCellDispatcher.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CellConsumer.o -MD -MP -MF .deps/CellConsumer.Tpo -c -o CellConsumer.o `test -f 'protocol/CellConsumer.cpp' || echo './'`protocol/CellConsumer.cpp
mv -f .deps/CellConsumer.Tpo .deps/CellConsumer.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT ProxyShuffler.o -MD -MP -MF .deps/ProxyShuffler.Tpo -c -o ProxyShuffler.o ProxyShuffler.cpp
mv -f .deps/ProxyShuffler.Tpo .deps/ProxyShuffler.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CreateCell.o -MD -MP -MF .deps/CreateCell.Tpo -c -o CreateCell.o `test -f 'protocol/CreateCell.cpp' || echo './'`protocol/CreateCell.cpp
mv -f .deps/CreateCell.Tpo .deps/CreateCell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT CreatedCell.o -MD -MP -MF .deps/CreatedCell.Tpo -c -o CreatedCell.o `test -f 'protocol/CreatedCell.cpp' || echo './'`protocol/CreatedCell.cpp
mv -f .deps/CreatedCell.Tpo .deps/CreatedCell.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT TorTunnel.o -MD -MP -MF .deps/TorTunnel.Tpo -c -o TorTunnel.o TorTunnel.cpp
mv -f .deps/TorTunnel.Tpo .deps/TorTunnel.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT SocksConnection.o -MD -MP -MF .deps/SocksConnection.Tpo -c -o SocksConnection.o SocksConnection.cpp
mv -f .deps/SocksConnection.Tpo .deps/SocksConnection.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tortunnel\" -DVERSION=\"0.3\" -I. -ggdb -g -O2 -MT Network.o -MD -MP -MF .deps/Network.Tpo -c -o Network.o `test -f 'util/Network.cpp' || echo './'`util/Network.cpp
mv -f .deps/Network.Tpo .deps/Network.Po
g++ -ggdb -g -O2 -lssl -lboost_system-mt -lcrypto -o torproxy TorProxy.o HybridEncryption.o Connection.o Cell.o Directory.o ServerListing.o Util.o Circuit.o CellEncrypter.o RelayCellDispatcher.o CellConsumer.o ProxyShuffler.o CreateCell.o CreatedCell.o TorTunnel.o SocksConnection.o Network.o
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `~posix_tss_ptr':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete'
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:48: undefined reference to `pthread_key_delete'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr_create(unsigned int&)':
/usr/include/boost/asio/detail/impl/posix_tss_ptr.ipp:34: undefined reference to `pthread_key_create'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*() const':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:54: undefined reference to `pthread_getspecific'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context>::operator=(boost::asio::detail::call_stack<boost::asio::detail::task_io_service>::context*)':
/usr/include/boost/asio/detail/posix_tss_ptr.hpp:60: undefined reference to `pthread_setspecific'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorProxy.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorProxy.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `Connection::initializeSSL()':
/home/privacy/tortunnel/protocol/Connection.cpp:59: undefined reference to `SSL_load_error_strings'
/home/privacy/tortunnel/protocol/Connection.cpp:60: undefined reference to `SSL_library_init'
/home/privacy/tortunnel/protocol/Connection.cpp:62: undefined reference to `SSLv23_client_method'
/home/privacy/tortunnel/protocol/Connection.cpp:62: undefined reference to `SSL_CTX_new'
/home/privacy/tortunnel/protocol/Connection.cpp:63: undefined reference to `SSL_CTX_set_verify'
/home/privacy/tortunnel/protocol/Connection.cpp:65: undefined reference to `BIO_s_mem'
/home/privacy/tortunnel/protocol/Connection.cpp:65: undefined reference to `BIO_new'
/home/privacy/tortunnel/protocol/Connection.cpp:66: undefined reference to `BIO_s_mem'
/home/privacy/tortunnel/protocol/Connection.cpp:66: undefined reference to `BIO_new'
/home/privacy/tortunnel/protocol/Connection.cpp:67: undefined reference to `SSL_new'
/home/privacy/tortunnel/protocol/Connection.cpp:69: undefined reference to `SSL_set_bio'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `~Connection':
/home/privacy/tortunnel/protocol/Connection.cpp:403: undefined reference to `SSL_CTX_free'
/home/privacy/tortunnel/protocol/Connection.cpp:404: undefined reference to `SSL_free'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::readIntoBufferComplete(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&, unsigned int)':
/home/privacy/tortunnel/protocol/Connection.cpp:240: undefined reference to `BIO_write'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::writeFromBuffer(boost::function<void (boost::system::error_code const&)>)':
/home/privacy/tortunnel/protocol/Connection.cpp:247: undefined reference to `BIO_ctrl_pending'
/home/privacy/tortunnel/protocol/Connection.cpp:249: undefined reference to `BIO_read'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `reactive_socket_send_op':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `Connection::handshake(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:201: undefined reference to `SSL_do_handshake'
/home/privacy/tortunnel/protocol/Connection.cpp:206: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::renegotiateCiphers(boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:189: undefined reference to `SSL_set_cipher_list'
/home/privacy/tortunnel/protocol/Connection.cpp:190: undefined reference to `SSL_renegotiate'
Connection.o: In function `Connection::writeFully(unsigned char*, int, boost::function<void (boost::system::error_code const&)>, boost::system::error_code const&)':
/home/privacy/tortunnel/protocol/Connection.cpp:138: undefined reference to `SSL_write'
/home/privacy/tortunnel/protocol/Connection.cpp:140: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::readFully(unsigned char*, int, boost::function<void (boost::system::error_code const&)>, boost::system::error_code)':
/home/privacy/tortunnel/protocol/Connection.cpp:101: undefined reference to `SSL_read'
/home/privacy/tortunnel/protocol/Connection.cpp:103: undefined reference to `SSL_get_error'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `Connection::initializeSSL()':
/home/privacy/tortunnel/protocol/Connection.cpp:70: undefined reference to `SSL_set_connect_state'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Connection.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Connection.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Connection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
RelayCellDispatcher.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
RelayCellDispatcher.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
ProxyShuffler.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
ProxyShuffler.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
TorTunnel.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
SocksConnection.o:/usr/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow
SocksConnection.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
SocksConnection.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
HybridEncryption.o: In function `HybridEncryption::AES_encrypt(unsigned char*, int, unsigned char*, unsigned char*, int)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:59: undefined reference to `AES_set_encrypt_key'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:60: undefined reference to `AES_ctr128_encrypt'
HybridEncryption.o: In function `HybridEncryption::encryptInHybridChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:67: undefined reference to `RSA_size'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:75: undefined reference to `RAND_bytes'
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:82: undefined reference to `RSA_public_encrypt'
HybridEncryption.o: In function `HybridEncryption::encryptInSingleChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:94: undefined reference to `RSA_size'
HybridEncryption.o: In function `HybridEncryption::encrypt(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:104: undefined reference to `RSA_size'
HybridEncryption.o: In function `HybridEncryption::encryptInSingleChunk(unsigned char*, int, unsigned char**, int*, rsa_st*)':
/home/privacy/tortunnel/protocol/HybridEncryption.cpp:97: undefined reference to `RSA_public_encrypt'
Directory.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Directory.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
ServerListing.o: In function `ServerListing::getOnionKey()':
/home/privacy/tortunnel/protocol/ServerListing.cpp:92: undefined reference to `RSA_new'
/home/privacy/tortunnel/protocol/ServerListing.cpp:93: undefined reference to `BIO_new_mem_buf'
/home/privacy/tortunnel/protocol/ServerListing.cpp:97: undefined reference to `PEM_read_bio_RSAPublicKey'
ServerListing.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
ServerListing.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Util.o: In function `Util::getRandomId()':
/home/privacy/tortunnel/util/Util.cpp:252: undefined reference to `RAND_bytes'
Util.o: In function `Util::getRandom()':
/home/privacy/tortunnel/util/Util.cpp:259: undefined reference to `RAND_bytes'
Circuit.o: In function `Circuit::initializeDhParameters()':
/home/privacy/tortunnel/protocol/Circuit.cpp:69: undefined reference to `BN_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:70: undefined reference to `BN_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:71: undefined reference to `DH_new'
/home/privacy/tortunnel/protocol/Circuit.cpp:73: undefined reference to `BN_hex2bn'
/home/privacy/tortunnel/protocol/Circuit.cpp:74: undefined reference to `BN_set_word'
/home/privacy/tortunnel/protocol/Circuit.cpp:76: undefined reference to `BN_dup'
/home/privacy/tortunnel/protocol/Circuit.cpp:77: undefined reference to `BN_dup'
Circuit.o: In function `~Circuit':
/home/privacy/tortunnel/protocol/Circuit.cpp:280: undefined reference to `BN_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:281: undefined reference to `BN_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:282: undefined reference to `DH_free'
/home/privacy/tortunnel/protocol/Circuit.cpp:283: undefined reference to `RSA_free'
Circuit.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Circuit.o: In function `Circuit::initializeDhParameters()':
/home/privacy/tortunnel/protocol/Circuit.cpp:79: undefined reference to `DH_generate_key'
Circuit.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Circuit.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CellEncrypter.o: In function `CellEncrypter':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:50: undefined reference to `SHA1_Init'
CellEncrypter.o: In function `CellEncrypter::expandKeyMaterial(unsigned char*, int, unsigned char*, int)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:69: undefined reference to `SHA1'
CellEncrypter.o: In function `CellEncrypter::initKeyMaterial(unsigned char*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:92: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:93: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:95: undefined reference to `AES_set_encrypt_key'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:96: undefined reference to `AES_set_encrypt_key'
CellEncrypter.o: In function `CellEncrypter::aesOperate(Cell&, aes_key_st*, unsigned char*, unsigned char*, unsigned int*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:124: undefined reference to `AES_ctr128_encrypt'
CellEncrypter.o: In function `CellEncrypter::calculateDigest(SHAstate_st*, RelayCell&, unsigned char*)':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:132: undefined reference to `SHA1_Update'
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:137: undefined reference to `SHA1_Final'
CellEncrypter.o: In function `CellEncrypter':
/home/privacy/tortunnel/protocol/CellEncrypter.cpp:51: undefined reference to `SHA1_Init'
CellConsumer.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
CellConsumer.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CreateCell.o: In function `CreateCell':
/home/privacy/tortunnel/protocol/CreateCell.cpp:39: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreateCell.cpp:45: undefined reference to `BN_bn2bin'
Network.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Network.o: In function `error_code':
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
Network.o:/usr/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow
Network.o: In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
Network.o: In function `get_system_category':
/usr/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()'
CreatedCell.o: In function `CreatedCell::isValid()':
/home/privacy/tortunnel/protocol/CreatedCell.cpp:45: undefined reference to `BN_num_bits'
CreatedCell.o: In function `CreatedCell::getKeyMaterial(unsigned char**, unsigned char**)':
/home/privacy/tortunnel/protocol/CreatedCell.cpp:49: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:49: undefined reference to `BN_bin2bn'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:50: undefined reference to `DH_size'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:51: undefined reference to `DH_compute_key'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:52: undefined reference to `BN_num_bits'
/home/privacy/tortunnel/protocol/CreatedCell.cpp:54: undefined reference to `BN_free'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [torproxy] Erreur 1
privacy@privacy:~/tortunnel$
lorsque j'essai d'installer libboost 1.48 synaptic m'affiche:
libboost-system-dev:
Dépend : libboost-system1.46-dev mais ne doit pas être installé
Merci beaucoup
(désolé pour avoir mis tant de temps à répondre (problème de connexion internet))
Hors ligne
#9 Le 25/03/2015, à 09:04
- leninelenine
Re : erreur compilation tortunnel
De l'aide s'il vous plait
Hors ligne
#10 Le 25/03/2015, à 09:55
- bishop
Re : erreur compilation tortunnel
Salut leninelenine !
Je sèche...
Il faudrait qu'un spécialiste de ce genre d'outil te vienne en aide.
tortunnel compilation
La plus grande surprise que puisse faire un con c'est de faire une pause.
Hors ligne