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

Re: TCLCL Error on compiling



Mathew,

You are probably using an older version of OTCL try update it to the current one 
and also remember to specify the path using --with-tclcl=<path> during 
configuring !!


-- Martin

>..
> I am getting the following errors on installing ns-allinone2.1b6a.
> 
> 
> CC -c  -DNO_TK  -DNDEBUG -D__svr4__ -DUSE_SHM -DHAVE_LIBOTCL1_0A4
> -DHAVE_OTCL_H
> -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1
> -DH
> AVE_STRING_H=1 -DHAVE_STRTOLL=1 -DSIZEOF_LONG=4 -Dint64_t=long\ long
> -DHAVE_INT6
> 4=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
> -DHAVE_OTC
> L_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_LIBDL=1 -I.
> -I/home/netsim/ns-allinone-2.1b6/
> otcl-1.0a5 -I/home/netsim/ns-allinone-2.1b6/tkbox/include
> -I/home/netsim/ns-alli
> none-2.1b6/tclbox/include -o Tcl.o Tcl.cc
> "tclcl.h", line 209: Error: Type name expected instead of "bool".
> "tclcl.h", line 209: Error: No storage class or type for this declaration.
> "tclcl.h", line 209: Error: "," expected instead of "delay_bind".
> "tclcl.h", line 210: Error: Use ";" to terminate declarations.
> "tclcl.h", line 210: Error: Type name expected instead of "bool".
> "tclcl.h", line 210: Error: No storage class or type for this declaration.
> "tclcl.h", line 210: Error: Multiple declaration for bool.
> "tclcl.h", line 210: Error: "," expected instead of "delay_bind".
> "tclcl.h", line 211: Error: Use ";" to terminate declarations.
> "tclcl.h", line 211: Error: Type name expected instead of "bool".
> "tclcl.h", line 211: Error: No storage class or type for this declaration.
> "tclcl.h", line 211: Error: Multiple declaration for bool.
> "tclcl.h", line 211: Error: "," expected instead of "delay_bind_bw".
> "tclcl.h", line 212: Error: Use ";" to terminate declarations.
> "tclcl.h", line 212: Error: Type name expected instead of "bool".
> "tclcl.h", line 212: Error: No storage class or type for this declaration.
> "tclcl.h", line 212: Error: Multiple declaration for bool.
> "tclcl.h", line 212: Error: "," expected instead of "delay_bind_time".
> "tclcl.h", line 213: Error: Use ";" to terminate declarations.
> "tclcl.h", line 213: Error: Type name expected instead of "bool".
> "tclcl.h", line 213: Error: No storage class or type for this declaration.
> "tclcl.h", line 213: Error: Multiple declaration for bool.
> "tclcl.h", line 213: Error: "," expected instead of "delay_bind".
> "tclcl.h", line 214: Error: Use ";" to terminate declarations.
> "tclcl.h", line 214: Error: Type name expected instead of "bool".
> Compilation aborted, too many Error messages.
> *** Error code 1
> make: Fatal error: Command failed for target `Tcl.o'               
> 
> 
> 
> 
> Need help.
> Thank you.
> -Mathew Varughese