SonixQMK/qmk_firmware

[Bug] /usr/libexec/gcc/arm-none-eabi/ld: cannot find -lg_nano: No such file or directory

salfter opened this issue · 2 comments

I'm trying to build firmware for a Redragon K580 and get the error message above.

Describe the Bug

System Information

  • Keyboard: Redragon K580
    • Revision (if applicable):
  • Operating system: Gentoo Linux
  • AVR GCC version:
  • ARM GCC version: 12.1.1
  • QMK Firmware version: 0.7.101
  • Any keyboard related software installed?
    • AutoHotKey
    • Karabiner
    • Other:

Additional Context

I might have figured out where I went wrong: Gentoo crossdev builds newlib without nano support by default. Let me try again with it enabled...

That was it...it works now.