Skip to content

Instantly share code, notes, and snippets.

@gyaresu
Created September 19, 2016 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gyaresu/c612cde7ef98ca18240dceb91aca7be3 to your computer and use it in GitHub Desktop.
Save gyaresu/c612cde7ef98ca18240dceb91aca7be3 to your computer and use it in GitHub Desktop.
hackrf scan after building libopencm3
[ 86%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/w25q80bv.c.obj
[ 88%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/w25q80bv_target.c.obj
[ 91%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/spi_bus.c.obj
[ 93%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/spi_ssp.c.obj
[ 95%] Building C object CMakeFiles/hackrf_usb.elf.dir/Users/gyaresu/programming/hackrf-scan/firmware/common/gpio_lpc.c.obj
[ 97%] Building ASM object CMakeFiles/hackrf_usb.elf.dir/m0_bin.s.obj
[100%] Linking C executable hackrf_usb.elf
/usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/../../../../arm-none-eabi/bin/ld: error: hackrf_usb.elf uses VFP register arguments, /usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/libgcc.a(_udivmoddi4.o) does not
/usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/local/bin/../lib/gcc/arm-none-eabi/5.1.0/libgcc.a(_udivmoddi4.o)
collect2: error: ld returned 1 exit status
make[3]: *** [hackrf_usb.elf] Error 1
make[2]: *** [CMakeFiles/hackrf_usb.elf.dir/all] Error 2
make[1]: *** [CMakeFiles/hackrf_usb.bin.dir/rule] Error 2
make: *** [hackrf_usb.bin] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment