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

[ns] Problems during compiling




I have written a new protocol agent for ns,
To compile it I made all the changes specified in the Marc Greis's
tutorial. I made chages in the Makefile, & then executed "make depend" &
"make" But it is giving me many errors:

make: *** Warning: File `Makefile' has modification time in the future
(959147946 > 959145547)
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL1_0B9 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A5
-DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H
-DHAVE_CONFIG_H -I. -I/home/seema/ns-allinone-2.1b6/tclcl-1.0b9
-I/home/seema/ns-allinone-2.1b6/otcl-1.0a5
-I/home/seema/ns-allinone-2.1b6/tkbox/include
-I/home/seema/ns-allinone-2.1b6/tclbox/include -o rng.o rng.cc
rng.cc:161: parse error before `{'
rng.cc:164: syntax error before `*'
rng.cc:167: warning: ANSI C++ forbids declaration `class_rng' with no type
rng.cc: In method `int RNG::command(int, const char *const *)':
rng.cc:208: `tcl' undeclared (first use this function)
rng.cc:208: (Each undeclared identifier is reported only once
rng.cc:208: for each function it appears in.)
rng.cc:209: `TCL_OK' undeclared (first use this function)
rng.cc:213: confused by earlier errors, bailing out
make: *** [rng.o] Error 1

Can anybody suggest me something...

Thanks,
seema.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Ms. Seema T. Jadhav.            |Phone:
				|Hostel 11: 5721039 
Research Engg.                  |Driect line to IIT: 5722545 
Department of Electrical Engg.  |Information Networks Lab 
IIT, Bombay                     |Ext: 5736,5738.
Powai, 400076.                  |Email: [email protected]
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Learn to use things and love people and not...
Love things and use people.