Hi,
I'm having problem installing ns2.1b8a (all-in-one) on a sun
sparc running
SunOS 5.8. While installing tclcl, the following problem
occurs....
--------------------------------------------------------
rm -f embedded-tcl.cc
./tcl2c++ et_tcl ../lib/tcl8.3/init.tcl ../lib/tcl8.3/history.tcl ../lib/tcl8.3/word.tcl ../lib/tcl8.3/http2.3/http.tcl > embedded-tcl.cc *** Error code 139 make: Fatal error: Command failed for target `embedded-tcl.cc' -------------------------------------------------------- I've made sure that the gcc and g++ are
used for compilation. I tried to execute
this command manually without redirecting the
output to embedded-tcl.cc.
The output ends in the following
manner:
--------------------------------------------------------
\n\ \n\
proc http::ProxyRequired {host}
{\n\
variable http\n\ if {[info exists http(-proxyhost)] && [string length $http(-proxyhost)]} {\n\ if {![info exists http(-proxyport)] || ![string length $http(-proxyport)]} {\n\ set http(-proxyport) 8080\n\ }\n\ return [list $http(-proxyhost) $http(-proxyport)]\n\ } else {\n\ return {}\n\ }\n\ }\n\ "; #include "tclcl.h" EmbeddedTcl et_tcl(code); Segmentation fault ------------------------------------------------------ Going through the tcl2c++.c and the parameter
files, it seems that the program
fails only after it has completed its
entire task (if we remove the seg fault
part, the remaining output is exactly what
should go in embedded-tcl.cc).
Any suggestions?
thanks,
Sudeept
|