gene1934 Posted January 9, 2023 Posted January 9, 2023 Working on making klipper, a 3d printiing util like Marlin , work on a bpi5 running armbian, fully updated Since the last update a day back, make has been broken. I think its now expecting windows line endings, which it won't find on a linux system. The error message is consistent: gene@bpi51:~/src/klipper$ make /home/gene/src/klipper/.config:13: *** missing separator. Stop. Line 13 is the first non-comment line in the file. The file uses $0A only as linefeeds, no CR's exist in it. The klipper Makefile uses file ".config" as its src of instructions: A head -14 of that file: gene@bpi51:~/src/klipper$ head -14 .config # This file contains common pin mappings for MKS Robin Nano V3 # boards. To use this config, the firmware should be compiled for the # stm32f407. When running "make menuconfig", select the 48KiB # bootloader, and enable "USB for communication". # The "make flash" command does not work on the MKS Robin. Instead, # after running "make", copy the generated "out/klipper.bin" file to a # file named "Robin_nano_v3.bin" on an SD card and then restart the # MKS Robin with that SD card. # See docs/Config_Reference.md for a description of parameters. [stepper_x] step_pin: PE3 There are two $0A's linefeeds between the "parameters." and the "[" so even this copy/paste is broken. S/b a blank line there, and is shown that way on screen but not here in the above paste from hexedit of that file: 65 72 73 2E 0A 0A 5B 73 74 65 70 70 65 72 5F 78 5D 0A 73 74 65 70 5F 70 69 6E 3A 20 50 45 33 0A ers...[stepper_x].step_pin: PE3. ^^ ^^ ^^ ^^ So I am dead in the water until this is fixed. Thank you Cheers, Gene 0 Quote
SteeMan Posted January 9, 2023 Posted January 9, 2023 Moved to the appropriate forum, as this is reporting issues with userspace applications 0 Quote
gene1934 Posted January 9, 2023 Author Posted January 9, 2023 how about a link so I can track this issue? 0 Quote
gene1934 Posted January 9, 2023 Author Posted January 9, 2023 I just did another octoprint and klipper install on another bpi5, and got the exact same error from an example .config file that had never seen a local editor. You, SteeMan, have moved this, but you haven't indicated where to, will I still be notified of updates/replies? 0 Quote
atone Posted January 9, 2023 Posted January 9, 2023 1 hour ago, gene1934 said: You, SteeMan, have moved this, but you haven't indicated where to 7 hours ago, SteeMan said: this is reporting issues with userspace applications 1 hour ago, gene1934 said: will I still be notified of updates/replies? Yes. 0 Quote
Solution gene1934 Posted January 10, 2023 Author Solution Posted January 10, 2023 I'm an id10t. call in the St Bernards and drink the whisky yourselves. It was the .config file it uses to make flash. Its not a pure text file. Blowing it away and doing a fresh make menuconfig fixed it . 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.