|
|
Hi, all,
I got 2 errors when I compiling binutils this evening. I google it but did not get the solution. Who can help me?
Here is the error message below:
...
./elf32-target.h:605: warning: (near initialization for 'elf32_bed.want_dynbss')
./elf32-target.h:731: error: 'SEC_ARCH_BIT_0' undeclared here (not in a function)
./elf32-target.h:790: error: 'bfd_elf_discard_group' undeclared here (not in a function)
In file included from ../../binutils-2.16.1/bfd/elf32-i386.c:3383:
./elf32-target.h:523: warning: initialization makes integer from pointer without a cast
./elf32-target.h:530: warning: initialization from incompatible pointer type
./elf32-target.h:536: warning: initialization from incompatible pointer type
...
My system is SuSe 10. The lfs packages I downloaded is version 6.1. But I can not compile binutils-2.15.94.0.2.2. So that I tried to binutils-2.16.1.
My compile command is:
../binutils-2.16.1/configure --prefix=/tools --disable-nls && make && make install && make -C ld clean && make -C ld LIB_PATH=/tools/lib |
|