I am running OpenSUSE linux version 10.0 and I amd trying to build a cross compilation tool set for Mingw32 using binutils 2.16.91.0.2 20050720 and gcc 4.0.2 20050901. Everything configures like it should, but, when I do make it comes up with this error:
gcc -DHAVE_CONFIG_H -I. -I/home/jason.morris/source/binutils-2.16.91-20060119-1/bfd -I. -I. -I/home/jason.morris/source/binutils-2.16.91-20060119-1/bfd -I/home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/../include -I/home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c -o elf.o /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7632: error: syntax error before 'pid_t' cc1: warnings being treated as errors /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7633: warning: function declaration isn't a prototype /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c: In function 'elfcore_grok_nto_status': /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7634: error: 'note' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7634: error: (Each undeclared identifier is reported only once /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7634: error: for each function it appears in.) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7642: error: 'abfd' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7645: error: 'tid' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c: At top level: /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7686: error: syntax error before 'pid_t' /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7688: warning: function declaration isn't a prototype /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c: In function 'elfcore_grok_nto_regs': /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7694: error: 'base' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7694: error: 'tid' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7696: error: 'abfd' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7705: error: 'note' undeclared (first use in this function) /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c: In function 'elfcore_grok_nto_note': /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7728: error: syntax error before 'tid' /home/jason.morris/source/binutils-2.16.91-20060119-1/bfd/elf.c:7735: error: 'tid' undeclared (first use in this function) make[4]: *** [elf.lo] Error 1 Any help is appreciated Jason -- Summary: Bug in pid_t Product: binutils Version: 2.16 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jason dot morris at oilstates dot com CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux GCC host triplet: i686-pc-linux GCC target triplet: i686-pc-mingw32 http://sourceware.org/bugzilla/show_bug.cgi?id=2653 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils