nexmon icon indicating copy to clipboard operation
nexmon copied to clipboard

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

Open realies opened this issue 2 years ago • 5 comments

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

realies avatar May 22 '22 15:05 realies

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

DrSchottky avatar May 22 '22 19:05 DrSchottky

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

dzervas avatar Jun 19 '22 12:06 dzervas

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

GuoJingtao-1997 avatar Jul 30 '22 14:07 GuoJingtao-1997

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

DrSchottky avatar Jul 30 '22 16:07 DrSchottky

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

GuoJingtao-1997 avatar Jul 30 '22 16:07 GuoJingtao-1997