This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Compilation Problem
- From: Jason Morris <jhmorris3486 at yahoo dot com>
- To: binutils at sourceware dot org
- Date: Sun, 4 Jun 2006 07:42:03 -0700 (PDT)
- Subject: Compilation Problem
Hi All,
I've tried to compile and install both released and
snapshot versions of binutils on MinGW and OpenSUSE
10, but I keep getting the following error(s):
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../binutils-060604/bfd -I. -DTRAD_CORE -I.
-I../../binutils-060604/bfd
-I../../binutils-060604/bfd/../include -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g
-O2 -c -o elf.lo ../../binutils-060604/bfd/elf.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils-060604/bfd
-I. -DTRAD_CORE -I. -I../../binutils-060604/bfd
-I../../binutils-060604/bfd/../include -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g
-O2 -c ../../binutils-060604/bfd/elf.c -o elf.o
../../binutils-060604/bfd/elf.c:7938: error: syntax
error before 'pid_t'
cc1: warnings being treated as errors
../../binutils-060604/bfd/elf.c:7939: warning:
function declaration isn't a prototype
../../binutils-060604/bfd/elf.c: In function
'elfcore_grok_nto_status':
../../binutils-060604/bfd/elf.c:7940: error: 'note'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c:7940: error: (Each
undeclared identifier is reported only once
../../binutils-060604/bfd/elf.c:7940: error: for each
function it appears in.)
../../binutils-060604/bfd/elf.c:7948: error: 'abfd'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c:7951: error: 'tid'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c: At top level:
../../binutils-060604/bfd/elf.c:7991: error: syntax
error before 'pid_t'
../../binutils-060604/bfd/elf.c:7993: warning:
function declaration isn't a prototype
../../binutils-060604/bfd/elf.c: In function
'elfcore_grok_nto_regs':
../../binutils-060604/bfd/elf.c:7999: error: 'base'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c:7999: error: 'tid'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c:8001: error: 'abfd'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c:8010: error: 'note'
undeclared (first use in this function)
../../binutils-060604/bfd/elf.c: In function
'elfcore_grok_nto_note':
../../binutils-060604/bfd/elf.c:8032: error: syntax
error before 'tid'
../../binutils-060604/bfd/elf.c:8039: error: 'tid'
undeclared (first use in this function)
make[4]: *** [elf.lo] Error 1
make[4]: Leaving directory
`/mnt/LFS/sources/binutils-build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/LFS/sources/binutils-build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/mnt/LFS/sources/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory
`/mnt/LFS/sources/binutils-build'
make: *** [all] Error 2
Any help is appreciated.
Jason
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com