The steps to be followed are:
The common errors:
- Download the AntHocNet patch for NS-2.34 from the following link http://anthocnet.svn.sourceforge.net/viewvc/anthocnet/
- Modify the makefile because the entries for anthocnet were missing in the patch.
- Compile the patch using:
- ./configure
- make clean
- make
- make install
- Now, you run example files with routing protocol as "AntHocNet"
The common errors:
- trace/cmu-trace.o: In function `AntBasicPacket::access(Packet const*)':cmu-trace.cc:(.text._ZN14AntBasicPacket6accessEPK6Packet[AntBasicPacket::access(Packetconst*)]+0x7): undefined reference to `AntBasicPacket::offset_'collect2: ld returned 1 exit status
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
Solution:
Update the makefile with proper path for object files.
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
Solution:
Update the makefile with proper path for object files.