Hi Dean. Thanks for helping.

I now tried with 2gb swap, and -DCMAKE_BUILD_TYPE=RelWithDebugInfo
Also Did a 'sudo rm -rf *' in the build/indi-core folder.

Still getting the same 'ld terminated with signal 11 [Segmentation fault]'

So I have build indilib on this rasPi before, around April this spring. It has not been used during summer, and now I wanted to update indilib.
At the time of building it last time, I just followed the info on building indi from source and left Swapspace at the default.

All I did when trying to update (after updating the pi with [sudo apt update;sudo apt upgrade;sudo apt dist-upgrade])
was git pull, before deleting the old files in the build dir, and running cmake again.


Just to get all the details, this is what I tried this time.

sudo dphys-swapfile swapoff
sudo vi /etc/dphys-swapfile  // then set CONF_SWAPSIZE=2048
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
cd ~/Projects/indi
git pull
cd ~/Projects/build/indi-core/
sudo rm -rf *
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebugInfo ~/Projects/indi
sudo make install

And the error
:~/Projects/build/indi-core $ sudo make install
Scanning dependencies of target indi_eval
[  0%] Building C object CMakeFiles/indi_eval.dir/eventloop.c.o
[  0%] Building C object CMakeFiles/indi_eval.dir/base64.c.o
[  0%] Building C object CMakeFiles/indi_eval.dir/tools/compiler.c.o
[  1%] Building C object CMakeFiles/indi_eval.dir/tools/evalINDI.c.o
[  1%] Building C object CMakeFiles/indi_eval.dir/libs/lilxml.c.o
[  1%] Building CXX object CMakeFiles/indi_eval.dir/libs/libastro.cpp.o
[  1%] Building C object CMakeFiles/indi_eval.dir/libs/indicom.c.o
[  1%] Linking CXX executable indi_eval
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.
make[2]: *** [CMakeFiles/indi_eval.dir/build.make:177: indi_eval] Error 1
make[2]: *** Deleting file 'indi_eval'
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/indi_eval.dir/all] Error 2
make: *** [Makefile:130: all] Error 2


Read More...