~/libtorrent-rasterbar-1.0.10 $ sudo make -j$(nproc)
CXX session_impl.lo
In file included from /usr/include/dirent.h:244:0,
from ../include/libtorrent/file.hpp:78,
from ../include/libtorrent/storage.hpp:60,
from ../include/libtorrent/torrent_handle.hpp:58,
from ../include/libtorrent/session.hpp:50,
from session_impl.cpp:62:
session_impl.cpp: In member function ‘void libtorrent::aux::session_impl::load_state(const libtorrent::lazy_entry*)’:
session_impl.cpp:1364:43: warning: invalid access to non-static data member ‘libtorrent::aux::session_impl::m_settings’ of NULL object [-Winvalid-offsetof]
if (c.offset == offsetof(session_impl, m_settings))
^
session_impl.cpp:1364:43: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
to not overload the pi. Don't think it's your problem here but maybe retry this setting combined with the 1.0.9 libtorrent to match what I succeed and show us the result. If it work you have at least something and we know nothiong else is wrong with libraries
For reference this is from libtorrent mailing list:
arvid wrote:
none of the offsetof() warnings will be fixed until the next major
release of libtorrent (probably 2.0) because the proper fix essentially
requires changing the ABI.
I'm coming back on that topic because I had to reset my SD card and reinstall everything.
Today I tried to build libtorrent again and here is the result....
pi@bananapi:~/libtorrent-rasterbar-1.1.5 $ sudo make -j$(nproc)
Making all in include/libtorrent
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-1.1.5/include/libtorrent'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-1.1.5/include/libtorrent'
Making all in src
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-1.1.5/src'
CXX rss.lo
CXX session_call.lo
CXX session_handle.lo
CXX session_impl.lo
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Makefile:941: recipe for target 'session_handle.lo' failed
make[1]: *** [session_handle.lo] Error 1
make[1]: *** Waiting for unfinished jobs....