[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Problem in Installation of ns-2.0



On Thu, 13 Nov 1997 13:54:17 +0300, Deniz Gurkan wrote: 
>&&&& Would you please help me fixing a problem in the installation of
>&&&& ns-2.0. I have outlines my problem below.
>
>&&&& I am at the level of compiling ns-2.0 in installation. I have run
>&&&& configure and it made the Makefile properly. When I type make the
>&&&& following errors are read on the screen:
>
>-- c++ -c -I.   /antep3g/network/include -I../otcl-0.96
>-I/antep3g/network/ns-2.0/../tk4.2/generic -I../tcl7.6/generic -DNO_TK 
>-DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBTCLCL1_0B3 -DHAVE_TCLCL_H
>-DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H
>-DHAVE_LIBTCL7_6 -DHAVE_TCL_H -O2 -o rng.o rng.cc
>In file included from rng.cc:48:
>rng.h:83: parse error before `{'
>rng.h:88: parse error before `('
>rng.h:89: parse error before `,'
>...

The ns-2.0 release successfully compiled on our platforms (at least
SunOS, FreeBSD, and Linux), so this might be a compiler problem.

However... before debugging it further you should probably try the
current ns release (2.1b1).  The code you're referring to was cleaned
up a little bit between 2.0 and 2.1b1.

   -John Heidemann