This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

include/elf/hppa.h in gdb 4.18



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



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