Dear all,
Does any one knows about following error in building Tclcl-1.0b11:
============================================================
* Build Tclcl-1.0b11
============================================================
creating cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ 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 c++ 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 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.0a7
checking for libotcl1.0a7... -L../otcl-1.0a7 -lotcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... no
checking for libXext.a
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
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ./gen
creating ./bin
gcc -c  -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A7 -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 -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_0A7=1  -I. -I/home/karimirad/ns-allinone-2.1b8a/otcl-1.0a7 
-I/home/karimirad/ns-allinone-2.1b8a/include 
-I/home/karimirad/ns-allinone-2.1b8a/include -o tcl2c++.o tcl2c++.c
rm -f tcl2c++
c++   -o tcl2c++ tcl2c++.o
c++ -c  -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A7 -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 -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_0A7=1  -I. -I/home/karimirad/ns-allinone-2.1b8a/otcl-1.0a7 
-I/home/karimirad/ns-allinone-2.1b8a/include 
-I/home/karimirad/ns-allinone-2.1b8a/include -o Tcl.o Tcl.cc
In file included from tclcl.h:48,
                 from Tcl.cc:47:
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 undefined type `struct Tcl'
tclcl-mappings.h:41: error: forward declaration of `struct Tcl'
tclcl-mappings.h:57: error: invalid use of undefined type `struct Tcl'
tclcl-mappings.h:41: error: forward declaration of `struct Tcl'
make: *** [Tcl.o] Error 1
tclcl-1.0b11 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
  
Best Regards,
Fatemeh


                
---------------------------------
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less

Reply via email to