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

NS installation Error on SunOS




This error message's been generated on SunOS
Please help with problem.

checking size of long... (cached) 4 
checking for __int64_t... no
checking for long long... yes
checking for int64_t... (cached) yes
checking which kind of 64-bit int to use... int64_t
checking for tcl.h... -I../tclbox/include
checking for libtcl8.0... -R../tclbox/lib -L../tclbox/lib -ltcl8.0
checking for init.tcl... ../tclbox/lib/tcl8.0
checking for tclsh8.0.4... (cached) ../tclbox/bin/tclsh8.0
checking for tk.h... -I../tkbox/include
checking for libtk8.0... -R../tkbox/lib -L../tkbox/lib -ltk8.0
checking for tk.tcl... ../tkbox/lib/tk8.0 
checking for otcl.h... -I../otcl-1.0a5
checking for libotcl1.0a4... -R../otcl-1.0a5 -L../otcl-1.0a5 -lotcl 
checking for X11 header files 
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
No explicit static compilation flag; setting V_STATIC to ""
checking for main in -ldl... yes 
checking for a BSD compatible install... (cached) /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile 
rm -f embedded-tcl.cc
./tcl2c++ et_tcl ../tclbox/lib/tcl8.0/init.tcl
../tclbox/lib/tcl8.0/history.tcl
../tclbox/lib/tcl8.0/word.tcl  ../tclbox/lib/tcl8.0/http2.0/http.tcl >
embedded-tcl.cc
./tcl2c++: syntax error at line 1: `(' unexpected
*** Error code 2
make: Fatal error: Command failed for target `embedded-tcl.cc'
tclcl-1.0b9 make failed! Exiting ...
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems


----------------------------------------------------------------------------
When I run make under tclcl-1.09b I get following errors :

ul:/home/kinshuk/ns/ns-allinone-2.1b6/tclcl-1.0b9 make -f Makefile
c++ -c -O2 -DNO_TK  -DNDEBUG -mv8 -msupersparc -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
-DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DHAVE_STRTOQ=1 -DSIZEOF_LONG=4
-DHAVE_INT64=1 -DHAVE_TCL_H=1
-DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1
-DHAVE_LIBOTCL1_0A4=1
-DHAVE_LIBDL=1 -I. -I/home/kinshuk/ns/ns-allinone-2.1b6/otcl-1.0a5
-I/home/kinshuk/ns/ns-allinone-2.1b6/tkbox/include
-I/home/kinshuk/ns/ns-allinone-2.1b6/tclbox/include -o Tcl.o Tcl.cc
In file included from Tcl.cc:47:
tclcl.h:182: type specifier omitted for parameter
tclcl.h:182: parse error before `*'
tclcl.h:219: type specifier omitted for parameter
tclcl.h:219: parse error before `*'
Tcl.cc: In method `int TclObject::create_framevar(const char *)':
Tcl.cc:347: implicit declaration of function `int snprintf(...)'
Tcl.cc: At top level:
Tcl.cc:821: type specifier omitted for parameter
Tcl.cc:821: parse error before `*'
Tcl.cc:822: missing ';' before right brace
Tcl.cc:823: base `InstVar' with only non-default constructor
Tcl.cc:823: in class without a constructor
Tcl.cc:823: extraneous `char' ignored
Tcl.cc: In function `const class InstVarInt64 * snget(char *, int)':
Tcl.cc:825: `val_' undeclared (first use this function)
Tcl.cc:825: (Each undeclared identifier is reported only once
Tcl.cc:825: for each function it appears in.)
Tcl.cc:827: return to `const InstVarInt64 *' from `char *'
Tcl.cc: In function `void set(const char *)':
Tcl.cc:830: implicit declaration of function `int strtoq(...)'
Tcl.cc: At top level:
Tcl.cc:832: parse error before `protected'
Tcl.cc:987: type specifier omitted for parameter
Tcl.cc:987: parse error before `*'
Tcl.cc: In method `void TclObject::bind(...)':
Tcl.cc:987: `var' undeclared (first use this function)
Tcl.cc:987: `val' undeclared (first use this function)
Tcl.cc: At top level:
Tcl.cc:1104: type specifier omitted for parameter
Tcl.cc:1104: parse error before `*' 
Tcl.cc: In method `bool TclObject::delay_bind(...)':
Tcl.cc:1104: `varName' undeclared (first use this function)
Tcl.cc:1104: `thisVarName' undeclared (first use this function)
Tcl.cc:1104: `tracer' undeclared (first use this function)
Tcl.cc:1104: `localName' undeclared (first use this function)
Tcl.cc:1104: cannot allocate an object of type `InstVarInt64'
Tcl.cc:1104:   since the following virtual functions are abstract:
Tcl.cc:68:      void InstVar::set(const char *)
Tcl.cc:69:      const char * InstVar::snget(char *, int)
*** Error code 1
make: Fatal error: Command failed for target `Tcl.o'