Cygwin错误:“child_info_fork :: abort:加载到不同的地址: [英] Cygwin error: "child_info_fork::abort: Loaded to different address:"

查看:4317
本文介绍了Cygwin错误:“child_info_fork :: abort:加载到不同的地址:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用cygwin-x86(32位版本)在Windows 7上构建我的软件。

Cygwin-x64(64位)在同一台机器上工作得很好。我想构建32位可执行文件。

每当我尝试cygwin-x86时,都会遇到以下错误:

I am trying to build my software using cygwin-x86(32 bit version) on Windows-7.
Cygwin-x64(64 bit) works perfectly fine on the same machine. I want to build 32-bit executable.
Whenever I try cygwin-x86, I get the following errors:


[main] make 7780 child_info_fork :: abort:
C:\cygwin\bin\cygiconv-2.dll:加载到不同的地址:
parent(0x440000)!= child(0x5F0000)
make: / strong> fork:资源暂时
不可用

已检查此主题 Cygwin错误

我已经尝试过那里提到的一切,但我仍然面临同样的问题。

每当我尝试 / usr / bin / rebaseall -v cd / usr / bin& ./rebaseall -v ,如上面提到的线程中接受的答案的第7步所述,我得到这个错误:

I have already tried everything mentioned in there, but I still continue to face the same issue.
Whenever i try /usr/bin/rebaseall -v or cd /usr/bin && ./rebaseall -v as mentioned in the step 7 of the accepted answer in the above mentioned thread, I get this error:


/usr/x86_64-pc-cygwin/sys-root/usr/bin/cygvtv_stubs-0.dll:跳过
,因为错误的机器类型。
/usr/x86_64-pc-cygwin/sys-root/usr/bin/cygz.dll:跳过,因为
错误机器类型。
细分错误(内核转储)

其他.dll的。

如前所述,我在我的机器上安装了cygwin-64,工作正常。但是,在运行 rebaseall 时,它会以某种方式查找 x86-64-pc-cygwin 而不是32位版本。

I get this wrong machine type error for a lot of other .dll's as well.
As mentioned earlier I have cygwin-64 installed on my machine & working as expected. But while running rebaseall it is somehow looking for x86-64-pc-cygwin instead of 32 bit version.

推荐答案

该线程已过时。

运行 / usr / bin / rebase-trigger ,关闭所有cygwin进程并再次运行 setup-x86.exe

run /usr/bin/rebase-trigger, close all cygwin processes and run again setup-x86.exe. Also without installing anything will execute a rebase for you.

还可以指定选项全部。

注意:
32位系统上的fork问题的最可能原因是安装了太多的程序和库。

Additional note: The most likely cause of fork problems on 32 bit system are too many programs and libraries installed.

例如:
/usr/x86_64-pc-cygwin/sys-root/usr/bin/cygz.dll

属于 cygwin64-zlib 一个用于从cygwin32构建cygwin64程序的交叉库。你真的需要它吗?如果没有,我怀疑,删除所有cywgin64包。

belongs to cygwin64-zlib a cross library for building cygwin64 programs from cygwin32. Do you really need it ? If not, as I suspect, remove all cywgin64 packages .

这篇关于Cygwin错误:“child_info_fork :: abort:加载到不同的地址:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