将ospf补丁包安装到NS2.35
来源:互联网 发布:想做淘宝兼职 编辑:程序博客网 时间:2024/05/28 14:56
原文http://www.linuxquestions.org/questions/linux-newbie-8/ospf-patch-for-ns-2-35-a-4175492253/
1) $ tar xvf ns-allinone-2.35.tar.gz
2) $ cd ns-allinone-2.35/
3) $ ln -s ns-2.35/ ns-2.34
... Then the patch will work, except for one line. (commom/packet.h).
4) $ patch -p0 < 10-ospf4ns2.34-base.patch
http://sourceforge.net/projects/ospf4ns/
5) Replace commom/packet.h with the attached "packet.h" : Edited by hand.
6) export CC=gcc44 CXX=g++44 && ./install
... Or whatever gcc/g++ version 4.4.x you have available.
>>> 20-ospf4ns2.34-examples.patch
7) $ cd ns-allinone-2.35/
8) $ patch -p0 < 20-ospf4ns2.34-examples.patch
9) $ cd ns-2.35/
10)# make install
11)$ cd tcl/ex/ospf/
12)$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
13)$ ns out_ospf0.tcl
... Etc. etc. : All the examples work OK, and will open a 'nam' window.
- 将ospf补丁包安装到NS2.35
- ns2安装802.11p补丁包
- centos 安装NS2.35
- ns2.35 安装
- centos安装ns2.35
- NS2.35安装教程
- Ubuntu12.04 安装ns2.35
- Ubuntu ns2.35 安装leach
- Ubuntu12.04 安装ns2.35
- Ubuntu12.04 安装ns2.35
- Ubuntu 13.04 安装ns2.35
- ubuntu12.04安装ns2.35
- ubuntu13.04安装ns2.35
- 【Linux+NS2.35】安装成功
- Ubuntu 16.04安装ns2.35
- 将NS2嵌入到Eclipse中进行开发运行
- ns2安装
- NS2 安装
- 一步一步写算法(之查找)
- 如何修改Linux系统下的PATH(如何添加自己的路径到PATH)
- linux系统文件机器作用
- 字节对齐
- 一步一步写算法(之非递归排序)
- 将ospf补丁包安装到NS2.35
- 一个进程在内存中的布局
- JFreeChart
- 一步一步写算法(之快速排序)
- 告别了小杯
- fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
- 看看30年来职业冷热变迁 当下什么是铁饭碗
- android 蓝牙浅谈
- 一步一步写算法(之合并排序)