From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17454 invoked by alias); 17 Jun 2003 18:03:02 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 17438 invoked by uid 71); 17 Jun 2003 18:03:01 -0000 Resent-Date: 17 Jun 2003 18:03:01 -0000 Resent-Message-ID: <20030617180301.17437.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com, research@ijs.co.nz Resent-Reply-To: insight-gnats@sources.redhat.com, research@ijs.co.nz Received: (qmail 1674 invoked by uid 48); 17 Jun 2003 17:55:48 -0000 Message-Id: <20030617175548.1669.qmail@sources.redhat.com> Date: Tue, 17 Jun 2003 18:03:00 -0000 From: research@ijs.co.nz Reply-To: research@ijs.co.nz To: insight-gnats@sources.redhat.com Cc: research@ijs.co.nz X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: research@ijs.co.nz Subject: insight/230: `Tcl_WideInt' undeclared, X-SW-Source: 2003-q2/txt/msg00023.txt.bz2 List-Id: >Number: 230 >Category: insight >Synopsis: `Tcl_WideInt' undeclared, >Confidential: no >Severity: critical >Priority: high >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jun 17 18:03:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Craig Carey >Release: CVS version of 17 June 2003, 16:00 GMT >Organization: >Environment: >Description: The build program did not find or did not get on with, the cygwin tcl.h in /usr/include (a Windows 2000 Ntfs directory). That Cygwin tcl.h file has this in it: ----------------------------------------------- 16 * RCS: @(#) $Id: tcl.h,v 1.147 2002/10/21 04:35:50 das Exp $ ... 64 #define TCL_VERSION "8.4" 65 #define TCL_PATCH_LEVEL "8.4.1" ----------------------------------------------- The Cygwin Gcc version (that Gcc was on the path): $ gcc --version gcc (GCC) 3.2 20020927 (prerelease) Note that compiled failed when * The very latest MinGW was used * when Cygwin gettext-devel was not installed * when the g++ in GCC 3.2 was missin. * the older CVS files overwrote, and a Makefile was not edited to remove this error: "cd: can't cd to iwidgets3.0.0/unix". The build died when descending into the empty 'unix' directory. The following crash during the build occurred in the two cases: CVS overwrote that latest files with older files, and when CVS did not.), and all the files were freshly CVS-ed. This error below is the first one both showed in both runs. The options for configure & makefile were: cd src ./configure --prefix=/usr/local/insight .make -I/y/@cvs_insight/src/tcl/generic -I/y/@cvs_insight/src/tk/generic -I/y/@cvs_insight/src/tk/generic -I/y/@cvs_ insight/src/tk/xlib -I/y/@cvs_insight/src/tk/xlib \ ./gdbtk/generic/gdbtk.c \ -DGDBTK_LIBRARY=\"/usr/local/insight/share/insight1.0\" -DSRC_DIR=\"/y/@cvs_insight/src/gdb\" gdbtk/generic/gdbtk.c: In function `TclDebug': gdbtk/generic/gdbtk.c:220: warning: passing arg 2 of `Tcl_Merge' from incompatible pointer type gdbtk/generic/gdbtk.c: In function `gdbtk_init': gdbtk/generic/gdbtk.c:373: warning: passing arg 1 of `Tcl_FindExecutable' discards qualifiers from pointer tar get type gdbtk/generic/gdbtk.c:389: warning: passing arg 3 of `Tcl_SplitPath' from incompatible pointer type gdbtk/generic/gdbtk.c:458: warning: passing arg 3 of `Tcl_SplitPath' from incompatible pointer type gdbtk/generic/gdbtk.c:466: warning: passing arg 2 of `Tcl_JoinPath' from incompatible pointer type gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/insight/share/locale\"" -DHAVE_CONFIG_H -I./../i nclude/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DGDBTK -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -I./.. /libgui/src -I/y/@cvs_insight/src/itcl/itcl/generic \ -I/y/@cvs_insight/src/tcl/generic -I/y/@cvs_insight/src/tk/generic -I/y/@cvs_insight/src/tk/generic -I/y/@cvs _insight/src/tk/xlib -I/y/@cvs_insight/src/tk/xlib \ ./gdbtk/generic/gdbtk-bp.c \ -DGDBTK_LIBRARY=\"/usr/local/insight/share/insight1.0\" gdbtk/generic/gdbtk-bp.c: In function `gdb_find_bp_at_addr': gdbtk/generic/gdbtk-bp.c:207: `Tcl_WideInt' undeclared (first use in this function) gdbtk/generic/gdbtk-bp.c:207: (Each undeclared identifier is reported only once gdbtk/generic/gdbtk-bp.c:207: for each function it appears in.) gdbtk/generic/gdbtk-bp.c:207: parse error before "waddr" gdbtk/generic/gdbtk-bp.c:215: warning: implicit declaration of function `Tcl_GetWideIntFromObj' gdbtk/generic/gdbtk-bp.c:215: `waddr' undeclared (first use in this function) gdbtk/generic/gdbtk-bp.c: In function `gdb_get_breakpoint_info': gdbtk/generic/gdbtk-bp.c:330: warning: passing arg 1 of `Tcl_NewStringObj' discards qualifiers from pointer target type gdbtk/generic/gdbtk-bp.c: In function `gdb_set_bp_addr': gdbtk/generic/gdbtk-bp.c:563: `Tcl_WideInt' undeclared (first use in this function) gdbtk/generic/gdbtk-bp.c:563: parse error before "waddr" gdbtk/generic/gdbtk-bp.c:574: `waddr' undeclared (first use in this function) gdbtk/generic/gdbtk-bp.c: In function `gdb_get_tracepoint_info': gdbtk/generic/gdbtk-bp.c:839: warning: passing arg 1 of `Tcl_NewStringObj' discards qualifiers from pointer target type make[1]: *** [gdbtk-bp.o] Error 1 make[1]: Leaving directory `/y/@cvs_insight/src/gdb' make: *** [all-gdb] Error 2 /y/@cvs_insight/src/ 04:39:46 in $ ./configure --help Usage: configure [options] [host] I saw a mailing list comment saying that it was tested in Linux only or something. GMT 17 June 2003 -------- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: