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

No Subject




Dear NS developer,

Thanks for your great work in building the NS.
I downloaded the current version 2.1b2 (allinone)
and tried to compile it.  In the middle of 
compilation, I was given the following error msgs:


gcc -c -I. -I../otcl -I../tkbox/include -I../tclbox/include -DNO_TK  -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -O2 -o tcl2c++.o tcl2c++.c
rm -f tcl2c++
c++   -o tcl2c++ tcl2c++.o
c++ -c -I. -I../otcl -I../tkbox/include -I../tclbox/include -DNO_TK  -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -O2 -o Tcl.o Tcl.cc
Tcl.cc: In function `static class TclObject * TclObject::New(const char *, const char
* ...)':
Tcl.cc:848: `__builtin_va_alist' undeclared (first use this function)
Tcl.cc:848: (Each undeclared identifier is reported only once
Tcl.cc:848: for each function it appears in.)
Tcl.cc:855: warning: implicit declaration of function `int __builtin_va_arg_incr(...)'
Tcl.cc: In method `int TclObject::Invoke(const char * ...)':
Tcl.cc:903: `__builtin_va_alist' undeclared (first use this function)
Tcl.cc: In method `int TclObject::Invokef(const char * ...)':
Tcl.cc:926: `__builtin_va_alist' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `Tcl.o'
TclCL make failed! Exiting ...
433.97u 103.08s 13:08.89 68.0%


Could you tell me what was wrong in my compilation?
(I typed "./install", as suggested to build all the code).

Thanks very much in advance for your help!

Xinyu