在Windows 8中安装NS2 v2.35(Cygwin v1.7.32)期间,我不断收到此错误消息:
Package gcc4 is not present on your system. Please install it using Cygwin's setup.exe before trying to install the ns-2 distribution.
我尝试从设置中下载gcc4软件包,但它没有显示它有一个gcc4软件包。所以,我从互联网下载它,但文件是空的!如果我忽略gcc4的警告并继续安装,那么我收到以下错误。
/usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../x86_64-pc-cygwin/bin/ld: final l ink failed: Invalid operation collect2: error: ld returned 1 exit status Makefile:569: recipe for target `tclsh.exe' failed make: *** [tclsh.exe] Error 1 tcl8.5.10 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com
有人请帮助我!!!
答案 0 :(得分:0)
最新的gcc,即4.8不兼容,请使用旧版本的gcc,如4.7