Since libtorrent was updated from 0.12.9 to 0.13.2 in the Ports tree a while back, I've been unable to compile it. In the output, I can spot the warning
and several warnings similar to
(although the file name and line number varies). Later, it dies with the words
I have been running FreeBSD since December 2011, and my version is 9.0-RELEASE. I've replaced the default compiler with gcc46, and introduced the user-defined options "-O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -mssse3 -fno-strict-aliasing". In other words, I'm a newbie but had started to gain some confidence since everything seemed to work like a charm up until now.
Since this is my home server, located more than 7000 km from where I work, my connection is crappy and I always update using a screen session to be able to reconnect/resume after losing connection:
I've searched a lot but never found anyone else with the same problem. Could someone please give me a hint on where to look for a solution? Have I messed up things with the Ports, my compiler version, compiler settings, the tools I use to update, the fact that I execute everything through screen, or something else? Thanks!
Code:
configure: WARNING: unrecognized options: --with-openssl
Code:
file_list.cc:405:3: warning: passing NULL to non-pointer argument 4 of 'void torrent::log_group::internal_print(const torrent::HashString*, const char*, const void*, size_t, const char*, ...)' [-Wconversion-null]
Code:
libtool: compile: g++46 -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -mssse3 -fno-strict-aliasing -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -pthread -I/usr/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/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:45:0,
from option_strings.cc:43:
/usr/include/netinet/in_systm.h:49:9: error: 'u_int16_t' does not name a type
/usr/include/netinet/in_systm.h:50:9: error: 'u_int32_t' does not name a type
/usr/include/netinet/in_systm.h:52:9: error: 'u_int32_t' does not name a type
In file included from ./../../torrent/connection_manager.h:46:0,
from option_strings.cc:43:
/usr/include/netinet/ip.h:51:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:58:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:59:2: error: 'u_short' does not name a type
/usr/include/netinet/ip.h:60:2: error: 'u_short' does not name a type
/usr/include/netinet/ip.h:61:2: error: 'u_short' does not name a type
/usr/include/netinet/ip.h:66:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:67:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:68:2: error: 'u_short' does not name a type
/usr/include/netinet/ip.h:141:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:142:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:143:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:145:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:192:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:193:2: error: 'u_char' does not name a type
/usr/include/netinet/ip.h:194:2: error: 'u_short' does not name a type
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent/work/libtorrent-0.13.2/src/torrent/utils.
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent/work/libtorrent-0.13.2/src/torrent.
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent/work/libtorrent-0.13.2/src.
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent/work/libtorrent-0.13.2.
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent/work/libtorrent-0.13.2.
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent.
*** Error code 1
Stop in /usr/ports/net-p2p/libtorrent.
===>>> make failed for net-p2p/libtorrent
===>>> Aborting update
===>>> Update for net-p2p/libtorrent failed
===>>> Aborting update
Terminated
===>>> You can restart from the point of failure with this command line:
portmaster <flags> devel/automake net-p2p/rtorrent
I have been running FreeBSD since December 2011, and my version is 9.0-RELEASE. I've replaced the default compiler with gcc46, and introduced the user-defined options "-O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -mssse3 -fno-strict-aliasing". In other words, I'm a newbie but had started to gain some confidence since everything seemed to work like a charm up until now.
Since this is my home server, located more than 7000 km from where I work, my connection is crappy and I always update using a screen session to be able to reconnect/resume after losing connection:
$ screen sudo portsnap fetch update # I've also tried 'fetch extract'$ screen sudo portmaster -aI've searched a lot but never found anyone else with the same problem. Could someone please give me a hint on where to look for a solution? Have I messed up things with the Ports, my compiler version, compiler settings, the tools I use to update, the fact that I execute everything through screen, or something else? Thanks!