bigtreetech / CB1

OS System image for CB1
369 stars 62 forks source link

Klipper: error on 'make' #144

Open ghost opened 1 year ago

ghost commented 1 year ago

How solve this?

root@BTT-CB1:/home/biqu/klipper# make Building out/autoconf.h Compiling out/src/sched.o Compiling out/src/command.o Compiling out/src/basecmd.o Compiling out/src/debugcmds.o Compiling out/src/initial_pins.o Compiling out/src/gpiocmds.o Compiling out/src/stepper.o Compiling out/src/endstop.o Compiling out/src/trsync.o Compiling out/src/adccmds.o Compiling out/src/spicmds.o Compiling out/src/i2ccmds.o Compiling out/src/pwmcmds.o Compiling out/src/buttons.o Compiling out/src/tmcuart.o Compiling out/src/neopixel.o Compiling out/src/pulse_counter.o Compiling out/src/lcd_st7920.o Compiling out/src/lcd_hd44780.o Compiling out/src/spi_software.o Compiling out/src/i2c_software.o Compiling out/src/sensor_lis2dw.o Compiling out/src/thermocouple.o Compiling out/src/sensor_adxl345.o Compiling out/src/sensor_angle.o Compiling out/src/sensor_mpu9250.o Compiling out/src/stm32/watchdog.o Compiling out/src/stm32/gpio.o Compiling out/src/stm32/clockline.o Compiling out/src/stm32/dfu_reboot.o Compiling out/src/generic/crc16_ccitt.o Compiling out/src/generic/armcm_boot.o Compiling out/src/generic/armcm_irq.o Compiling out/src/generic/armcm_reset.o Compiling out/src/generic/timer_irq.o Compiling out/src/stm32/stm32f0_timer.o Compiling out/src/stm32/stm32g0.o Compiling out/src/stm32/gpioperiph.o Compiling out/src/stm32/stm32f0_adc.o Compiling out/src/stm32/stm32f0_i2c.o Compiling out/src/stm32/spi.o Compiling out/src/stm32/usbfs.o Compiling out/src/stm32/chipid.o Compiling out/src/generic/usb_cdc.o Compiling out/src/stm32/hard_pwm.o Building out/compile_time_request.o Traceback (most recent call last): File "/home/biqu/klipper/./scripts/buildcommands.py", line 618, in main() File "/home/biqu/klipper/./scripts/buildcommands.py", line 609, in main ctr_dispatchcmd File "/home/biqu/klipper/./scripts/buildcommands.py", line 168, in decl_initial_pins HandlerConstants.decl_constant_str( File "/home/biqu/klipper/./scripts/buildcommands.py", line 140, in decl_constant_str name, value = req.split(None, 2)[1:] ValueError: not enough values to unpack (expected 2, got 1) make: *** [Makefile:83: out/compile_time_request.o] Error 1 root@BTT-CB1:/home/biqu/klipper#

Was made: apt update apt upgrade