pi@deluge ~/libtorrent-rasterbar-1.0.10 $ make -j 4
Making all in include/libtorrent
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-1.0.10/include/libtorrent'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-1.0.10/include/libtorrent'
Making all in src
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-1.0.10/src'
CXX http_connection.lo
CXX http_parser.lo
CXX http_stream.lo
CXX http_seed_connection.lo
g++: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Makefile:889: recipe for target 'http_seed_connection.lo' failed
make[1]: *** [http_seed_connection.lo] Error 1
make[1]: *** Attente des tâches non terminées....
g++: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Makefile:889: recipe for target 'http_connection.lo' failed
make[1]: *** [http_connection.lo] Error 1
/tmp/cc10mfOX.s: Messages de l'assembleur:
/tmp/cc10mfOX.s:614: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:643: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:680: Avertissement: swp{b} use is deprecated for ARMvshoul6 and ARMv7
/tmp/cc10mfOX.s:850: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:877: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:914: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:56772: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:56800: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-1.0.10/src'
Makefile:621: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
What should I do?
Is there directly some deb package available for rpi2?
Same issue as you, I'm on a RPI 3 with no swap partition and Cas answer was the real issue for my setup. To get a workaround, I used a temp swap file on the SD card (or anywhere you have 1GB free space). FYI I compiled libtorrent-rasterbar-1.0.9 for ARM (raspberry Pi 3) successfully and may still have the deb file if you want. If you want to do it yourself mount the swap as i did:
PS: I'm on OSMC, debian based distribution, all done as root
Wow 20h? Which Pi is that, the 1? I have a RPI 3 and it was less than 2h (didn't monitor it closely).
Anyway as said before I have the libtorrent-rasterbar-1.0.9 compiled (deb packet to install) already so if you encounter any issue I can share it.
Also I found some useful customization if you encounter performance issue, feel free to come back if needed