开源改变世界

使用 AVR“make”命令编译 grbl 时出错 #350

推推 grbl 3年前 (2023-01-21) 157次浏览

关闭
slatts04 打开了这个问题 2014 年 2 月 15 日 · 3条评论
关闭

使用 AVR“make”命令编译 grbl 时出错#350

slatts04 打开了这个问题 2014 年 2 月 15 日 · 3条评论

注释

使用 AVR“make”命令编译 grbl 时出错 #350

更改配置文件中的定义以利用 atmega2560 引出线后,我尝试按照以下视频中给出的编译说明进行操作:

http://www.youtube.com/watch?v=8lbpl4umtkQ

运行 make 命令时,抛出以下错误:


C:\Users\slatts04\Desktop\grbl-master>make clean
rm -f grbl.hex main.elf main.o motion_control.o gcode.o spindle_control.o coolan
t_control.o serial.o protocol.o stepper.o eeprom .o settings.o planner.o nuts_bol
ts.o limits.o print.o report.o main.d motion_control.d gcode.d spindle_control.d
coolant_control.d serial.d protocol.d stepper.d eeprom.d设置d planner.dn
uts_bolts.d limits.d print.d report.d

C:\Users\slatts04\Desktop\grbl-master>make
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega2560 -I. -ffunction-sections
-cm ain.c -o main.o
0 [main] sh 2028 sync_with_child: child 5428(0x15C) 在初始化前死亡
,状态码为 0xC0000142
481 [main] sh 2028 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: 资源暂时不可用

make: *** [main.o] 错误 128

任何帮助将不胜感激 – 我对 AVR/grbl 还很陌生,所以尽量保持新手级别的解释。谢谢!

使用 AVR“make”命令编译 grbl 时出错 #350

听起来您的构建工具有问题?

此线程上的解决方案有帮助吗?

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=137881

使用 AVR“make”命令编译 grbl 时出错 #350
作者

修好了,谢谢!我实际上在 2007 年的一个线程中遇到了相同的解决方案,但评论说该 dll 文件的问题已在所有较新版本的 AVR 中得到修复。我想我应该试一试 – 无论哪种方式,再次感谢。

喜欢 (0)