From mboxrd@z Thu Jan 1 00:00:00 1970 From: To: binutils@sourceware.cygnus.com Subject: include/elf/hppa.h in gdb 4.18 Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: X-SW-Source: 1999-q2/msg00312.html 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