binutils 2.13.1 issue

pb.jack pb.jack@powerbase.com.tw
Sun Jul 4 16:34:00 GMT 2004


Hi,
I'm newbie of the Linux and relate tools, I install Cygwin 2.05b on
win2k then download/install binutils 2.13.1 by follow the instructions
of http://ecos.sourceware.org/build-toolchain.html to build this tool
for arm-elf, the configuration is successful, but I get the following
message when I try to build and install it, can somebody help me?

Thanks
Jack, Taiwan

elf32-target.h:502: `bfd_elf32_bfd_link_hash_table_free' undeclared here
(not in a function)
elf32-target.h:502: initializer element is not constant
elf32-target.h:502: (near initialization for
`bfd_elf32_bigarm_vec._bfd_link_hash_table_free')
elf32-target.h:502: `bfd_elf32_bfd_link_just_syms' undeclared here (not
in a function)
elf32-target.h:502: initializer element is not constant
elf32-target.h:502: (near initialization for
`bfd_elf32_bigarm_vec._bfd_link_just_syms')
elf32-target.h:502: `bfd_elf32_bfd_merge_sections' undeclared here (not
in a function)
elf32-target.h:502: initializer element is not constant
elf32-target.h:502: (near initialization for
`bfd_elf32_bigarm_vec._bfd_merge_sections')
elf32-target.h:502: `bfd_elf32_bfd_discard_group' undeclared here (not
in a function)
elf32-target.h:502: initializer element is not constant
elf32-target.h:502: (near initialization for
`bfd_elf32_bigarm_vec._bfd_discard_group')
elf32-target.h:597: `bfd_elf32_bfd_link_hash_table_free' undeclared here
(not in a function)
elf32-target.h:597: initializer element is not constant
elf32-target.h:597: (near initialization for
`bfd_elf32_littlearm_vec._bfd_link_hash_table_free')
elf32-target.h:597: `bfd_elf32_bfd_link_just_syms' undeclared here (not
in a function)
elf32-target.h:597: initializer element is not constant
elf32-target.h:597: (near initialization for
`bfd_elf32_littlearm_vec._bfd_link_just_syms')
elf32-target.h:597: `bfd_elf32_bfd_merge_sections' undeclared here (not
in a function)
elf32-target.h:597: initializer element is not constant
elf32-target.h:597: (near initialization for
`bfd_elf32_littlearm_vec._bfd_merge_sections')
elf32-target.h:597: `bfd_elf32_bfd_discard_group' undeclared here (not
in a function)
elf32-target.h:597: initializer element is not constant
elf32-target.h:597: (near initialization for
`bfd_elf32_littlearm_vec._bfd_discard_group')
/src/binutils-2.13.1/bfd/elfarm-nabi.c:687: warning:
`elf32_arm_nabi_grok_prstatus' defined but not used
/src/binutils-2.13.1/bfd/elfarm-nabi.c:719: warning:
`elf32_arm_nabi_grok_psinfo' defined but not used
/src/binutils-2.13.1/bfd/elf32-arm.h:3601: warning:
`elf32_arm_reloc_type_class' defined but not used
make[3]: *** [elfarm-nabi.lo] Error 1
make[3]: Leaving directory `/tmp/build/binutils/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/build/binutils/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/build/binutils/bfd'
make: *** [all-bfd] Error 2



More information about the Binutils mailing list