public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
From: research@ijs.co.nz
To: insight-gnats@sources.redhat.com
Cc: research@ijs.co.nz
Subject: insight/230: `Tcl_WideInt' undeclared, <tcl.h>
Date: Tue, 17 Jun 2003 18:03:00 -0000	[thread overview]
Message-ID: <20030617175548.1669.qmail@sources.redhat.com> (raw)


>Number:         230
>Category:       insight
>Synopsis:       `Tcl_WideInt' undeclared, <tcl.h>
>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:


             reply	other threads:[~2003-06-17 18:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 18:03 research [this message]
2003-06-18  1:20 kseitz
2003-06-18  9:23 gilbert buob
2003-06-18 21:03 Craig Carey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030617175548.1669.qmail@sources.redhat.com \
    --to=research@ijs.co.nz \
    --cc=insight-gnats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).