
Ant-like Mobile Agents - NS2 Patch
This is a recipe for installing my NS2-patch which contains all the files I have chanced in NS2 to enable simulations of ant-like mobile agents. (Misc. simulation scenario scripts and tools are also included).
Note: My ns2-patch is based on and hence includes both the Active Network patch from the PANAMA project and the MPLS patch made by Gaeil Ahn.
Potential pitfalls:
- A script embedded in Makefile.in in the ns-2.1b6 subdirectory assumes a utility called "tempfile" is installed. "tempfile" creates a temporary file and returns the file name. If "tempfile" (or similar) is not available, replace
TMPFILE=`tempfile`; with e.g. TMPFILE="tmp.tmp;" in Makefile.in and reconfigure/recompile ns by executing the line given above.
- Make sure your
gcc compiler is of version 2.95. New versions of gcc seem create a lot of errors when compiling ns-allinone-2.1b6.
- You might have to apply the
tclPosixStr.patch patch as indicated in the installation instructions of ns-allinone-2.1b6.
- The ant patch uses STL (Standard Template Library). There might be some path confusion in some of the
#include statments which include STL functionality.
|