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

[ns] compiling nsallinone-2.1b7a



Hi,
In installing nsallinone-2.1b7a on linux 2.2.9 (gcc 2.95.2), I get the
following error:

./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
make: *** [embedded-tcl.cc] Error 139
tclcl-1.0b10 make failed! Exiting ...

The embedded-tcl.cc which gets generated has a "\n\" after each line which
is causing g++ to spurt out this error message. I wonder why tcl2c++ is
putting this in there and what is the solution to this problem.

few lines from embedded-tcl.cc:

static const char code[] = "\n\
if {[info commands package] == \"\"} {\n\
error \"version mismatch: library\\nscripts expect Tcl version 7.5b1 or
later bu
t the loaded version is\\nonly [info patchlevel]\"\n\
}\n\
package require -exact Tcl 8.3\n\
\n\
\n\
if {![info exists auto_path]} {\n\

making tclcl independently gives:
embedded-tcl.cc:1: unterminated string or character constant
embedded-tcl.cc:161: possible real start of unterminated constant

I am using tclcl-1.0b10 distributed in the nsallinone-2.1b7 package.

-Deepak

-- 
=====================================================================
 Deepak Bansal                 Address: Office: Room 503, NE43 (LCS),  
 Graduate Student				545 Tecnology Sq.,
 LCS, EECS, 		                        Cambridge, MA 02139
 MIT	                                Home  : 5D-2, Tang Hall   
                                                550, Memorial Drive,
                                                Cambridge, MA 02139
 Email: [email protected]              Phones: 617-253-5155 (O)
        [email protected]               617-225-1155 (R)
=====================================================================