×

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

Bi-monthly release with minor bug fixes and improvements

Cannot compile Indilib on RasPI 10 Buster. Fails linking indi_eval

  • Posts: 271
  • Thank you received: 72
Thanks Dean.
The observatory is on route to the earliest astro season startup so far.
It has not been astronomical darkness here between April 22. to August 22.
From August 22. to now I have polar aligned, got my drivers set up and collected ~3h total of Ha from the ElephantTrunk nebula and the Crescent.

Looks to be a good start :)

So I tested your suggestions, at it seamed promesing, but not there yet.

Not sure more time should be spent on this. I am considering getting a more powerfull mini PC possibly the Asius Pn50 with amd ryzen.

The plan for this is only one usb3 cable going from the (remote)house to the obsy with a usb hub in the box.
Then all the drivers can be locally connected to the Asus, and no need to download images over the network, usb3 only.
Then hopefully run Kstars over a ssh tunnel with X server forwarding, or vnc.....

Some things I hope to improve.
1. Images captured locally over usb3 bandwith, and no download overhead.
2. Same for guide images.
3. If network from remote location to my home lags from time to time, then only the giu lags, but imaging and guiding is still on usb3 connection to the server.
4. One system to keep up to date. My home workstation only runs kubuntu with X server (or vnc), the obsy is only a usb3 hub, the remote server runs indilib + kstars, and if needed X Server package
5. If using vnc I can connect with one PC and set up kstars to start imaging, then if needed move to a different network, and or different pc to continue the session.

I'm going to do some testing on a vm to see if I can set this up.

Any reason why I should not go this route?


Anyways here's the output from the latest commands
:~/Projects $ git clone https://github.com/indilib/indi.git
Cloning into 'indi'...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (64/64), done.
remote: Total 61728 (delta 29), reused 34 (delta 15), pack-reused 61649
Receiving objects: 100% (61728/61728), 400.01 MiB | 3.56 MiB/s, done.
Resolving deltas: 100% (47192/47192), done.
 
<rm dirs...>
 
:~/Projects/build/indi-core $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebugInfo ~/Projects/indi
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11")
-- Found CFITSIO 3.45: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found CFITSIO: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found NOVA: /usr/lib/arm-linux-gnueabihf/libnova.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found USB1: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so (found version "1.0.22")
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME - Success
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.64.0")
-- Found GSL: /usr/include (found version "2.5")
-- Found JPEG: /usr/lib/arm-linux-gnueabihf/libjpeg.so
-- Found OGGTHEORA: /usr/lib/arm-linux-gnueabihf/libogg.so
-- Found FFTW3: /usr/lib/arm-linux-gnueabihf/libfftw3.so
-- Found FFTW3: /usr/lib/arm-linux-gnueabihf/libfftw3.so
-- Found GTest: /usr/lib/arm-linux-gnueabihf/libgtest.a
-- Found GMock: /usr/lib/arm-linux-gnueabihf/libgmock.a
-- Not building unit tests
-- The following OPTIONAL packages have been found:
 
 * PkgConfig
 * OggTheora
 * GTest
 * GMock
 
-- The following REQUIRED packages have been found:
 
 * ZLIB
 * CFITSIO, A library for reading and writing data files in FITS (Flexible Image Transport System) data format, <http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html>
   Provides INDI with FITS I/O support.
 * Nova, A general purpose, double precision, Celestial Mechanics, Astrometry and Astrodynamics library, <http://libnova.sourceforge.net>
   Provides INDI with astrodynamics library.
 * USB1
 * CURL
 * GSL
 * JPEG
 * FFTW3
 * Threads
 
-- The following components are going to be built:
-- ## INDI Server
-- ## INDI Drivers, Tools, and Examples
-- ## INDI Client
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tor/Projects/build/indi-core
 
:~/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
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
Last edit: 3 years 6 months ago by Magnus.
3 years 6 months ago #59506

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

  • Posts: 91
  • Thank you received: 18
Hi Magnus,

I see nothing wrong with your plans ... but I haven't tried what you are suggesting so have no experiential
knowledge to share. The only other thing I suggest with the pi build is to monitor your ram and cache
mem usage while the compile and linking is going on. I didn't clue in on the cause of my builds failing until I actually observed
the pi running out of resources. I didn't get the error you are seeing, so even increasing swap mem may not
be the solution. If you haven't tried conky for desktop monitoring your system, you can use the file attached and
setup instructions here (tinyurl.com/mf33uvn) and elsewhere.
I found this solution and variants thereof on a few threads you may also try :
sudo apt purge binutils
sudo apt remove make
sudo apt autoremove
sudo apt install build-essential
3 years 6 months ago #59509
Attachments:

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

  • Posts: 271
  • Thank you received: 72
I'll see if can test the monitoring you linked to.

For now I have a few clear nights, and I don't want to end up with a raspi thats not working.
(I have not built my custom drivers against indilib in 6monts, so I don't want a night of bugfixing, when I can be imaging.)

I'll post back if I find a way to build the raspi. Could be usefull if someone find their self in the same situation.

Thanks for all help :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
3 years 6 months ago #59510

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

Time to create page: 0.333 seconds