Closed mkmt closed 3 years ago
Problem: /usr/bin/ld: /tmp/ccZyN4SF.o: in function actionTestPPS': gpsctl.c:(.text+0x3000): undefined reference towiringPiSetup' /usr/bin/ld: gpsctl.c:(.text+0x300c): undefined reference to pinMode' /usr/bin/ld: gpsctl.c:(.text+0x3058): undefined reference todigitalRead' collect2: error: ld returned 1 exit status
actionTestPPS': gpsctl.c:(.text+0x3000): undefined reference to
pinMode' /usr/bin/ld: gpsctl.c:(.text+0x3058): undefined reference to
WiringPi installed. Debian version 11, raspbian.
Unfortunately, I am not able to look at this at the moment.
I think it is caused by the the use of a newer gcc in Bullseye.
It's probably time to migrate to another C GPIO library.
Removed wiringPi-dependent code
https://github.com/philrandal/gpsctl/releases/tag/v1.14
Problem: /usr/bin/ld: /tmp/ccZyN4SF.o: in function
actionTestPPS': gpsctl.c:(.text+0x3000): undefined reference to
wiringPiSetup' /usr/bin/ld: gpsctl.c:(.text+0x300c): undefined reference topinMode' /usr/bin/ld: gpsctl.c:(.text+0x3058): undefined reference to
digitalRead' collect2: error: ld returned 1 exit statusWiringPi installed. Debian version 11, raspbian.