Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb make error
@ 2002-12-06 11:47 Mike Cleary
  2002-12-06 15:04 ` bemis
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Cleary @ 2002-12-06 11:47 UTC (permalink / raw)
  To: gdb; +Cc: clp

Greetings,
I have found the following make error for gdb on an alpha with the 
alphaev56 configuration.  I found the error with the basic-gcc_2.95.3 
baseline and the toolchain package:

gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
-I/mnt/u9/tool
chain/buildsys/source/toolchain/gdb/config 
-DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/
install/alpha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" 
-DHAVE_CONFIG_H -I/m
nt/u9/toolchain/buildsys/source/toolchain/gdb/../include/opcode 
-I/mnt/u9/toolchain/b
uildsys/source/toolchain/gdb/../readline/ .. -I../bfd 
-I/mnt/u9/toolchain/buildsys/sou
rce/toolchain/gdb/../bfd -DNO_MMALLOC  
-I/mnt/u9/toolchain/buildsys/source/toolchain/
gdb/../include -I../intl 
-I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl -D
_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE  -DMI_OUT=1 
-DGDBTK -DUI_OUT=1
-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
-Wpointer-arith
-Wuninitialized  p-exp.tab.c
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:183: warning: 
`TRUE' redefine
d
../bfd/bfd.h:93: warning: this is the location of the previous definition
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:184: warning: 
`FALSE' redefin
ed
../bfd/bfd.h:92: warning: this is the location of the previous definition
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:144: parse error 
before `1'
make[2]: *** [p-exp.tab.o] Error 1
make[2]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
native/toolchain/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
native/toolchain'
make: *** [bootstrap] Error 2

I was just wondering if anyone can help with this.
Salutations,
-Mike Cleary

-- 
*********************************************
Michael Cleary     Email: mcleary@iol.unh.edu
Linux Consortium     UNH InterOperability Lab
121 Technology Dr., Suite 2, Durham, NH 03824
Phone: 603-862-0401    http://www.iol.unh.edu
        http://linux.iol.unh.edu/
*********************************************



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gdb make error
  2002-12-06 11:47 gdb make error Mike Cleary
@ 2002-12-06 15:04 ` bemis
  0 siblings, 0 replies; 8+ messages in thread
From: bemis @ 2002-12-06 15:04 UTC (permalink / raw)
  To: Mike Cleary; +Cc: gdb, clp

c-exp.tab.c , and p-exp.tab.c have the same union declaration of
yystype, and c-exp.tab.c compiles while p-exp.tab.c says there is a
parse error before c-exp.y line 144 parse error.  I went through all the
struct definitions in the yystype union, and I could not determine a
parse error.  I also could not determine how the symbol struct is
defined when symtab.h is not included in parser-defs.h.
 Is this only happening on alpha???
-matt bemis
On Fri, 2002-12-06 at 14:49, Mike Cleary wrote:
> Greetings,
> I have found the following make error for gdb on an alpha with the 
> alphaev56 configuration.  I found the error with the basic-gcc_2.95.3 
> baseline and the toolchain package:
> 
> gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
> -I/mnt/u9/tool
> chain/buildsys/source/toolchain/gdb/config 
> -DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/
> install/alpha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" 
> -DHAVE_CONFIG_H -I/m
> nt/u9/toolchain/buildsys/source/toolchain/gdb/../include/opcode 
> -I/mnt/u9/toolchain/b
> uildsys/source/toolchain/gdb/../readline/ .. -I../bfd 
> -I/mnt/u9/toolchain/buildsys/sou
> rce/toolchain/gdb/../bfd -DNO_MMALLOC  
> -I/mnt/u9/toolchain/buildsys/source/toolchain/
> gdb/../include -I../intl 
> -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl -D
> _BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE  -DMI_OUT=1 
> -DGDBTK -DUI_OUT=1
> -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
> -Wpointer-arith
> -Wuninitialized  p-exp.tab.c
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:183: warning: 
> `TRUE' redefine
> d
> ../bfd/bfd.h:93: warning: this is the location of the previous definition
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:184: warning: 
> `FALSE' redefin
> ed
> ../bfd/bfd.h:92: warning: this is the location of the previous definition
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:144: parse error 
> before `1'
> make[2]: *** [p-exp.tab.o] Error 1
> make[2]: Leaving directory 
> `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
> native/toolchain/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory 
> `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
> native/toolchain'
> make: *** [bootstrap] Error 2
> 
> I was just wondering if anyone can help with this.
> Salutations,
> -Mike Cleary
> 
> -- 
> *********************************************
> Michael Cleary     Email: mcleary@iol.unh.edu
> Linux Consortium     UNH InterOperability Lab
> 121 Technology Dr., Suite 2, Durham, NH 03824
> Phone: 603-862-0401    http://www.iol.unh.edu
>         http://linux.iol.unh.edu/
> *********************************************
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* gdb make error
@ 2002-12-05 13:44 Mike Cleary
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Cleary @ 2002-12-05 13:44 UTC (permalink / raw)
  To: gdb; +Cc: clp

