Closed dostoievsky closed 1 year ago
⚠ Unsupported OS detected: freebsd-13.2-release-amd64-64bit-elf
The QMK build system requires GNU Make, and make
on FreeBSD is probably a BSD Make. You probably need to install GNU Make, so that it would be available as gmake
— QMK CLI would use gmake
if it is available (however, if you have the MAKE
variable set in the environment for some reason, that has even higher priority).
Based in @sigprof comment
I checked if i have a variable:
root@playground:~ # echo $MAKE
MAKE: Undefined variable.
Then installed gmake with pkg and created a alias:
root@playground:~ # which make
make: aliased to /usr/bin/gmake
And it worked!
root@playground:~/qmk_firmware # qmk compile -kb clueboard/66/rev3 -km default
Ψ Compiling keymap with gmake --jobs=1 clueboard/66/rev3:default
Making clueboard/66/rev3 with keymap default
Generating: .build/obj_clueboard_66_rev3_default/src/info_deps.d [OK]
avr-gcc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Generating: .build/obj_clueboard_66_rev3/src/info_config.h [OK]
Generating: .build/obj_clueboard_66_rev3/src/default_keyboard.c [OK]
Generating: .build/obj_clueboard_66_rev3/src/default_keyboard.h [OK]
Compiling: keyboards/clueboard/66/rev3/rev3.c [OK]
Compiling: .build/obj_clueboard_66_rev3/src/default_keyboard.c [OK]
Compiling: quantum/keymap_introspection.c [OK]
Compiling: quantum/quantum.c [OK]
Compiling: quantum/bitwise.c [OK]
Compiling: quantum/led.c [OK]
Compiling: quantum/action.c [OK]
Compiling: quantum/action_layer.c [OK]
Compiling: quantum/action_tapping.c [OK]
Compiling: quantum/action_util.c [OK]
Compiling: quantum/eeconfig.c [OK]
Compiling: quantum/keyboard.c [OK]
Compiling: quantum/keymap_common.c [OK]
Compiling: quantum/keycode_config.c [OK]
Compiling: quantum/sync_timer.c [OK]
Compiling: quantum/logging/debug.c [OK]
Compiling: quantum/logging/sendchar.c [OK]
Compiling: quantum/bootmagic/magic.c [OK]
Compiling: quantum/matrix_common.c [OK]
Compiling: quantum/matrix.c [OK]
Compiling: quantum/debounce/sym_defer_g.c [OK]
Compiling: quantum/main.c [OK]
Compiling: quantum/mousekey.c [OK]
Compiling: quantum/color.c [OK]
Compiling: quantum/rgblight/rgblight.c [OK]
Compiling: quantum/process_keycode/process_rgb.c [OK]
Compiling: quantum/backlight/backlight.c [OK]
Compiling: quantum/process_keycode/process_backlight.c [OK]
Compiling: platforms/avr/drivers/ws2812_bitbang.c [OK]
Compiling: quantum/led_tables.c [OK]
Compiling: quantum/process_keycode/process_magic.c [OK]
Compiling: quantum/send_string/send_string.c [OK]
Compiling: quantum/process_keycode/process_grave_esc.c [OK]
Compiling: quantum/process_keycode/process_space_cadet.c [OK]
Assembling: platforms/avr/xprintf.S [OK]
Compiling: platforms/avr/printf.c [OK]
Compiling: tmk_core/protocol/host.c [OK]
Compiling: tmk_core/protocol/report.c [OK]
Compiling: tmk_core/protocol/usb_device_state.c [OK]
Compiling: tmk_core/protocol/usb_util.c [OK]
Compiling: platforms/suspend.c [OK]
Compiling: platforms/synchronization_util.c [OK]
Compiling: platforms/timer.c [OK]
Compiling: platforms/avr/hardware_id.c [OK]
Compiling: platforms/avr/platform.c [OK]
Compiling: platforms/avr/suspend.c [OK]
Compiling: platforms/avr/timer.c [OK]
Compiling: platforms/avr/bootloaders/dfu.c [OK]
Compiling: tmk_core/protocol/lufa/lufa.c [OK]
Compiling: tmk_core/protocol/usb_descriptor.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/ConfigDescriptors.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/DeviceStandardReq.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/Events.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/HostStandardReq.c [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/USBTask.c [OK]
Compiling: tmk_core/protocol/lufa/usb_util.c [OK]
Linking: .build/clueboard_66_rev3_default.elf [OK]
Creating load file for flashing: .build/clueboard_66_rev3_default.hex [OK]
Copying clueboard_66_rev3_default.hex to qmk_firmware folder [OK]
Checking file size of clueboard_66_rev3_default.hex [WARNINGS]
* The firmware size is approaching the maximum - 27842/28672 (97%, 830 bytes free)
root@playground:~/qmk_firmware #
Thank you, closing this issue.
The alias is not really needed — it changes the behavior of the make
command in your shell, but does not affect the behavior of other programs started from that shell. What actually fixes things here is that qmk
looks for gmake
in $PATH
and uses it in preference to make
if found:
Ψ Compiling keymap with gmake --jobs=1 clueboard/66/rev3:default
The make
alias would help if you ever run make
directly instead of going through the qmk
frontend (but it might also break things if you use it in some other place which actually expects BSD make).
Describe the Bug
I am trying to compile a keyboard but it keep throwing a make error:
Keyboard Used
Any keyboard
Link to product page (if applicable)
No response
Operating System
freebsd
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
Doctor says it is not a supported system, but I dont think it is related.
How can I change this --jobs config to something else?
Thanks for the atention.