【问题标题】:Eclipse using MinGW make fails without msysEclipse 使用 MinGW make 在没有 msys 的情况下失败
【发布时间】:2015-11-12 19:18:10
【问题描述】:

作为背景,我正在尝试在 Windows 8.1 主机上为 STM32 构建 ChibiOS。如果我只是在msys.bat 命令提示符的演示目录中运行make,这将非常有效。因此,工具链和路径应该没问题。

现在,如果我只是简单地设置一个 Eclipse 项目,它会尝试直接运行 make.exe 并失败。输出类似于从普通的cmd 提示符运行makemake.exemingw32-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)工作?

可能相关:

【问题讨论】:

    标签: eclipse windows mingw


    【解决方案1】:

    奇怪的是,我通过用 msys 替换 WinAVR 目录中的 msys-1.0.dll 解决了这个问题。我猜那里有一个古老的版本,据我所知,它不在系统路径中时以某种方式被加载。

    问题中的链接是指更新 dll 或将其替换为已修补的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-22
      • 1970-01-01
      • 2017-09-24
      • 2013-06-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多