public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* include/elf/hppa.h in gdb 4.18
@ 1999-07-01  0:00 joel
  1999-07-01  0:00 ` Jeffrey A Law
  1999-07-01  0:00 ` joel
  0 siblings, 2 replies; 6+ messages in thread
From: joel @ 1999-07-01  0:00 UTC (permalink / raw)
  To: binutils

Target: hppa1.1-rtems (a.k.a hppa*-*-*elf* | hppa*-*-lites* |
                             hppa*-*-sysv4* )

Since this is a bfd compilation problem for the version in gdb 4.18, I
thought I would report this here first for a hint.  

gcc -DHAVE_CONFIG_H -I. -I../../gdb-4.18/bfd -I. -D_GNU_SOURCE -I.
-I../../gdb-4.18/bfd -I../../gdb-4.18/bfd/../include -I../../gdb-4.18/bfd/../intl
-I../intl -O2 -g -c ../../gdb-4.18/bfd/elf32-hppa.c
In file included from ../../gdb-4.18/bfd/elf32-hppa.h:36,
                 from ../../gdb-4.18/bfd/elf32-hppa.c:199:
../../gdb-4.18/bfd/../include/elf/hppa.h:184: `elf32_hppa_reloc_type'
redeclared as different kind of symbol
../../gdb-4.18/bfd/../include/elf/hppa.h:100: previous declaration of
`elf32_hppa_reloc_type'

When I look at the file include/elf/hppa.h, I see that around line 184 is
this:

#ifndef RELOC_MACROS_GEN_FUNC
typedef enum elf32_hppa_reloc_type elf32_hppa_reloc_type;
#endif

No other elf/*.h file has anything like this.  Is the problem solution to
remove these three lines?

--joel
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


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

end of thread, other threads:[~1999-07-01  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-01  0:00 include/elf/hppa.h in gdb 4.18 joel
1999-07-01  0:00 ` Jeffrey A Law
1999-07-01  0:00   ` joel
1999-07-01  0:00     ` Jeffrey A Law
1999-07-01  0:00       ` joel
1999-07-01  0:00 ` joel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).