Hi, ns-2.26 will only work with GCC-3.2.3 or lower. Therefore, follow these steps: 1. Install GCC-3.2.3 (mind the 3.2.x) ( http://gcc.gnu.org/ ). To compile and install it is quite easy, simply read the INSTALL/index.html file. Then, make sure the GCC binary is used for the compilation of the ns-allinone package. For instance, set the PATH environment variable to have the directory containing the gcc-3.2.3 binary at the beginning. 2. Download and compile ns-allinone-2.26. 3. Setup your environment to use ns-2.
good luck Samer ----- Original Message ----- From: "Karena Xu" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, October 17, 2006 3:48 PM Subject: [ns] ns2.26 installation problem > > Hi all, > > Would like to know if any of you encountered this problem before during > installation? > > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc:384: error: > expected unqualified-id before '(' token > make: *** [diffusion3/ns/difftimer.0] Error 1 > Ns make failed! > > My installation is almost done until the above problem appears. =( > > Thank you. > > Best regards, > Karena > > _________________________________________________________________ > Receive MSN Hotmail alerts over SMS! > http://en-asiasms.mobile.msn.com/ac.aspx?cid=1002 >
