[ns] NS2 version 2.26 running on cygwin
eem1sj
eem1sj at surrey.ac.uk
Thu Jul 14 16:01:47 PDT 2005
Hi, there
What i've done before
1) Download ns-allinone-2.26 version
2) Download the patches from www.isi.edu ftp page http://www.isi.edu/nsnam/dist/
3) Apply the patch - patch < ns-allinone-2.26-cygwin.patch in the ns directory. Just apply the first instruction for ./install file
4) Execute ./install for automatic installation
The problem occurs when the ns-2.26 installation executed. These are the error
c++ -c -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -D
HAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -
DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_
NO_SYNC -DSTL_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -I. -I/usr/X11R6/include
-I/cygdrive/c/ns-allinone-2.26/tclcl-1.0b13 -I/cygdrive/c/ns-allinone-2.26/otcl-
1.0a8 -I/cygdrive/c/ns-allinone-2.26/include -I/cygdrive/c/ns-allinone-2.26/incl
ude -I/usr/include/pcap -I./tcp -I./common -I./link -I./queue -I./adc -I./apps -
I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./d
iffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I
./diffusion3/diffusion -I./asim/ -I./qs -o tools/flowmon.o tools/flowmon.cc
In file included from tools/flowmon.cc:46:
tools/flowmon.h: In constructor `Flow::Flow()':
tools/flowmon.h:57: error: call of overloaded `bind(const char[5], nsaddr_t*)'
is ambiguous
/cygdrive/c/ns-allinone-2.26/tclcl-1.0b13/tclcl.h:179: error: candidates are:
void TclObject::bind(const char*, unsigned int*) <near match>
/cygdrive/c/ns-allinone-2.26/tclcl-1.0b13/tclcl.h:180: error:
void TclObject::bind(const char*, int*) <near match>
tools/flowmon.h:58: error: call of overloaded `bind(const char[5], nsaddr_t*)'
is ambiguous
/cygdrive/c/ns-allinone-2.26/tclcl-1.0b13/tclcl.h:179: error: candidates are:
void TclObject::bind(const char*, unsigned int*) <near match>
/cygdrive/c/ns-allinone-2.26/tclcl-1.0b13/tclcl.h:180: error:
void TclObject::bind(const char*, int*) <near match>
make: *** [tools/flowmon.o] Error 1
Before this i'm using ns2.28 which running under Cygwin platform and it run without any problem. Can you please help me with this since my extension module need me to install ns2.26?
Thank you
More information about the Ns-users
mailing list