Henk Aling replied to the topic 'QHY 5-III 200M (Ver. 2)' in the forum. 9 months ago

I am on Buster, which is 32-bit armv7l, running Raspbian GNU/Linux 10 while you are on Bullseye 64-bit aarch64, running Debian GNU/Linux 11.

I built all drivers at once so the error I displayed may just have been for the last one built. When following your directions, I got different errors than the one I listed. But first, comparing your system with mine,


cat /sys/firmware//devicetree/base/model
Raspberry Pi 4 Model B Rev 1.4

uname -a
Linux astroberry 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

cat /proc/cpuinfo
processor : 0 (and 1, 2, 3 ditto - not printed)
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 144.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2711
Revision : d03114
Serial : 10000000b38d238b
Model : Raspberry Pi 4 Model B Rev 1.4

lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

dpkg -S /lib/arm-linux-gnueabihf/libpthread.so.0
libc6:armhf: /lib/arm-linux-gnueabihf/libpthread.so.0

The error I am getting now is about some C++ math symbols,

[100%] Linking CXX executable indi_qhy_ccd
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libqhyccd.so: undefined reference to `exp@GLIBC_2.29'
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libqhyccd.so: undefined reference to `log@GLIBC_2.29'
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libqhyccd.so: undefined reference to `pow@GLIBC_2.29'
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libqhyccd.so: undefined reference to `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/indi_qhy_ccd.dir/build.make:90: indi_qhy_ccd] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: CMakeFiles/indi_qhy_ccd.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I guess cmake could be made to work if I upgrade to the right toolchain. On the other hand, I just received a brand new Pi4b so I can simply flash that one to the same 64-bit OS that you use and avoid the hassle of figuring this out. But then I won't have the other goodies besides Ekos that come with astroberry that is still on a 32-bit release AFAICT. I don't use most of those goodies though. Mayb I should just bite that bullett.

Read More...