Greetings,
I have found the following make error for gdb on an alpha with the 
alphaev56 configuration.  I found the error with the basic-gcc_2.95.3 
baseline and the toolchain package:

gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
-I/mnt/u9/tool
chain/buildsys/source/toolchain/gdb/config 
-DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/
install/alpha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" 
-DHAVE_CONFIG_H -I/m
nt/u9/toolchain/buildsys/source/toolchain/gdb/../include/opcode 
-I/mnt/u9/toolchain/b
uildsys/source/toolchain/gdb/../readline/ .. -I../bfd 
-I/mnt/u9/toolchain/buildsys/sou
rce/toolchain/gdb/../bfd -DNO_MMALLOC  
-I/mnt/u9/toolchain/buildsys/source/toolchain/
gdb/../include -I../intl 
-I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl -D
_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE  -DMI_OUT=1 
-DGDBTK -DUI_OUT=1
-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
-Wpointer-arith
-Wuninitialized  p-exp.tab.c
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:183: warning: 
`TRUE' redefine
d
../bfd/bfd.h:93: warning: this is the location of the previous definition
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:184: warning: 
`FALSE' redefin
ed
../bfd/bfd.h:92: warning: this is the location of the previous definition
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:144: parse error 
before `1'
make[2]: *** [p-exp.tab.o] Error 1
make[2]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
native/toolchain/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
native/toolchain'
make: *** [bootstrap] Error 2

I was just wondering if anyone can help with this.
Salutations,
-Mike Cleary

-- 
*********************************************
Michael Cleary     Email: mcleary@iol.unh.edu
Linux Consortium     UNH InterOperability Lab
121 Technology Dr., Suite 2, Durham, NH 03824
Phone: 603-862-0401    http://www.iol.unh.edu
        http://linux.iol.unh.edu/
*********************************************




^ permalink raw reply	[flat|nested] 8+ messages in thread

* gdb make error
@ 2002-12-03  6:22 Mike Cleary
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Cleary @ 2002-12-03  6:22 UTC (permalink / raw)
  To: gdb; +Cc: clp

Greetings,
I have found the following make error for gdb on an alpha with the 
alphaev56 configuration.  I found the error with the basic-gcc_2.95.3 
baseline and the toolchain package:

gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
-I/mnt/u9/tool
chain/buildsys/source/toolchain/gdb/config 
-DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/
install/alpha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" 
-DHAVE_CONFIG_H -I/m
nt/u9/toolchain/buildsys/source/toolchain/gdb/../include/opcode 
-I/mnt/u9/toolchain/b
uildsys/source/toolchain/gdb/../readline/.. -I../bfd 
-I/mnt/u9/toolchain/buildsys/sou
rce/toolchain/gdb/../bfd -DNO_MMALLOC  
-I/mnt/u9/toolchain/buildsys/source/toolchain/
gdb/../include -I../intl 
-I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl -D
_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE  -DMI_OUT=1 
-DGDBTK -DUI_OUT=1
-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
-Wpointer-arith
 -Wuninitialized  p-exp.tab.c
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:183: warning: 
`TRUE' redefine
d
../bfd/bfd.h:93: warning: this is the location of the previous definition
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:184: warning: 
`FALSE' redefin
ed
../bfd/bfd.h:92: warning: this is the location of the previous definition
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:144: parse error 
before `1'
make[2]: *** [p-exp.tab.o] Error 1
make[2]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
native/toolchain/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
native/toolchain'
make: *** [bootstrap] Error 2

I was just wondering if anyone can help with this.
Salutations,
-Mike Cleary

