Closed Dukat-Gul closed 3 years ago
Try building with make -j4
I think you're running out of RAM
Thanks, yeah ran top in another Windows during the process and sure enough memory was being totally consumed....
tried the make -j4 and still the same issue, I do note that I am using a Raspberry Pi 3 not the recommended rpi4. Anyhow did some quick swap adjustments/increases;
Temporarily Stop Swap:
sudo dphys-swapfile swapoff
Modify the size of the swap
As root, edit the file /etc/dphys-swapfile and modify the variable CONF_SWAPSIZE to 1024:
sudo vi /etc/dphys-swapfile
Initialize Swap File
sudo dphys-swapfile setup
Start Swap
sudo dphys-swapfile swapon
Compile worked, I have successfully transmitted (& received) and example log file and an 11MB video file.
I did try to use the echo_test command with 0 on one side and -1 (listen) on the other but nothing seemed to happen.
Updated make -j4 along with some decent amount of swap enabled on my rpi3 allowed the compile to complete. Memory being exhausted was clearly the issue.
Heya. Tried to compile the excellent project and after a very long pause at the 84% mark I get the following failure. Any suggestions?
c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[2]: [CMakeFiles/loraftp.dir/build.make:102: CMakeFiles/loraftp.dir/src/tools.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:161: CMakeFiles/loraftp.dir/all] Error 2 make: [Makefile:141: all] Error 2