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

Help for making Tcl



I can not make Tcl fetched from the site on the ns homepage. The following is
the error message.

c++ -o Tcl.o -c -O2 -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -I/homes/chensg/Tcl-1.0b2/../otcl-0.96 -I/homes/chensg/Tcl-1.0b2/../tk4.2/generic -I/homes/chensg/Tcl-1.0b2/../tcl7.6/generic Tcl.cc
Tcl.cc: In method `TclObject::~TclObject()':
Tcl.cc:239: conflicting types for `class InstVar * p'
Tcl.cc:233: previous declaration as `class TracedVar * p'
Tcl.cc: In method `TracedVarTcl::~TracedVarTcl()':
Tcl.cc:462: `const *' cannot be deleted
*** Error code 1
make: Fatal error: Command failed for target `Tcl.o'

It seems a problem of Tcl.cc source code. Has anyone experienced the similar
problem, or I have a dump complier?

Any suggestion is highly apprecaited.

For your information, I enclose the output from configuration.

loading cache ./config.cache
checking host system type... sparc-sun-solaris2.5.1
checking target system type... sparc-sun-solaris2.5.1
checking build system type... sparc-sun-solaris2.5.1
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) 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++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... (cached) no
checking for socket in -lsocket... (cached) yes
checking for gethostbyname in -lnsl... (cached) yes
checking for getnodebyname in -ldnet_stub... (cached) no
checking for tcl.h... -I/homes/chensg/Tcl-1.0b2/../tcl7.6/generic
checking for libtcl7.6... -R/usr/lib -L/homes/chensg/Tcl-1.0b2/../tcl7.6/unix -ltcl
checking for init.tcl... /homes/chensg/Tcl-1.0b2/../tcl7.6/library
checking for tk.h... -I/homes/chensg/Tcl-1.0b2/../tk4.2/generic
checking for libtk4.2... -R/usr/lib -L/homes/chensg/Tcl-1.0b2/../tk4.2/unix -ltk
checking for tk.tcl... /homes/chensg/Tcl-1.0b2/../tk4.2/library
checking for otcl.h... -I/homes/chensg/Tcl-1.0b2/../otcl-0.96
checking for libotcl0.96... -R/usr/src/local/otcl-0.96 -L/homes/chensg/Tcl-1.0b2/../otcl-0.96 -lotcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
checking for main in -ldl... (cached) yes
checking for a BSD compatible install... ./install-sh -c
creating ./config.status
creating Makefile

--Shaogang 
============================================================================
Web: http://yake.ecn.purdue.edu/~shaogang          Purdue University
Office:  MSEE 292  Phone: (765) 494-0434           W. Lafayette, IN 47907
============================================================================