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

problem in installing ns



Hi ,
	I down loaded the new version of ns ( ns-2.1b1 ) and tried to compile
it .

	I downloaded the related tools ( TCL , TK , otcl , tclcl )
and compiled them and then compiled ns .

The cofigure script created a make file .
	On doing a make I get


c++ -c -I.   -I../tclcl-1.0b4 -I../otcl-0.96 -I/usr/local/include
-I/usr/local/include -DNO_TK  -mv8 -msupersparc -D__svr4__ -DUSE_SHM
-DHAVE_LIBTCLCL1_0B4 -DHAVE_TCLCL_H -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H
-DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -g -o scheduler.o
scheduler.cc
scheduler.cc: In method `void RealTimeScheduler::run()':
scheduler.cc:576: warning: implicit declaration of function `int
Tcl_DoOneEvent(...)'
scheduler.cc:580: `Tcl_TimerToken' undeclared (first use this function)
scheduler.cc:580: (Each undeclared identifier is reported only once
scheduler.cc:580: for each function it appears in.)
scheduler.cc:580: parse error before `;'
scheduler.cc:583: `token' undeclared (first use this function)
scheduler.cc:583: warning: implicit declaration of function `int
Tcl_CreateTimerHandler(...)'
scheduler.cc:586: warning: implicit declaration of function `int
Tcl_DeleteTimerHandler(...)'
*** Error code 1
make: Fatal error: Command failed for target `scheduler.o'


Can you please tell me how to fix the problem.
Can you tell me  where the class Tcl_TimerToken is .

I tried to grep for Tcl_TimerToken in the TCL , TK .... directories ,
and I do not seem to find them.

Thanks ,
-)Bala.