This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Problems building binutils-000220 snapshot
- To: binutils at sourceware dot cygnus dot com
- Subject: Problems building binutils-000220 snapshot
- From: greyham at research dot canon dot com dot au (Graham Stoney)
- Date: Mon, 21 Feb 2000 11:50:52 +1100 (EST)
Hi folks,
I'm having trouble building the latest binutils snapshot (000220) on x86
Red Hat Linux 6.1, with gcc-2.95.2. I've got it configured like:
% ../../binutils-000220/configure --enable-shared --enable-targets=all
The build fails on elf32-hppa.c, with:
gcc -DHAVE_CONFIG_H -I. -I../../../binutils-000220/bfd -I. -D_GNU_SOURCE -DTRAD_
CORE -I. -I../../../binutils-000220/bfd -I../../../binutils-000220/bfd/../includ
e -I../../../binutils-000220/bfd/../intl -I../intl -g -O2 -W -Wall -c -fPIC -DP
IC ../../../binutils-000220/bfd/elf32-hppa.c -o .libs/elf32-hppa.lo
In file included from ../../../binutils-000220/bfd/elf32-hppa.c:35:
../../../binutils-000220/bfd/elf-hppa.h:54: warning: `struct elf64_hppa_dyn_hash
_entry' declared inside parameter list
../../../binutils-000220/bfd/elf-hppa.h:54: warning: its scope is only this defi
nition or declaration, which is probably not what you want.
../../../binutils-000220/bfd/elf-hppa.h:79: warning: missing initializer
../../../binutils-000220/bfd/elf-hppa.h:79: warning: (near initialization for `e
lf_hppa_howto_table[0].partial_inplace')
... (more warning messages deleted)
../../../binutils-000220/bfd/elf-hppa.h: In function `_bfd_elf32_hppa_gen_reloc_
type':
... (more warning messages deleted)
../../../binutils-000220/bfd/elf-hppa.h:837: warning: suggest parentheses around
comparison in operand of &
../../../binutils-000220/bfd/elf-hppa.h:838: dereferencing pointer to incomplete
type
Sure enough, elf-hppa.h:838 refers to the struct elf64_hppa_link_hash_table,
which isn't defined anywhere. Also, the warning about line 837 (and other
similar lines) look like bugs to me.
Any suggestions?
Thanks,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909 Fax: +61 2 9805 2929