seemoo-lab / nexmon

The C-based Firmware Patching Framework for Broadcom/Cypress WiFi Chips that enables Monitor Mode, Frame Injection and much more
GNU General Public License v3.0
2.41k stars 450 forks source link

nexutil does not build on raspberry pi os (2022-04-04) 64bit #529

Open realies opened 2 years ago

realies commented 2 years ago
root@raspberry:/home/pi/nexmon/utilities/nexutil# make
cd ../libargp && make
make[1]: Entering directory '/home/pi/nexmon/utilities/libargp'
/ndk-build NDK_APPLICATION_MK=`pwd`/Application.mk NDK_APP_OUT=. TARGET_PLATFORM=android-21
/bin/sh: 1: /ndk-build: not found
make[1]: *** [Makefile:2: libs/armeabi/libargp.a] Error 127
make[1]: Leaving directory '/home/pi/nexmon/utilities/libargp'
make: *** [Makefile:19: ../libargp/local/armeabi/libargp.a] Error 2
DrSchottky commented 2 years ago

https://github.com/seemoo-lab/nexmon/pull/530

dzervas commented 2 years ago

That's not the only problem. The Makefile changes into android mode cause of the aarch64 inside uname

GuoJingtao-1997 commented 2 years ago

I also encounter this problem and I think it may be because the Makefile switches to android mode and cause the "ndk-build not found" problem. I try to filter the aarch64 but cause another issue:

make: *** No rule to make target 'libs/armeabi/nexutil', needed by 'all'.  Stop.

Any suggestion for you guys? Thanks a lot

DrSchottky commented 2 years ago

As already said, https://github.com/seemoo-lab/nexmon/pull/530

GuoJingtao-1997 commented 2 years ago

Yes, I just followed your commits and successfully install it. Thanks a lot.