elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


  Mostrar Temas
Páginas: [1]
1  Seguridad Informática / Hacking / [ SOLUCIONADO ]Tortunnel no hace el Make en: 28 Enero 2012, 01:47 am
hola y mu buenas
Bueno despues de 2 dias buacando y tras varios cabreos seguidos ya no me queda mas que preguntar
como puedo compilar y hacer el make para el tortunnel 0.3, ya puse los en el Makefile las librerias que faltaban -lcryto y -lpthread (sacado de aquihxxp://www.esdebian.org/foro/46816/toolchain-libpthreadso0), tengo instalado
 libboost-all-dev, openssl,linux-header,build-essential
aqui dejo la salida del make

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
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 /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from /usr/include/c++/4.4/cerrno:43,
                 from /usr/include/boost/cerrno.hpp:13,
                 from /usr/include/boost/system/error_code.hpp:26,
                 from /usr/include/boost/asio/io_service.hpp:26,
                 from /usr/include/boost/asio/basic_io_object.hpp:20,
                 from /usr/include/boost/asio/basic_socket.hpp:24,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:25,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No existe el fichero o el directorio
In file included from /usr/include/sys/ioctl.h:27,
                 from /usr/include/boost/asio/detail/socket_types.hpp:96,
                 from /usr/include/boost/asio/detail/win_iocp_io_service_fwd.hpp:24,
                 from /usr/include/boost/asio/io_service.hpp:37,
                 from /usr/include/boost/asio/basic_io_object.hpp:20,
                 from /usr/include/boost/asio/basic_socket.hpp:24,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:25,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/bits/ioctls.h:24:24: error: asm/ioctls.h: No existe el fichero o el directorio
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/boost/asio/detail/socket_types.hpp:104,
                 from /usr/include/boost/asio/detail/win_iocp_io_service_fwd.hpp:24,
                 from /usr/include/boost/asio/io_service.hpp:37,
                 from /usr/include/boost/asio/basic_io_object.hpp:20,
                 from /usr/include/boost/asio/basic_socket.hpp:24,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:25,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No existe el fichero o el directorio
In file included from /usr/include/boost/asio/detail/posix_mutex.hpp:32,
                 from /usr/include/boost/asio/detail/mutex.hpp:29,
                 from /usr/include/boost/asio/detail/service_registry.hpp:26,
                 from /usr/include/boost/asio/impl/io_service.ipp:24,
                 from /usr/include/boost/asio/io_service.hpp:641,
                 from /usr/include/boost/asio/basic_io_object.hpp:20,
                 from /usr/include/boost/asio/basic_socket.hpp:24,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:25,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/error.hpp:155: error: ‘ESHUTDOWN’ was not declared in this scope
In file included from /usr/include/boost/asio/socket_base.hpp:25,
                 from /usr/include/boost/asio/basic_socket.hpp:26,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:25,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/detail/io_control.hpp: In member function ‘int boost::asio::detail::io_control::non_blocking_io::name() const’:
/usr/include/boost/asio/detail/io_control.hpp:51: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/io_control.hpp: In member function ‘int boost::asio::detail::io_control::bytes_readable::name() const’:
/usr/include/boost/asio/detail/io_control.hpp:101: error: ‘FIONREAD’ was not declared in this scope
In file included from /usr/include/boost/asio/basic_socket.hpp:26,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:25,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/socket_base.hpp: At global scope:
/usr/include/boost/asio/socket_base.hpp:108: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:108: error: ‘SO_BROADCAST’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:108: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:108: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:141: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:141: error: ‘SO_DEBUG’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:141: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:141: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:174: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:174: error: ‘SO_DONTROUTE’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:174: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:174: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:207: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:207: error: ‘SO_KEEPALIVE’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:207: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:207: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:240: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:240: error: ‘SO_SNDBUF’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:240: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:240: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:273: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:273: error: ‘SO_SNDLOWAT’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:273: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:273: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:306: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:306: error: ‘SO_RCVBUF’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:306: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:306: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:339: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:339: error: ‘SO_RCVLOWAT’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:339: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:339: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:373: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:373: error: ‘SO_REUSEADDR’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:373: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:373: error: template argument 2 is invalid
/usr/include/boost/asio/socket_base.hpp:408: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:408: error: ‘SO_LINGER’ was not declared in this scope
/usr/include/boost/asio/socket_base.hpp:408: error: template argument 1 is invalid
/usr/include/boost/asio/socket_base.hpp:408: error: template argument 2 is invalid
In file included from /usr/include/boost/asio/detail/socket_holder.hpp:21,
                 from /usr/include/boost/asio/detail/reactive_socket_service.hpp:32,
                 from /usr/include/boost/asio/datagram_socket_service.hpp:33,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:26,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/detail/socket_ops.hpp: In function ‘int boost::asio::detail::socket_ops::getsockopt(boost::asio::detail::socket_type, int, int, void*, size_t*, boost::system::error_code&)’:
/usr/include/boost/asio/detail/socket_ops.hpp:540: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/detail/socket_ops.hpp:541: error: ‘SO_SNDBUF’ was not declared in this scope
/usr/include/boost/asio/detail/socket_ops.hpp:541: error: ‘SO_RCVBUF’ was not declared in this scope
In file included from /usr/include/boost/asio/datagram_socket_service.hpp:33,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:26,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::destroy(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:139: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp:150: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp:150: error: ‘SO_LINGER’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_socket_service<Protocol, Reactor>::close(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:233: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘size_t boost::asio::detail::reactive_socket_service<Protocol, Reactor>::available(const boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, boost::system::error_code&) const’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:307: error: ‘FIONREAD’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_socket_service<Protocol, Reactor>::set_option(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const Option&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:373: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp:374: error: ‘SO_LINGER’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_socket_service<Protocol, Reactor>::io_control(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, IO_Control_Command&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:455: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::async_send(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const ConstBufferSequence&, int, Handler)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:731: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::async_send_to(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const ConstBufferSequence&, const typename Protocol::endpoint&, int, Handler)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:957: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::async_receive(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const MutableBufferSequence&, int, Handler)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1191: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::async_receive_from(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const MutableBufferSequence&, typename Protocol::endpoint&, int, Handler)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1426: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::async_accept(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, Socket&, typename Protocol::endpoint*, Handler)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1661: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_socket_service<Protocol, Reactor>::connect(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const typename Protocol::endpoint&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1706: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1706: error: ‘SO_ERROR’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘bool boost::asio::detail::reactive_socket_service<Protocol, Reactor>::connect_operation<Handler>::perform(boost::system::error_code&, size_t&)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1739: error: ‘SOL_SOCKET’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1739: error: ‘SO_ERROR’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘void boost::asio::detail::reactive_socket_service<Protocol, Reactor>::async_connect(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const typename Protocol::endpoint&, Handler)’:
/usr/include/boost/asio/detail/reactive_socket_service.hpp:1784: error: ‘FIONBIO’ was not declared in this scope
In file included from /usr/include/boost/asio/detail/reactive_serial_port_service.hpp:34,
                 from /usr/include/boost/asio/serial_port_service.hpp:30,
                 from /usr/include/boost/asio/basic_serial_port.hpp:29,
                 from /usr/include/boost/asio.hpp:24,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘void boost::asio::detail::reactive_descriptor_service<Reactor>::destroy(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:112: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_descriptor_service<Reactor>::close(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:166: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_descriptor_service<Reactor>::io_control(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&, IO_Control_Command&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:212: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘size_t boost::asio::detail::reactive_descriptor_service<Reactor>::write_some(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&, const ConstBufferSequence&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:268: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘void boost::asio::detail::reactive_descriptor_service<Reactor>::async_write_some(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&, const ConstBufferSequence&, Handler)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:420: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘size_t boost::asio::detail::reactive_descriptor_service<Reactor>::read_some(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&, const MutableBufferSequence&, boost::system::error_code&)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:520: error: ‘FIONBIO’ was not declared in this scope
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp: In member function ‘void boost::asio::detail::reactive_descriptor_service<Reactor>::async_read_some(boost::asio::detail::reactive_descriptor_service<Reactor>::implementation_type&, const MutableBufferSequence&, Handler)’:
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:681: error: ‘FIONBIO’ was not declared in this scope
In file included from /usr/include/boost/asio/datagram_socket_service.hpp:33,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:26,
                 from /usr/include/boost/asio.hpp:20,
                 from TorProxy.h:34,
                 from TorProxy.cpp:30:
/usr/include/boost/asio/detail/reactive_socket_service.hpp: In member function ‘boost::system::error_code boost::asio::detail::reactive_socket_service<Protocol, Reactor>::set_option(boost::asio::detail::reactive_socket_service<Protocol, Reactor>::implementation_type&, const Option&, boost::system::error_code&) [with Option = int, Protocol = boost::asio::ip::tcp, Reactor = boost::asio::detail::epoll_reactor<false>]’:
/usr/include/boost/asio/socket_acceptor_service.hpp:184:   instantiated from ‘boost::system::error_code boost::asio::socket_acceptor_service<Protocol>::set_option(typename boost::asio::detail::reactive_socket_service<Protocol, boost::asio::detail::epoll_reactor<false> >::implementation_type&, const SettableSocketOption&, boost::system::error_code&) [with SettableSocketOption = int, Protocol = boost::asio::ip::tcp]’
/usr/include/boost/asio/basic_socket_acceptor.hpp:138:   instantiated from ‘boost::asio::basic_socket_acceptor<Protocol, SocketAcceptorService>::basic_socket_acceptor(boost::asio::io_service&, const typename Protocol::endpoint&, bool) [with Protocol = boost::asio::ip::tcp, SocketAcceptorService = boost::asio::socket_acceptor_service<boost::asio::ip::tcp>]’
TorProxy.cpp:36:   instantiated from here
/usr/include/boost/asio/detail/reactive_socket_service.hpp:354: error: request for member ‘name’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:354: error: request for member ‘level’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:357: error: request for member ‘size’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:363: error: request for member ‘data’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:373: error: request for member ‘name’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:373: error: request for member ‘level’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:379: error: request for member ‘level’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:379: error: request for member ‘name’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:379: error: request for member ‘data’ in ‘option’, which is of non-class type ‘const int’
/usr/include/boost/asio/detail/reactive_socket_service.hpp:379: error: request for member ‘size’ in ‘option’, which is of non-class type ‘const int’
TorProxy.cpp: At global scope:
TorProxy.cpp:225: fatal error: opening dependency file .deps/TorProxy.Tpo: Permiso denegado
compilation terminated.
make: *** [TorProxy.o] Error 1
 
Bueno espero respuesta y ante todo gracias por vuestro tiempo
 
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines