public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* Re: insight/230: `Tcl_WideInt' undeclared, <tcl.h>
@ 2003-06-18 21:03 Craig Carey
0 siblings, 0 replies; 4+ messages in thread
From: Craig Carey @ 2003-06-18 21:03 UTC (permalink / raw)
To: kseitz; +Cc: insight-prs
The following reply was made to PR insight/230; it has been noted by GNATS.
From: Craig Carey <research@ijs.co.nz>
To: insight-gnats@sources.redhat.com,kseitz@sources.redhat.com,
nobody@sources.redhat.com,gilbert buob <gilbert.buob@sciopta.com>
Cc:
Subject: Re: insight/230: `Tcl_WideInt' undeclared, <tcl.h>
Date: Thu, 19 Jun 2003 08:56:55 +1200
My last message was wrongly sent to "insight-prs@sources.redhat.com"
and then it bounced. So it is not on the webpage:
http://sources.redhat.com/cgi-bin/gnatsweb.pl
http://sources.redhat.com/insight/
I intend to not resend the message but I can if asked.
I have no idea why your Insight compiles on Cygwin.
Craig Carey, GMT 18 June 2003.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: insight/230: `Tcl_WideInt' undeclared, <tcl.h>
@ 2003-06-18 9:23 gilbert buob
0 siblings, 0 replies; 4+ messages in thread
From: gilbert buob @ 2003-06-18 9:23 UTC (permalink / raw)
To: kseitz; +Cc: insight-prs
The following reply was made to PR insight/230; it has been noted by GNATS.
From: gilbert buob <gilbert.buob@sciopta.com>
To: kseitz@sources.redhat.com, insight-prs@sources.redhat.com,
nobody@sources.redhat.com, research@ijs.co.nz,
insight-gnats@sources.redhat.com
Cc:
Subject: Re: insight/230: `Tcl_WideInt' undeclared, <tcl.h>
Date: Wed, 18 Jun 2003 11:15:40 +0200
hello
I have the same compile error when building insight. See my original mail, may be it
can help you.
Nowtime I am not able to use latest insight with cygwin , I work with an oldier version
however I made the following trial ( for information )
trial 1:
I modify the source by changing the waddr with long and so on ( I have an older
version of insight wich work and I loock in the code ) compile and link error are ok
and get an executable wich unfortanely crash at startup.
trial 2:
I used "-r gdb_5_2-branch" , so the previous compile errors was ok, but I get a new
one that i fixed so i got an get an executable wich unfortanely crash at startup.
gilbert
************* THIS IS THE MAIL I SENT ON 23-05 *******
hi
I wanted to build insight , host is window2000/cygwin and target is
i386-elf.
I follow the procedure as written on the web
-------> step 1)
First get the sources for the version of Insight you want to use. The
basic CVS command is
cvs -z9 -d:pserver:anoncvs@sources.redhat.com:/cvs/src login
[enter "anoncvs" as the password]
cvs -z9 -d:pserver:anoncvs@sources.redhat.com:/cvs/src co [-r BRANCH]
insight+dejagnu
------> step 2)
cd src/tcl
cvs -q update -r gdb_5_1-2001-07-29-branch
cd ../tk
cvs -q update -r gdb_5_1-2001-07-29-branch
cd ../itcl
cvs -q update -r gdb_5_1-2001-07-29-branch
cd ../libgui/src
cvs -q update -r gdb_5_1-2001-07-29-branch tkGraphCanvas.c tkCanvEdge.c
----> step 3
add the missing files
src/itcl/iwidgets3.0.0/iwidgets.tcl
src/itcl/iwidgets3.0.0/pkgIndex.tcl
---> step 4
configure and build
../src/configure --target=i386-elf
make
ERROR when compiling files gdbtk-bp.c and gdbtk-cmds.c
thanks for help
gilbert
kseitz@sources.redhat.com schrieb:
Synopsis: `Tcl_WideInt' undeclared, <tcl.h>
Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Wed Jun 18 01:20:01 2003
Responsible-Changed-Why:
mine
State-Changed-From-To: open->analyzed
State-Changed-By: kseitz
State-Changed-When: Wed Jun 18 01:20:01 2003
State-Changed-Why:
Let me address the multitude of problems that I see in your bug report.
Build failures:
1. "the very latest mingw was used"
Insight does NOT build with mingw. It is a cygwin application. From what I
understand, Insight can debug MinGW applications, but it CANNOT be built by
mingw.
2. "when Cygwin gettext-devel was not installed"
You simply are missing a piece of the puzzle. You also need a working compiler,
assembler, perl, and a whole lot more. Note that gettext-devel is NOT required by
Insight. It is required by BFD and several other patckages that Insight relies on.
Without any explicit dependency tracking (like an RPM or something), there is little
that I can do other than help users when these kinds of problems occur.
3. "the g++ in gcc 3.2 was missing"
Again, g++ is not required by insight/gdb. There is likely something else in the
repository that requires it, but what that is I cannot even imagine right now...
4."the older CVS files overwrote, and a Makefile was not edited to remove this
error: 'cd: can't cd to iwidgets3.0.0/unix"
I haven't a clue what this is right now. I'm not even sure I understand what you
mean when you mention overwriting files. Are you checking the sources out or did
you download a snapshot? If you checked them out, was it a clean checkout or an
update? If you updated, did you use the cvs option "-P"? Did you use the "-d" option
in the tcl, tk, itcl, gdb directories? Please explain a little more what you did. I have
been building insight on cygwin without incident for several months now (the whole
dejagnu thing excepted).
Insight DEFINITELY works on cygwin. In fact, it is distributed as part of the
cygwin gdb package. (Perhaps you are referring to 5.3, which had stability problems
on cygwin, and that was not Insight, it was Tk.)
Please explain a little more about your environment. I suspect that your mingw
environment is getting in the way...
What does config.cache say the value of "tcl_cv_type_64bit" is? What does
configure say the host is?
http://sources.redhat.c
om/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=230
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: insight/230: `Tcl_WideInt' undeclared, <tcl.h>
@ 2003-06-18 1:20 kseitz
0 siblings, 0 replies; 4+ messages in thread
From: kseitz @ 2003-06-18 1:20 UTC (permalink / raw)
To: insight-prs, kseitz, nobody, research
Synopsis: `Tcl_WideInt' undeclared, <tcl.h>
Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Wed Jun 18 01:20:01 2003
Responsible-Changed-Why:
mine
State-Changed-From-To: open->analyzed
State-Changed-By: kseitz
State-Changed-When: Wed Jun 18 01:20:01 2003
State-Changed-Why:
Let me address the multitude of problems that I see in your bug report.
Build failures:
1. "the very latest mingw was used"
Insight does NOT build with mingw. It is a cygwin application. From what I understand, Insight can debug MinGW applications, but it CANNOT be built by mingw.
2. "when Cygwin gettext-devel was not installed"
You simply are missing a piece of the puzzle. You also need a working compiler, assembler, perl, and a whole lot more. Note that gettext-devel is NOT required by Insight. It is required by BFD and several other patckages that Insight relies on. Without any explicit dependency tracking (like an RPM or something), there is little that I can do other than help users when these kinds of problems occur.
3. "the g++ in gcc 3.2 was missing"
Again, g++ is not required by insight/gdb. There is likely something else in the repository that requires it, but what that is I cannot even imagine right now...
4."the older CVS files overwrote, and a Makefile was not edited to remove this error: 'cd: can't cd to iwidgets3.0.0/unix"
I haven't a clue what this is right now. I'm not even sure I understand what you mean when you mention overwriting files. Are you checking the sources out or did you download a snapshot? If you checked them out, was it a clean checkout or an update? If you updated, did you use the cvs option "-P"? Did you use the "-d" option in the tcl, tk, itcl, gdb directories? Please explain a little more what you did. I have been building insight on cygwin without incident for several months now (the whole dejagnu thing excepted).
Insight DEFINITELY works on cygwin. In fact, it is distributed as part of the cygwin gdb package. (Perhaps you are referring to 5.3, which had stability problems on cygwin, and that was not Insight, it was Tk.)
Please explain a little more about your environment. I suspect that your mingw environment is getting in the way...
What does config.cache say the value of "tcl_cv_type_64bit" is? What does configure say the host is?
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=230
^ permalink raw reply [flat|nested] 4+ messages in thread
* insight/230: `Tcl_WideInt' undeclared, <tcl.h>
@ 2003-06-17 18:03 research
0 siblings, 0 replies; 4+ messages in thread
From: research @ 2003-06-17 18:03 UTC (permalink / raw)
To: insight-gnats; +Cc: research
>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:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-18 21:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-18 21:03 insight/230: `Tcl_WideInt' undeclared, <tcl.h> Craig Carey
-- strict thread matches above, loose matches on Subject: below --
2003-06-18 9:23 gilbert buob
2003-06-18 1:20 kseitz
2003-06-17 18:03 research
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).