参见该网页:
http://ramakrishnamundugar.blogspot.com/p/network-simulator-v2.html以下问题均为再 ubuntu 11.04 中安装 ns-2.30 中出现的错误
1. make: *** [Tcl.o] 错误 1
注意其中:
Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’
处理方法:
打开 Tcl.cc .再566行附近
- char *p =strchr(localName, '(');
+ char *p =const_cast( strchr(localName, '('));
阅读(468) | 评论(0) | 转发(0) |