moxie0 / tortunnel

A partial Onion Proxy implementation that's designed to build single-hop circuits through Tor exit nodes
http://www.thoughtcrime.org/software/tortunnel/
GNU General Public License v3.0
140 stars 39 forks source link

make not working Ubuntu 12.06 x86 #11

Closed xorb0ss closed 9 years ago

xorb0ss commented 9 years ago

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 In file included from TorTunnel.h:42:0, from TorProxy.h:40, from TorProxy.cpp:30: protocol/Directory.h:74:3: error: ‘list’ in namespace ‘std’ does not name a type make: *** [TorProxy.o] Error 1

I've ran autoreconf, automake --add-missing and I've also tried editing the make file and changed torproxy_LDFLAGS, torproxy_LDADD, torscanner_LDFLAGS, torscanner_LDADD and still no luck.

xorb0ss commented 9 years ago

Added the following in protocol/Directory.h:

#include <list>

And also changed torproxy_LDFLAGS, torproxy_LDADD, torscanner_LDFLAGS, torscanner_LDADD in the Makefile with -pthread and -lssl -lboost_system-mt -lcrypto respectively on each.