Ns-2.33 compiled with Antnet implemented


Currently many researchers are sending me emails reporting problems in the implementation antnet, with the support of 林木盛 Mu-Sheng Lin (user account and 500MB of space on FTP server), 林木盛 Mu-Sheng Lin is Ph.D candidate, Department of Electronic Engineering, National Taiwan University of Science and Technology, Taiwan, I am providing the link ftp://dp6.ykvs.tpc.edu.tw/pub/AntNet_On_Ns2/ns2-33_AND_antnet1.0_by_RichardsonLima.tar.gz , This package contains the Ns-2.33 compiled with Antnet implemented. To solve some problems in the implementation I am writing a second version of the manual for implementation of antnet in ns-2.33, I report some ‘tricks’. =)


11 Responses

  1. The link to the download doesnt work:) can you please upload somewhere else for now?

    Maybe somewhere like rapidshare.com? Its free as well..

    Thanks for your efforts 🙂 your site is very helpful.

  2. Sorry …. its working great now 🙂


  3. I downloaded the code, got a problem compiling/make on osx 10.5 . Dont suppose you run osx as well and can help out?

  4. hi, i’m not success when i install ns 2.33 so i install the older version ns2.29. i follow all instruction of manual installation of antnet 1.0 by lavina jain and i also see your article. i did exactly same.but then when i run ‘make’ it report some error like this:
    common/packet.h:265: error: expected unqualified-id before ‘=’ token
    common/packet.h:266: error: ISO C++ forbids declaration of `name_’ with no type
    common/packet.h:266: error: ISO C++ forbids initialization of member `name_’
    common/packet.h:266: error: making `name_’ static
    common/packet.h:266: error: invalid in-class initialization of static data membe
    r of non-integral type `int[60]’
    common/packet.h: In constructor `p_info::p_info()’:
    common/packet.h:177: error: `name_’ undeclared (first use this function)
    common/packet.h:177: error: (Each undeclared identifier is reported only once fo
    r each function it appears in.)
    common/packet.h:265: error: expected `]’ before ‘}’ token
    common/packet.h:265: error: expected `;’ before ‘}’ token
    common/packet.h: At global scope:
    common/packet.h:268: error: new types may not be defined in a return type
    common/packet.h:268: error: extraneous `char’ ignored
    common/packet.h:268: error: non-member function `const p_info* name(packet_t)’ c
    annot have `const’ method qualifier
    common/packet.h: In function `const p_info* name(packet_t)’:
    common/packet.h:269: error: `name_’ undeclared (first use this function)
    common/packet.h: At global scope:
    common/packet.h:284: error: expected unqualified-id before “private”
    common/packet.h:284: error: expected `,’ or `;’ before “private”
    common/packet.h:286: error: expected declaration before ‘}’ token
    common/packet.h:272: warning: ‘bool data_packet(packet_t)’ defined but not used
    In file included from common/scheduler.cc:48:
    common/packet.h:37:1: unterminated #ifndef
    make: *** [common/scheduler.o] Error 1

    what should i do??please help me

  5. Hello,

    I tried the url, but i couldn’t download it. Can you help us to fix it? Or share it in other ways? Thanks a lot


  6. Hello,

    Can u please mail me via a file storage server like megaupload or rapidshare the antnet implementation in ns 2.33, or mirror the link ?

    Thank you!

  7. Hi
    I couldn’t download the code through this link!
    It gives a connection timeout message!
    I would really appreciate it if you could upload on another link or sth.
    great site though!

  8. […] Ns-2.33 compiled with Antnet implemented […]

  9. I have compiled AntNet 1.0 sucessfully as per the instruction from the mannual but when I run the antnet.tcl file the “Segmentatioon Fault Core dumped” fault displaed. I am using ns2 under cygwin, XP OS. Kindly help me to solve this problem.

  10. hey i downloaded ur code getting error while installing it plz help me……….
    trace/cmu-trace.o: In function `hdr_ant_pkt::access(Packet const*)’:
    cmu-trace.cc:(.text._ZN11hdr_ant_pkt6accessEPK6Packet[hdr_ant_pkt::access(Packet const*)]+0x7): undefined reference to `hdr_ant_pkt::offset_’
    collect2: ld returned 1 exit status
    make: *** [ns] Error 1
    Ns make failed!
    See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
    [root@localhost ns-allinone-2.33]#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: