Hello LeCost,
i also get the same error while downloading ns-allinone-2.28 inubuntu 10.04.
clould you please let me know how to fix the problem?
TKhan

Hey there,

I'm new in ns2. I tried to install it under Ubuntu 8.04, 9.10 and Fedora 12
(all of them running in VMware) but I always get the same error. tclcl does
not compile.

Tcl.cc: In member function ‘void Tcl::eval(char*)’:
Tcl.cc:182: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
TclObject*)’:
Tcl.cc:421: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In static member function ‘static int TclClass::create_shadow(void*,
Tcl_Interp*, int, const char**)’:
Tcl.cc:509: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:511: warning: deprecated conversion from string constant to ‘char*’
*Tcl.cc: In static member function ‘static int
TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’*
Tcl.cc:571: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘virtual void TclClass::bind()’:
Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:605: warning: deprecated conversion from string constant to ‘char*’
make: *** [Tcl.o] Error 1
tclcl-1.17 make failed! Exiting ...

This was from the last attempt of ns2.29 under Fedora12 . same with 2.28

I found in NS2 webpage that there was a problem with gcc 3.4 and tclcl but
it says that it has been fixed.

I want to install ns2.28 in order to work with 802.11e MAC possible under
linux 9.10 that I'm more used to.

Thank you for your help,

Marry X-Mas!

-- 
Katsaros Konstantinos
MSc Communications, Network and S/W
Surrey University



-- 
Katsaros Konstantinos



-- 
View this message in context: 
http://old.nabble.com/Error-installing-NS2-%28tclcl-make-failed%29-tp26924643p29621422.html
Sent from the ns-users mailing list archive at Nabble.com.


Reply via email to