-- 
*********************************************
Michael Cleary     Email: mcleary@iol.unh.edu
Linux Consortium     UNH InterOperability Lab
121 Technology Dr., Suite 2, Durham, NH 03824
Phone: 603-862-0401    http://www.iol.unh.edu
        http://linux.iol.unh.edu/
*********************************************



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gdb make error
  2002-10-08  6:12 Mike Cleary
@ 2002-10-18 15:40 ` Andrew Cagney
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Cagney @ 2002-10-18 15:40 UTC (permalink / raw)
  To: Mike Cleary; +Cc: gdb, clp

> Greetings,
> I have found the following make error for gdb on an alpha with the alphaev56 configuration the basic-gcc_2.95.3 baseline and the toolchain package:

Which exact GDB?  (What is the contents of src/gdb/version.in?)
If you can't build a gdb from 
ftp://sources.redhat.com/pub/gdb/snapshots/branch/ (the 5.3 branch) then 
this is a concern and a bug report would be appreciated 
(http://sources.redhat.com/gdb/bugs) (although a simple patch would be 
appreciated more ;-).

Andrew


> gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb -I/mnt/u9/toolchain
> /buildsys/source/toolchain/gdb/config -DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/install/al
> pha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" -DHAVE_CONFIG_H -I/mnt/u9/toolchain
> /buildsys/source/toolchain/gdb/../include/opcode -I/mnt/u9/toolchain/buildsys/source/toolc
> hain/gdb/../readline/.. -I../bfd -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../bfd -DNO_MMALLOC  -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -I/mn
> t/u9/toolchain/buildsys/source/toolchain/gdb/../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimpl
> icit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitia
> lized  /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: In function `resume':
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:873: parse error before `)'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:881: `resume_ptid' undeclared (fi
> rst use in this function)
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:881: (Each undeclared identifier is reported only once
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:881: for each function it appears
> in.)
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: At top level:
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: warning: type defaults to `i
> nt' in declaration of `discard_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: warning: parameter names (wi
> thout types) in function declaration
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: conflicting types for `disca
> rd_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/defs.h:331: previous declaration of `disca
> rd_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: warning: data definition has
> no type or storage class
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:885: parse error before `}'
> make[2]: *** [infrun.o] Error 1
> make[2]: Leaving directory `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ
> e/toolchain/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ
> e/toolchain'
> make: *** [bootstrap] Error 2
> 
> I was wondering if anyone can help me with this.
> Salutations,
> -Mike
> 
> -- 
> ***********************************************
>  Michael Cleary   Email: mcleary@iol.unh.edu
>     UNH InterOperability Lab  Linux Group
> 121 Technology Dr., Suite 2,   Durham, NH 03824
> Phone: 603-862-0401    http://linux.iol.unh.edu
> ***********************************************
> 
> 
> 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gdb make error
  2002-10-18 12:26 Mike Cleary
