You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 37%] Built target util [ 50%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/nerfnet_main.cc.o [ 62%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/primary_radio_interface.cc.o [ 75%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/radio_interface.cc.o [ 87%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/secondary_radio_interface.cc.o [100%] Linking CXX executable nerfnet /usr/bin/ld: /usr/local/lib/librf24.so: undefined reference to gpioSetISRFunc'/usr/bin/ld: /usr/local/lib/librf24.so: undefined reference to gpioInitialise' collect2: error: ld returned 1 exit status make[2]: *** [nerfnet/net/CMakeFiles/nerfnet.dir/build.make:146: nerfnet/net/nerfnet] Error 1 make[1]: *** [CMakeFiles/Makefile2:131: nerfnet/net/CMakeFiles/nerfnet.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
According to the discussion a person added some constants to make their code work to make it work. Would this work with your code? If so, where could I carry out the modification?
If it is smth else I'll be grateful for your advice!
Many thanks for your attention in advance.
Best,
Ilia
The text was updated successfully, but these errors were encountered:
IliaGrigoriev
changed the title
Pi Zero WH 32 Bit (2017)
Pi Zero WH 32 Bit (2017) undefined reference to gpioSetISRFunc' and gpioInitialise'
Mar 19, 2024
IliaGrigoriev
changed the title
Pi Zero WH 32 Bit (2017) undefined reference to gpioSetISRFunc' and gpioInitialise'
Pi Zero WH 32 Bit (2017) undefined reference to 'gpioSetISRFunc' and 'gpioInitialise'
Mar 19, 2024
Hi,
thank you for providing the code. I am trying to get the project running between two Pi Zeros WH 2017 32 bit.
I have installed https://github.com/nRF24/RF24 library and after running "make -j4" of nrfnet I get:
[ 37%] Built target util
[ 50%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/nerfnet_main.cc.o
[ 62%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/primary_radio_interface.cc.o
[ 75%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/radio_interface.cc.o
[ 87%] Building CXX object nerfnet/net/CMakeFiles/nerfnet.dir/secondary_radio_interface.cc.o
[100%] Linking CXX executable nerfnet
/usr/bin/ld: /usr/local/lib/librf24.so: undefined reference to
gpioSetISRFunc'gpioInitialise'
collect2: error: ld returned 1 exit status
make[2]: *** [nerfnet/net/CMakeFiles/nerfnet.dir/build.make:146: nerfnet/net/nerfnet] Error 1
make[1]: *** [CMakeFiles/Makefile2:131: nerfnet/net/CMakeFiles/nerfnet.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
According to the discussion a person added some constants to make their code work to make it work. Would this work with your code? If so, where could I carry out the modification?
If it is smth else I'll be grateful for your advice!
Many thanks for your attention in advance.
Best,
Ilia
The text was updated successfully, but these errors were encountered: