×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] LibIndi error compile with RaspBerry PI3

  • Posts: 220
  • Thank you received: 14
Compile last libindi with raspberry pi3 not complete, error is:
...
[ 58%] Building C object CMakeFiles/indidriverstatic.dir/libs/indibase/hid_libusb.c.o
[ 59%] Linking CXX static library libindidriver.a
Error running link command: Segmentation fault
CMakeFiles/indidriverstatic.dir/build.make:1082: recipe for target 'libindidriver.a' failed
make[2]: *** [libindidriver.a] Error 1
make[2]: *** Deleting file 'libindidriver.a'
CMakeFiles/Makefile2:994: recipe for target 'CMakeFiles/indidriverstatic.dir/all' failed
make[1]: *** [CMakeFiles/indidriverstatic.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
... 

Bye.
Last edit: 6 years 7 months ago by Teseo.
6 years 7 months ago #18191

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 14
Other have this problem?

Attach full error.

File Attachment:

File Name: error.txt
File Size:14 KB
6 years 7 months ago #18195
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 37
You can try a:

make clean
make -j2

or maybe it is a broken update?

sudo apt-get update
sudo apt-get upgrade

I don't have any build problem with Raspian and Raspberry Pi. Maybe some other user with RPi+Ubuntu Mate can share the experiences.
The following user(s) said Thank You: Teseo
6 years 7 months ago #18199

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 14
Now formad sd, reinstall backup and recompile.
6 years 7 months ago #18213

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 37
Yes, my last option was that you have a corrupted filesystem. If you have not reinstalled the backup yet, you can try to force a filesystem check:

sudo touch /forcefsck

And reboot the Pi:

sudo reboot

The Pi will do a filesystem check during the next boot. It may go for a long time and you should connect the Pi to a monitor to see if it wants any user intervention during boot.
The following user(s) said Thank You: Teseo
Last edit: 6 years 7 months ago by Csaba Kertesz.
6 years 7 months ago #18215

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 14
Thanks for info, i solve reinstalling backup.
Thanks for your hard work ..bye.
6 years 7 months ago #18221

Please Log in or Create an account to join the conversation.

Time to create page: 0.233 seconds