Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi Zero WH 32 Bit (2017) undefined reference to 'gpioSetISRFunc' and 'gpioInitialise' #13

Open
IliaGrigoriev opened this issue Mar 18, 2024 · 0 comments

Comments

@IliaGrigoriev
Copy link

IliaGrigoriev commented Mar 18, 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' /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

@IliaGrigoriev 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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant