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.42k stars 453 forks source link

errors while running "make" #432

Open TheEcstacyKiller opened 4 years ago

TheEcstacyKiller commented 4 years ago

root@raspberrypi:/home/pi/nexmon# make BUILDING BUILDTOOLS make[1]: Entering directory '/home/pi/nexmon/buildtools' BUILDING flash_patch_extractor make[2]: Entering directory '/home/pi/nexmon/buildtools/flash_patch_extractor' make[2]: 'fpext' is up to date. make[2]: Leaving directory '/home/pi/nexmon/buildtools/flash_patch_extractor' BUILDING ucode_extractor make[2]: Entering directory '/home/pi/nexmon/buildtools/ucode_extractor' make[2]: 'ucodeext' is up to date. make[2]: Leaving directory '/home/pi/nexmon/buildtools/ucode_extractor' BUILDING b43/assembler/b43-asm.bin make[2]: Entering directory '/home/pi/nexmon/buildtools/b43/assembler' CC b43-asm.bin /usr/bin/ld: cannot find -ll collect2: error: ld returned 1 exit status make[2]: [Makefile:75: b43-asm.bin] Error 1 make[2]: Leaving directory '/home/pi/nexmon/buildtools/b43/assembler' make[1]: [Makefile:21: b43/assembler/b43-asm.bin] Error 2 make[1]: Leaving directory '/home/pi/nexmon/buildtools' make: *** [Makefile:9: buildtools] Error 2

Not exactly sure what's wrong here?

billard091 commented 3 years ago

Hello everyone,

i have the same issue on Pi4 with Raspberry Pi OS newest Version. Is there a solution yet?

thank you in advice!

zedrdave commented 3 years ago

Not sure why, but buildtools/b43/assembler/Makefile was modified to use -ll instead of -lfl. Changing lines 27-28 to re-enable -lfl instead of -ll seems to fix the problem.

(you might also need to apt install libfl-dev for it to work)