NS-2.34 DYMO patch

后端 未结 1 606
慢半拍i
慢半拍i 2021-01-23 14:24

i\'m trying to add DYMO routing protocol to NS-2.34 but it didn\'t work, i\'m following this tuto : https://khaledben.wordpress.com/2011/04/16/patching-dymo-um-in-ns-2/

相关标签:
1条回答
  • 2021-01-23 14:44

    "dymoum-0.3.tgz" is here https://drive.google.com/file/d/0B7S255p3kFXNeTFjUkc4T3NGWjA/view?usp=sharing

    ns-allinone-2.34 is old. gcc / g++ version 3.4.6 or 4.1.2 can be used.

    I did :

    cd ns-allinone-2.34/
    patch -p0 < Edited-dymoum_ns-2.34_v0.3.patch
    export CC=gcc34 CXX=g++34 && ./install
    

    Testingdymoum/ns/test/{test_2n_m.tcl, test_2n.tcl, test_3n_m.tcl, test_3n.tcl} : All OK. And four nice nam animations.


    Second run with Dymoum and ns-2.34 : I made up a new patch from { ns234_gcc49.patch + Edited-dymoum_ns-2.34_v0.3.patch + the dymoum/ folder} to DYMO-03-all_ns234-gcc5.patch. So with a stock ns-allinone-2.34 it is :

    cd ns-allinone-2.34/
    patch -p0 < DYMO-03-all_ns234-gcc5.patch
    ./install
    

    Link, DYMO-03-all_ns234-gcc5.patch https://drive.google.com/file/d/0B7S255p3kFXNbHNsUzQ3QXdMa0E/view?usp=sharing



    Also available : DYMO-03-all__ns235.patch https://drive.google.com/file/d/0B7S255p3kFXNejVmQ0duZmRHUEU/view?usp=sharing

    For ns-allinone-2.35_gcc482.tar.gz ( All gcc versions 4.6 - 5.2 ) https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view?usp=sharing


    Other links 1) The old dymoum_ns-2.34_v0.3.patch (Don't use it) https://drive.google.com/file/d/0B7S255p3kFXNLXJzdURCZmRzWjA/view?usp=sharing ... uploaded as "old" : dymoum_ns-2.34_v0.3.old.patch

    2) "dymoum_ns-2.34_v0.3.patch", edited : Edited-dymoum_ns-2.34_v0.3.patch https://drive.google.com/file/d/0B7S255p3kFXNeS1oVlkzd0hsd2s/view?usp=sharing

    0 讨论(0)
提交回复
热议问题