【发布时间】:2018-01-17 03:39:07
【问题描述】:
我想在 ns2.35 上修补 FastBroadcast,已经在 ns2.35 中修补 LTE,但在修补 FastBroadcast 中,问题是,它不会被完全修补。
它只适用于 ns2.29??
错误是:
Hunk #1 FAILED at 333. 1 out of 1 hunk FAILED -- saving rejects to file ns-2.35/Makefile.in.rej
请帮帮我
【问题讨论】:
我想在 ns2.35 上修补 FastBroadcast,已经在 ns2.35 中修补 LTE,但在修补 FastBroadcast 中,问题是,它不会被完全修补。
它只适用于 ns2.29??
错误是:
Hunk #1 FAILED at 333. 1 out of 1 hunk FAILED -- saving rejects to file ns-2.35/Makefile.in.rej
请帮帮我
【问题讨论】:
假设 ns-2.35 使用 LTE-ns235_2014-2.patch 打补丁。
fastbroadcast 补丁由 fastbroadcast_ns235.patch 制成:Fastbroadcast-for-LTE-patched_ns235.patch https://drive.google.com/file/d/0B7S255p3kFXNX3RLY1pDWmFRRFE/view?usp=sharing
将补丁与 LTE 补丁 ns-2.35 一起使用:
cd ns-allinone-2.35/
patch -p0 < Fastbroadcast-for-LTE-patched_ns235.patch
./install
注意:不确定 fastbroadcast 示例在 LTE 补丁 ns2 上是否正常工作。我想你能找到解决办法。
所有补丁https://drive.google.com/drive/folders/0B7S255p3kFXNZ2lWZDBRSW40Q00?usp=sharing
所有示例https://drive.google.com/drive/folders/0B7S255p3kFXNSmRYb2lGcDRUdWs?usp=sharing
广播示例https://drive.google.com/file/d/0B7S255p3kFXNOUMyQjF1OWhTUlU/view?usp=sharing
LTE 示例 06.17 https://drive.google.com/file/d/0B7S255p3kFXNSmd4Q3h3dXp1QWc/view?usp=sharing
【讨论】:
Invalide class id in DropTail::enque ... :是的,在添加 LTE 时发生。看我的回答:““我猜你能找到解决办法。””