我在Windows 7(32位)上安装了cygwin和git。尝试执行Makefile。当我只使用make
时,它可以工作。
但是,当我将rm
添加到我的Makefile中时,例如在fclean
中,发生了这种情况:
C:\Users\SSS\libft>make fclean
rm -f *.o
3 [main] rm (324) C:\Program Files\Git\usr\bin\rm.exe: *** fatal error - cygheap base mismatch detected - 0x612C3410/0x612BF410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
make: *** [Makefile:25: clean] Segmentation fault
重新启动没有帮助。