Running make on the latest ArchLinuxARM-rpi-4 throws the following error:
/usr/bin/ld: readsbrrd.o: in function signal_handler': /home/glillig/github/Mictronics/readsb-protobuf/readsbrrd.c:103: undefined reference tosys_siglist'
collect2: error: ld returned 1 exit status
make: *** [Makefile:81: readsbrrd] Error 1
This happens due to the glibc version 2.32-2 installed. Searching the net showed that since version 2.32
the deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev are no longer available to newly linked
binaries, and their declarations have been removed from .
This fix replaces sys_siglist[sig] with strsignal(sig) in readsbrrd.c.
Running make on the latest ArchLinuxARM-rpi-4 throws the following error:
/usr/bin/ld: readsbrrd.o: in function
signal_handler': /home/glillig/github/Mictronics/readsb-protobuf/readsbrrd.c:103: undefined reference to
sys_siglist' collect2: error: ld returned 1 exit status make: *** [Makefile:81: readsbrrd] Error 1This happens due to the glibc version 2.32-2 installed. Searching the net showed that since version 2.32 the deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev are no longer available to newly linked binaries, and their declarations have been removed from.
This fix replaces sys_siglist[sig] with strsignal(sig) in readsbrrd.c.