cygwin rebase解决Resource temporarily unavailable

cygwin出错,Resource temporarily unavailable。

cygwin里面生成dll列表:

#find / -path "/cygdrive" -prune -o -name "*dll" > /tmp/dlls.txt #需要再排除/proc /var等

find /bin -name "*dll" > /tmp/dlls.txt

find /usr -name "*dll" >> /tmp/dlls.txt

find /opt -name "*dll" >> /tmp/dlls.txt

find /lib -name "*dll" >> /tmp/dlls.txt

退出cygwin,找到cygwin目录下的ash.exe,双击运行。执行shell命令

/usr/bin/rebaseall -v -T /tmp/dlls.txt

执行完毕,重新进入cygwin

posted on 2012-02-06 13:27  windviki  阅读(726)  评论(0编辑  收藏  举报