经过几天的探索,终于成功装上,而且这个搭配一定能兼容
Ubuntu 10.04下安装ns2-2.34,步骤如下:
#更新源列表
$ sudo apt-get update
#安装几个编译必备的包
$ sudo apt-get install build-essential
$ sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
$ sudo apt-get install libxmu-dev libxmu-headers
然后安装,
将ns安装copy到home/yourfile下
到ns-allinone-2.34所在的文件夹下
cd home/yourfile
car –vxzf ns-allinone-2.34.tar.gz
./install
结果报错:
ld -shared-o libotcl.so otcl.o
otcl.o: Infunction `OTclDispatch':
/usr/ns-allinone-2.34/otcl-1.13/otcl.c:495:undefined reference to `__stack_chk_fail_local'
otcl.o: Infunction `Otcl_Init':
/usr/ns-allinone-2.34/otcl-1.13/otcl.c:2284:undefined reference to `__stack_chk_fail_local'
ld:libotcl.so: hidden symbol `__stack_chk_fail_local' isn'tdefined ld: finallink failed: Nonrepresentable section on output
make: ***[libotcl.so]错误1
otcl-1.13make failed! Exiting ...
Seedoc.guandang.net forproblems
这是因为gcc版本高了,gcc 4.0以前的版本是用ld –share来生成共享库的,但是到了gcc 4.0以后的版本,这个命令就改成了gcc –share。 在终端里输入gcc –v查看,我的版本是gcc version 4.4.3。
ubuntu10.04 ns2.34 安装教程_IT/计算机_专业资料。自己总结的 看看吧...就可以执行 cp /home/kenji/ns-allinone-2.33/bin/ns /bin/ 将 ns 执行...
ubuntu10.04下安装ns2-allinone-2.34_IT/计算机_专业资料。NS2安装ns2-allinoneUbuntu10.04 下安装 ns2-allinone-2.34 由于本人的毕设是设计到无线网络传感...
验证 重启后,打开终端输入 ns,如果出现%就说明安装在功告成了(恭喜^^) 在 ubuntu10.04 下成功安装 ns-allinone-2.34 step 1:下载 NS 安装包 到这个网址 ...
Ubuntu 11.04 安装 ns2-allinone-2.34_计算机软件及应用_IT/计算机_专业资料。亲测可用认真学习Ubuntu 11.04 安装 ns2-allinone-2.34【完整版】(附各种问题...
Vmware10+Ubuntu10.0.4下ns2-allinone-2.34安装方法_计算机软件及应用_IT/... 2011-2 ENG1 (Inter)-NS... 8页 免费 在ubuntu10.04 下安装 n... 2...
Ubuntu10.4下Ns2.35安装步骤_IT/计算机_专业资料。Ubuntu10.4下Ns2.35安装步骤Ubuntu10.04 下装 NS-allinone-2.35 下面是我的安装步骤。 root 登录后在终端...
ubuntu12.04安装ns2.34手记001_计算机软件及应用_...ns-allinone-2.34.tar.gz,版本,将其放在/home/... Vmware10+Ubuntu10.0.4下... 暂无评价 6页 ...
NS2.33安装步骤极尽详细版(Ubuntu12.0.1+ns-allinone-2.33)_计算机硬件及...1/2 相关文档推荐 ubuntu10.04下安装ns2-a... 4页 7下载券 ug7.0安装...
Linux-Ubuntu 10.04安装Cadence-ic610 方法总结图解_IT/计算机_专业资料。...2、修改 license 用编辑器 gedit 将准备好的破解 license.dat,在内容开头添加...
热门文档