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

Error installing nexmon csi #608

Open
ayyp1 opened this issue Jun 11, 2024 · 3 comments
Open

Error installing nexmon csi #608

ayyp1 opened this issue Jun 11, 2024 · 3 comments

Comments

@ayyp1
Copy link

ayyp1 commented Jun 11, 2024

root@raspberrypi:/home/ayyp/nexmon/patches/bcm43455c0/7_45_189/nexmon_csi# sudo make
Makefile:3: /firmwares/bcm43455c0/7_45_189/definitions.mk: No such file or directory
make: *** No rule to make target '/firmwares/bcm43455c0/7_45_189/definitions.mk'. Stop.

what should I do ?

@jlinktu
Copy link
Member

jlinktu commented Jun 11, 2024

The nexmon framework depends on a specific environment that gets set when running source setup_env.sh. When you execute make with sudo, you are changing to a different environment due to sudo. Due to that, nexmon does no longer run as expected. Either run make without sudo or pass your current environment to it by using sudo -E.

@ayyp1
Copy link
Author

ayyp1 commented Jun 13, 2024

when i run make install-firmware

COLLECTING STATISTICS read /home/ayyp/nexmon/STATISTICS.md for more information
COMPILING src/console.c => obj/console.o (details: log/compiler.log)
/home/ayyp/nexmon/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-armv7l/bin/../lib/gcc/arm-none-eabi/5.4.1/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
make: *** [Makefile:126: obj/console.o] Error 1

@jlinktu
Copy link
Member

jlinktu commented Jun 13, 2024

As you are trying to compile for the WiFi chip that can be found on Raspberry Pis, I assume that you are trying to do it on a Raspberry Pi.
The output you posted tells that you are missing libmpfr.so.4.
Follow the README on how to setup nexmon on a Raspberry Pi: http://github.com/seemoo-lab/nexmon?tab=readme-ov-file#build-patches-for-bcm43430a1-on-the-rpi3zero-w-or-bcm434355c0-on-the-rpi3rpi4-or-bcm43436b0-on-the-rpi-zero-2w-using-raspb
It tells you what to do.

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

2 participants