This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Build failure on Linux/i686
- To: gdb at sourceware dot cygnus dot com
- Subject: Build failure on Linux/i686
- From: Andreas Jaeger <aj at suse dot de>
- Date: 10 Feb 2000 19:31:56 +0100
On Linux I get the following error messages with the current CVS
version [1]:
/opt/gcc-2.95/bin/gcc -c -g -O2 -W -Wall -I. -I/cvs/binutils-gdb-ln/gdb -I/cvs/binutils-gdb-ln/gdb/config -DHAVE_CONFIG_H -I/cvs/binutils-gdb-ln/gdb/../include/opcode -I/cvs/binutils-gdb-ln/gdb/../readline/.. -I../bfd -I/cvs/binutils-gdb-ln/gdb/../bfd -I/cvs/binutils-gdb-ln/gdb/../include -I../intl -I/cvs/binutils-gdb-ln/gdb/../intl -I/cvs/binutils-gdb-ln/gdb/tui /cvs/binutils-gdb-ln/gdb/lin-thread.c
In file included from /cvs/binutils-gdb-ln/gdb/lin-thread.c:116:
/cvs/binutils-gdb-ln/gdb/gdb_proc_service.h:15: conflicting types for `lwpid_t'
/usr/include/sys/procfs.h:109: previous declaration of `lwpid_t'
/cvs/binutils-gdb-ln/gdb/gdb_proc_service.h:17: conflicting types for `psaddr_t'
/usr/include/sys/procfs.h:101: previous declaration of `psaddr_t'
/cvs/binutils-gdb-ln/gdb/gdb_proc_service.h:20: warning: redefinition of `prgregset_t'
/usr/include/sys/procfs.h:104: warning: `prgregset_t' previously declared here
/cvs/binutils-gdb-ln/gdb/gdb_proc_service.h:21: warning: redefinition of `prfpregset_t'
/usr/include/sys/procfs.h:105: warning: `prfpregset_t' previously declared here
[lots of warnings omitted]
I'm running glibc 2.1.3pre3 on Linux 2.3.42 on an i686.
Andreas
Footnotes:
[1] I've applied Mark's patch to gdb/i386-linux-nat.c, otherwise I
wouldn't have come to this failure.
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de