@ 2002-10-18 12:34 ` Daniel Jacobowitz
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2002-10-18 12:34 UTC (permalink / raw)
  To: Mike Cleary, cagney; +Cc: gdb, clp

Oops, Andrew missed a couple:

./config/alpha/nm-nbsd.h:#define CANNOT_STEP_BREAKPOINT
./config/alpha/nm-linux.h:#define CANNOT_STEP_BREAKPOINT
./config/alpha/nm-fbsd.h:#define CANNOT_STEP_BREAKPOINT
./config/alpha/nm-osf.h:#define CANNOT_STEP_BREAKPOINT


2002-10-02  Andrew Cagney  <ac131313@redhat.com>

        * infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
        * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
        * gdbarch.h, gdbarch.c: Re-generate.


I've committed the fix:

2002-10-18  Daniel Jacobowitz  <drow@mvista.com>

	* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
	* config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
	* config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
	* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.

Index: config/alpha/nm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-fbsd.h,v
retrieving revision 1.3
diff -u -p -r1.3 nm-fbsd.h
--- config/alpha/nm-fbsd.h	6 Mar 2001 08:21:21 -0000	1.3
+++ config/alpha/nm-fbsd.h	18 Oct 2002 19:31:29 -0000
@@ -32,7 +32,7 @@
 #define ATTACH_DETACH
 
 /* The Alpha does not step over a breakpoint.  */
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
 \f
 
 /* Shared library support.  */
Index: config/alpha/nm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-linux.h,v
retrieving revision 1.11
diff -u -p -r1.11 nm-linux.h
--- config/alpha/nm-linux.h	5 Jun 2002 19:18:15 -0000	1.11
+++ config/alpha/nm-linux.h	18 Oct 2002 19:31:29 -0000
@@ -39,7 +39,7 @@
 
 /* The alpha does not step over a breakpoint, the manpage is lying again.  */
 
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
 
 /* Given a pointer to either a gregset_t or fpregset_t, return a
    pointer to the first register.  */
Index: config/alpha/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-nbsd.h,v
retrieving revision 1.3
diff -u -p -r1.3 nm-nbsd.h
--- config/alpha/nm-nbsd.h	22 May 2002 03:59:53 -0000	1.3
+++ config/alpha/nm-nbsd.h	18 Oct 2002 19:31:29 -0000
@@ -26,6 +26,6 @@
 #include "config/nm-nbsd.h"
 
 /* The Alpha does not step over a breakpoint.  */
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
 
 #endif /* NM_NBSD_H */
Index: config/alpha/nm-osf.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-osf.h,v
retrieving revision 1.5
diff -u -p -r1.5 nm-osf.h
--- config/alpha/nm-osf.h	26 Apr 2002 01:22:41 -0000	1.5
+++ config/alpha/nm-osf.h	18 Oct 2002 19:31:29 -0000
@@ -32,7 +32,7 @@
 
 /* The alpha does not step over a breakpoint, the manpage is lying again.  */
 
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
 
 /* Support for shared libraries.  */
 


On Fri, Oct 18, 2002 at 03:30:32PM -0400, Mike Cleary wrote:
> Greetings,
> I have found the following make error for gdb on an alpha with the 
> alphaev56 configuration the bootstrap-gcc_2.95.3 baseline with the 
> toolchain package, it also occurs with the basic-gcc_2.95.3 in the 
> toolchain package:
> 
> gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
> -I/mnt/u9/toolchain
> /buildsys/source/toolchain/gdb/config 
> -DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/install/al
> pha9/bootstrap-gcc_2.95.3/native/toolchain/share/locale\"" 
> -DHAVE_CONFIG_H -I/mnt/u9/toolc
> hain/buildsys/source/toolchain/gdb/../include/opcode 
> -I/mnt/u9/toolchain/buildsys/source/t
> oolchain/gdb/../readline/.. -I../bfd 
> -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../
> bfd -DNO_MMALLOC  
> -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -
> I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl  -DMI_OUT=1 
> -DGDBTK -DUI_OUT=1 -W
> implicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
> -Wpointer-arith -Wunin
> itialized  /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: In function 
> `resume':
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:866: parse 
> error before `)'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: 
> `resume_ptid' undeclared (fi
> rst use in this function)
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: (Each 
> undeclared identifier
> is reported only once
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: for each 
> function it appears
> in.)
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: At top level:
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning: 
> type defaults to `i
> nt' in declaration of `discard_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning: 
> parameter names (wi
> thout types) in function declaration
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: 
> conflicting types for `disca
> rd_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/defs.h:328: previous 
> declaration of `disca
> rd_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning: 
> data definition has
> no type or storage class
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:878: parse 
> error before `}'
> make[2]: *** [infrun.o] Error 1
> make[2]: Leaving directory 
> `/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_2.95.3/n
> ative/toolchain/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory 
> `/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_2.95.3/n
> ative/toolchain'
> make: *** [bootstrap] Error 2
> 
> I was wondering if anyone can help me with this.
> Salutations,
> -Mike
> 
> -- 
> ***********************************************
>  Michael Cleary   Email: mcleary@iol.unh.edu
>     UNH InterOperability Lab  Linux Group
> 121 Technology Dr., Suite 2,   Durham, NH 03824
> Phone: 603-862-0401    http://linux.iol.unh.edu
> ***********************************************
> 
> 
> 
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 8+ messages in thread

* gdb make error
@ 2002-10-18 12:26 Mike Cleary
  2002-10-18 12:34 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Cleary @ 2002-10-18 12:26 UTC (permalink / raw)
  To: gdb; +Cc: clp

Greetings,
I have found the following make error for gdb on an alpha with the 
alphaev56 configuration the bootstrap-gcc_2.95.3 baseline with the 
toolchain package, it also occurs with the basic-gcc_2.95.3 in the 
toolchain package:

gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
-I/mnt/u9/toolchain
/buildsys/source/toolchain/gdb/config 
-DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/install/al
pha9/bootstrap-gcc_2.95.3/native/toolchain/share/locale\"" 
-DHAVE_CONFIG_H -I/mnt/u9/toolc
hain/buildsys/source/toolchain/gdb/../include/opcode 
-I/mnt/u9/toolchain/buildsys/source/t
oolchain/gdb/../readline/.. -I../bfd 
-I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../
bfd -DNO_MMALLOC  
-I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -
I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl  -DMI_OUT=1 
-DGDBTK -DUI_OUT=1 -W
implicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
-Wpointer-arith -Wunin
itialized  /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: In function 
`resume':
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:866: parse 
error before `)'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: 
`resume_ptid' undeclared (fi
rst use in this function)
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: (Each 
undeclared identifier
is reported only once
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: for each 
function it appears
 in.)
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: At top level:
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning: 
type defaults to `i
nt' in declaration of `discard_cleanups'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning: 
parameter names (wi
thout types) in function declaration
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: 
conflicting types for `disca
rd_cleanups'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/defs.h:328: previous 
declaration of `disca
rd_cleanups'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning: 
data definition has
 no type or storage class
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:878: parse 
error before `}'
make[2]: *** [infrun.o] Error 1
make[2]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_2.95.3/n
ative/toolchain/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory 
`/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_2.95.3/n
ative/toolchain'
make: *** [bootstrap] Error 2

