This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Build failure: Where is 'struct cmd_list_element' defined?
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: insight at sources dot redhat dot com
- Date: Mon, 25 Mar 2002 17:29:58 -0500
- Subject: Re: Build failure: Where is 'struct cmd_list_element' defined?
- References: <20020325171739.A29723@disaster.basement.lan>
Phil Edwards writes:
> I just updated to current CVS and am now seeing the following:
Yeah, I just noticed this myself. Try this.
Elena
Index: gdbtk-hooks.c
===================================================================
RCS file: /cvs/uberbaum/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.22
diff -u -r1.22 gdbtk-hooks.c
--- gdbtk-hooks.c 2002/03/25 16:45:35 1.22
+++ gdbtk-hooks.c 2002/03/25 19:10:42
@@ -31,6 +31,7 @@
#include "gdb-events.h"
#include "top.h"
#include "annotate.h"
+#include "cli/cli-decode.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
>
>
> gcc -c -g -O2 -I. -I/home/pme/src/unified/gdb -I/home/pme/src/unified/gdb/config -DHAVE_CONFIG_H -I/home/pme/src/unified/gdb/../include/opcode -I/home/pme/src/unified/gdb/../readline/.. -I../bfd -I/home/pme/src/unified/gdb/../bfd -I/home/pme/src/unified/gdb/../include -I../intl -I/home/pme/src/unified/gdb/../intl -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -I/home/pme/src/unified/gdb/../libgui/src -I/home/pme/src/unified/itcl/itcl/generic -I/home/pme/src/unified/tix/generic \
> -I/home/pme/src/unified/tcl/generic -I/home/pme/src/unified/tk/generic -I/home/pme/src/unified/tk/generic -I/usr/X11R6/include -fwritable-strings\
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"/home/pme/build/install-2002-03-25/share/insight1.0\"
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c: In function `gdbtk_call_command':
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:521: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:521: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:527: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:533: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c: In function `gdbtk_set_hook':
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:552: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:567: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:570: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:576: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:577: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:582: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:587: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:592: dereferencing pointer to incomplete type
> /home/pme/src/unified/gdb/gdbtk/generic/gdbtk-hooks.c:544: warning: `p' might be used uninitialized in this function
> gmake[1]: *** [gdbtk-hooks.o] Error 1
>
>
> Help, anyone?
>
> --
> If ye love wealth greater than liberty, the tranquility of servitude greater
> than the animating contest for freedom, go home and leave us in peace. We seek
> not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
> and may posterity forget that ye were our countrymen. - Samuel Adams