Closed GoogleCodeExporter closed 8 years ago
I tried again after the last commit. I needed to install gcc and upgrade
openssl. Then I edited build.sh to change make to gmake and now things compile,
until libtorrent.
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../.. -I. -I./.. -I./../.. -I../../.. -I
/home/jonnyboy/lib/rtorrent-0.9.4/include -pipe -O2 -pthread -DNDEBUG
-fvisibility=hidden -D_THREAD_SAFE -I/usr/local/include -MT option_strings.lo
-MD -MP -MF .deps/option_strings.Tpo -c -o option_strings.lo option_strings.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../..
-I../../.. -I /home/jonnyboy/lib/rtorrent-0.9.4/include -pipe -O2 -pthread
-DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -I/usr/local/include -MT
option_strings.lo -MD -MP -MF .deps/option_strings.Tpo -c option_strings.cc
-fPIC -DPIC -o .libs/option_strings.o
In file included from ./../../torrent/connection_manager.h:46:0,
from option_strings.cc:43:
/usr/include/netinet/in_systm.h:49:9: error: 'u_int16_t' does not name a type
typedef u_int16_t n_short; /* short as received from the net */
^
/usr/include/netinet/in_systm.h:50:9: error: 'u_int32_t' does not name a type
typedef u_int32_t n_long; /* long as received from the net */
^
/usr/include/netinet/in_systm.h:52:9: error: 'u_int32_t' does not name a type
typedef u_int32_t n_time; /* ms since 00:00 GMT, byte rev */
^
In file included from ./../../torrent/connection_manager.h:47:0,
from option_strings.cc:43:
/usr/include/netinet/ip.h:51:2: error: 'u_char' does not name a type
u_char ip_hl:4, /* header length */
^
/usr/include/netinet/ip.h:58:2: error: 'u_char' does not name a type
u_char ip_tos; /* type of service */
^
/usr/include/netinet/ip.h:59:2: error: 'u_short' does not name a type
u_short ip_len; /* total length */
^
/usr/include/netinet/ip.h:60:2: error: 'u_short' does not name a type
u_short ip_id; /* identification */
^
/usr/include/netinet/ip.h:61:2: error: 'u_short' does not name a type
u_short ip_off; /* fragment offset field */
^
/usr/include/netinet/ip.h:66:2: error: 'u_char' does not name a type
u_char ip_ttl; /* time to live */
^
/usr/include/netinet/ip.h:67:2: error: 'u_char' does not name a type
u_char ip_p; /* protocol */
^
/usr/include/netinet/ip.h:68:2: error: 'u_short' does not name a type
u_short ip_sum; /* checksum */
^
/usr/include/netinet/ip.h:166:2: error: 'u_char' does not name a type
u_char ipt_code; /* IPOPT_TS */
^
/usr/include/netinet/ip.h:167:2: error: 'u_char' does not name a type
u_char ipt_len; /* size of structure (variable) */
^
/usr/include/netinet/ip.h:168:2: error: 'u_char' does not name a type
u_char ipt_ptr; /* index of current entry */
^
/usr/include/netinet/ip.h:170:2: error: 'u_char' does not name a type
u_char ipt_flg:4, /* flags, see below */
^
/usr/include/netinet/ip.h:217:2: error: 'u_char' does not name a type
u_char ippseudo_pad; /* pad, must be zero */
^
/usr/include/netinet/ip.h:218:2: error: 'u_char' does not name a type
u_char ippseudo_p; /* protocol */
^
/usr/include/netinet/ip.h:219:2: error: 'u_short' does not name a type
u_short ippseudo_len; /* protocol length */
^
*** Error code 1
Stop.
make[4]: stopped in
/usr/home/jonnyboy/temp/rtorrent-ps/libtorrent-0.13.4/src/torrent/utils
*** Error code 1
Stop.
make[3]: stopped in
/usr/home/jonnyboy/temp/rtorrent-ps/libtorrent-0.13.4/src/torrent
*** Error code 1
Stop.
make[2]: stopped in /usr/home/jonnyboy/temp/rtorrent-ps/libtorrent-0.13.4/src
*** Error code 1
Stop.
make[1]: stopped in /usr/home/jonnyboy/temp/rtorrent-ps/libtorrent-0.13.4
*** Error code 1
Stop.
make: stopped in /usr/home/jonnyboy/temp/rtorrent-ps/libtorrent-0.13.4
Original comment by jonny...@jbmatrix.net
on 11 Mar 2015 at 3:50
See https://github.com/pyroscope/pyroscope/issues
Original comment by pyroscope.project
on 14 Mar 2015 at 6:57
Original issue reported on code.google.com by
jonny...@jbmatrix.net
on 8 Mar 2015 at 11:40