make not working Ubuntu 12.06 x86
xorb0ss opened this issue · 1 comments
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.
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.