This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb make error


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
***********************************************





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]