https://www.raspberrypi.org/forums/view ... 1&t=100043
and got as far as make, with the following error AFTER configure runs without error:
Code: Select all
pi@RPI2 ~/libtorrent-rasterbar-0.16.13 $ make
Making all in include/libtorrent
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-0.16.13/include/libtorrent'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-0.16.13/include/libtorrent'
Making all in src
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-0.16.13/src'
CXX web_connection_base.lo
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/pool/detail/mutex.hpp:14,
from /usr/include/boost/pool/poolfwd.hpp:24,
from /usr/include/boost/pool/pool.hpp:27,
from ../include/libtorrent/peer_connection.hpp:56,
from ../include/libtorrent/web_connection_base.hpp:60,
from web_connection_base.cpp:40:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected '}' before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before 'system_time'
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/pool/detail/mutex.hpp:14,
from /usr/include/boost/pool/poolfwd.hpp:24,
from /usr/include/boost/pool/pool.hpp:27,
from ../include/libtorrent/peer_connection.hpp:56,
from ../include/libtorrent/web_connection_base.hpp:60,
from web_connection_base.cpp:40:
/usr/include/boost/thread/xtime.hpp: In function 'int xtime_get(xtime*, int)':
/usr/include/boost/thread/xtime.hpp:73:40: error: 'get_system_time' was not declared in this scope
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
/usr/include/boost/thread/thread_time.hpp:19:24: note: 'boost::get_system_time'
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before '}' token
Makefile:756: recipe for target 'web_connection_base.lo' failed
make[1]: *** [web_connection_base.lo] Error 1
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-0.16.13/src'
Makefile:601: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
pi@RPI2 ~/libtorrent-rasterbar-0.16.13 $