I was wondering if anyone can help me with this.
Salutations,
-Mike

-- 
***********************************************
  Michael Cleary   Email: mcleary@iol.unh.edu
     UNH InterOperability Lab  Linux Group
121 Technology Dr., Suite 2,   Durham, NH 03824
Phone: 603-862-0401    http://linux.iol.unh.edu
***********************************************




^ permalink raw reply	[flat|nested] 8+ messages in thread

* gdb make error
@ 2002-10-08  6:12 Mike Cleary
  2002-10-18 15:40 ` Andrew Cagney
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Cleary @ 2002-10-08  6:12 UTC (permalink / raw)
  To: gdb, clp

Greetings,
I have found the following make error for gdb on an alpha with the 
alphaev56 configuration the basic-gcc_2.95.3 baseline and the toolchain 
package:

gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb -I/mnt/u9/toolchain
/buildsys/source/toolchain/gdb/config -DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/install/al
pha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" -DHAVE_CONFIG_H -I/mnt/u9/toolchain
/buildsys/source/toolchain/gdb/../include/opcode -I/mnt/u9/toolchain/buildsys/source/toolc
hain/gdb/../readline/.. -I../bfd -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../bfd 
-DNO_MMALLOC  -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -I/mn
t/u9/toolchain/buildsys/source/toolchain/gdb/../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimpl
icit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitia
lized  /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: In function `resume':
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:873: parse error before `)'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:881: `resume_ptid' undeclared (fi
rst use in this function)
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:881: (Each undeclared identifier 
is reported only once
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:881: for each function it appears
 in.)
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: At top level:
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: warning: type defaults to `i
nt' in declaration of `discard_cleanups'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: warning: parameter names (wi
thout types) in function declaration
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: conflicting types for `disca
rd_cleanups'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/defs.h:331: previous declaration of `disca
rd_cleanups'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:884: warning: data definition has
 no type or storage class
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:885: parse error before `}'
make[2]: *** [infrun.o] Error 1
make[2]: Leaving directory `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ
e/toolchain/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ
e/toolchain'
make: *** [bootstrap] Error 2

I was wondering if anyone can help me with this.
Salutations,
-Mike

-- 
***********************************************
  Michael Cleary   Email: mcleary@iol.unh.edu
     UNH InterOperability Lab  Linux Group
121 Technology Dr., Suite 2,   Durham, NH 03824
Phone: 603-862-0401    http://linux.iol.unh.edu
***********************************************



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-12-06 23:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-06 11:47 gdb make error Mike Cleary
2002-12-06 15:04 ` bemis
  -- strict thread matches above, loose matches on Subject: below --
2002-12-05 13:44 Mike Cleary
2002-12-03  6:22 Mike Cleary
2002-10-18 12:26 Mike Cleary
2002-10-18 12:34 ` Daniel Jacobowitz
2002-10-08  6:12 Mike Cleary
2002-10-18 15:40 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox