Hi all,
I get error when I install ns-allinone-2.1b9a-gcc32.tar.gz in fedora 9.
tclcl-1.0b12 make failed! the detail is shown as below.
I can' able to get solution. Is there any one debugs this problem?

please help me.
thank you

======================================...
* Build Tclcl-1.0b12
======================================...
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking standard STL is available... no
checking for ranlib... ranlib
checking for snprintf... yes
checking for ANSI C header files... (cached) yes
checking for strtoq... yes
checking for strtoll... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long... yes
checking size of long... 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... yes
checking which kind of 64-bit int to use... int64_t
checking for tcl.h... -I../include
checking for libtcl8.3... -L../lib -ltcl8.3
checking for init.tcl... ../lib/tcl8.3
checking for tclsh8.3.2... no
checking for tclsh8.3... ../bin/tclsh8.3
checking for tk.h... -I../include
checking for libtk8.3... -L../lib -ltk8.3
checking for tk.tcl... ../lib/tk8.3
checking for otcl.h... -I../otcl-1.0a8
checking for libotcl1.0a8... -L../otcl-1.0a8 -lotcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... yes
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
creating ./gen
creating ./bin
gcc -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DSTDC_HEADERS=1
-DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1
-DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1 -I.
-I/home/kasspro/ns/ns-allinone-2.1b9a/ot...
-I/home/kasspro/ns/ns-allinone-2.1b9a/in...
-I/home/kasspro/ns/ns-allinone-2.1b9a/in... -o tcl2c++.o tcl2c++.c
rm -f tcl2c++
g++ -o tcl2c++ tcl2c++.o
g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DSTDC_HEADERS=1
-DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1
-DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1 -I.
-I/home/kasspro/ns/ns-allinone-2.1b9a/ot...
-I/home/kasspro/ns/ns-allinone-2.1b9a/in...
-I/home/kasspro/ns/ns-allinone-2.1b9a/in... -o Tcl.o Tcl.cc
In file included from tclcl.h:49,
from Tcl.cc:48:
tclcl-mappings.h: In static member function 'static int
TclObjectHelper<T>::dispatch_(void*, Tcl_Interp*, int, char**)':
tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name
specifier
tclcl-mappings.h:52: error: invalid use of incomplete type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
tclcl-mappings.h:57: error: invalid use of incomplete type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
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, 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, 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.0b12 make failed! Exiting ...
See 
http://www.isi.edu/nsnam/ns/ns-problems....<http://www.isi.edu/nsnam/ns/ns-problems.html>
for
problems

Reply via email to