【发布时间】:2015-11-12 19:18:10
【问题描述】:
作为背景,我正在尝试在 Windows 8.1 主机上为 STM32 构建 ChibiOS。如果我只是在msys.bat 命令提示符的演示目录中运行make,这将非常有效。因此,工具链和路径应该没问题。
现在,如果我只是简单地设置一个 Eclipse 项目,它会尝试直接运行 make.exe 并失败。输出类似于从普通的cmd 提示符运行make(make.exe 或mingw32-make.exe)。
make all
0 [main] sh 5524 sync_with_child: child 2444(0x188) died before initialization with status code 0xC0000142
22 [main] sh 5524 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
0 [main] sh 188 sync_with_child: child 1152(0x188) died before initialization with status code 0xC0000142
26 [main] sh 188 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
0 [main] sh 5096 sync_with_child: child 3200(0x18C) died before initialization with status code 0xC0000142
25 [main] sh 5096 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
0 [main] sh 5232 sync_with_child: child 3820(0x184) died before initialization with status code 0xC0000142
25 [main] sh 5232 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: Nothing to be done for 'all'.
20:39:33 Build Finished (took 4s.171ms)
我看到一些信息说这是 Windows 8.1 的某些方面。我可以说服 Eclipse 以某种方式使用 msys,还是有另一种已知的干净方法可以在没有它的情况下使 make(任何 make)工作?
可能相关:
【问题讨论】: