Re: Re: Can't build gdb-5.3: redefinition of `struct fpq', `struct fq', and `struct fpu'

[email protected]
Newsgroups gmane.linux.aurora.devel
Message-ID <[email protected]>
On Thu, Feb 27, 2003 at 08:01:08PM +0100, [email protected] wrote:
> On Thu, Feb 27, 2003 at 04:11:21PM +0100, Christian Joensson wrote:
> > On Thu, Feb 27, 2003 at 04:13:07PM +0100, T. Ribbrock wrote:
> > > On Thu, Feb 27, 2003 at 01:40:13PM +0100, Christian Joensson wrote:
> > > > Aurora SPARC Linux 1.0 (Ansel) SS20 dual SuperSparc-(II) sun4m:

well, on the SS20, for target sparc-linux, I can compile
gdb-5.3/gdb/sparc-nat.c if I *remove* the -D_XOPEN_SOURCE=500:

[chj@sparky gdb]$ gcc -c -O2 -m32 -mtune=ultrasparc    -I. -I/home/chj/gdb-5.3/gdb -I/home/chj/gdb-5.3/gdb/config -DLOCALEDIR="\"/usr/local/gcc-binutils/share/locale\"" -DHAVE_CONFIG_H -I/home/chj/gdb-5.3/gdb/../include/opcode -I/home/chj/gdb-5.3/gdb/../readline/.. -I../bfd -I/home/chj/gdb-5.3/gdb/../bfd  -I/home/chj/gdb-5.3/gdb/../include -I../intl -I/home/chj/gdb-5.3/gdb/../intl -D_BSD_SOURCE -D_LARGEFILE64_SOURCE  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  /home/chj/gdb-5.3/gdb/sparc-nat.c
/home/chj/gdb-5.3/gdb/sparc-nat.c: In function `fetch_inferior_registers':
/home/chj/gdb-5.3/gdb/sparc-nat.c:104: warning: implicit declaration of function `memcpy'
[chj@sparky gdb]$ 

What does this -D_XOPEN_SOURCE=500 actually mean...

I will try the Ultra1 now for target sparc-linux and for
sparc64-linux.

Cheers,

/ChJ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.