alfs-compile binutils-2.15 error ? help

cong yan congyingyan at gmail.com
Mon Dec 27 15:10:34 PST 2004


i get compile error while compile binutils..
any ideas ??

thanks

-bash-3.00# tail nalfs.log -n 100
-: make[2]: Entering directory `/mnt/lfs/tools/build/binutils-build/bfd'
-: Making all in doc
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/bfd/doc'
-: make[3]: Nothing to be done for `all'.
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/bfd/doc'
-: Making all in po
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/bfd/po'
-: make[3]: Nothing to be done for `all'.
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/bfd/po'
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/bfd'
-: rm -f bfd-tmp.h
-: cp bfd-in3.h bfd-tmp.h
-: /bin/sh ../../binutils-2.15.91.0.2/bfd/../move-if-change bfd-tmp.h bfd.h
-: bfd.h is unchanged
-: rm -f bfd-tmp.h
-: touch stmp-bfd-h
-: /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../binutils-2.15.91.0.2/bfd -I. -D_GNU_SOURCE   -DTRAD_CORE   -I.
-I../../binutils-2.15.91.0.2/bfd
-I../../binutils-2.15.91.0.2/bfd/../include 
-I../../binutils-2.15.91.0.2/bfd/../intl -I../intl   -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2  -c
-DDEFAULT_VECTOR=bfd_elf32_i386_vec
-DSELECT_VECS='&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec'
-DSELECT_ARCHITECTURES='&bfd_i386_arch' -DHAVE_bfd_elf32_i386_vec
-DHAVE_i386linux_vec -DHAVE_bfd_efi_app_ia32_vec
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
../../binutils-2.15.91.0.2/bfd/archures.c
-: gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.91.0.2/bfd -I.
-D_GNU_SOURCE -DTRAD_CORE -I. -I../../binutils-2.15.91.0.2/bfd
-I../../binutils-2.15.91.0.2/bfd/../include
-I../../binutils-2.15.91.0.2/bfd/../intl -I../intl -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c
-DDEFAULT_VECTOR=bfd_elf32_i386_vec
"-DSELECT_VECS=&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec"
"-DSELECT_ARCHITECTURES=&bfd_i386_arch" -DHAVE_bfd_elf32_i386_vec
-DHAVE_i386linux_vec -DHAVE_bfd_efi_app_ia32_vec
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
../../binutils-2.15.91.0.2/bfd/archures.c -o archures.o
-: /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../binutils-2.15.91.0.2/bfd -I. -D_GNU_SOURCE   -DTRAD_CORE   -I.
-I../../binutils-2.15.91.0.2/bfd
-I../../binutils-2.15.91.0.2/bfd/../include 
-I../../binutils-2.15.91.0.2/bfd/../intl -I../intl   -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2  -c
-DDEFAULT_VECTOR=bfd_elf32_i386_vec
-DSELECT_VECS='&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec'
-DSELECT_ARCHITECTURES='&bfd_i386_arch' -DHAVE_bfd_elf32_i386_vec
-DHAVE_i386linux_vec -DHAVE_bfd_efi_app_ia32_vec
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
../../binutils-2.15.91.0.2/bfd/targets.c
-: gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.91.0.2/bfd -I.
-D_GNU_SOURCE -DTRAD_CORE -I. -I../../binutils-2.15.91.0.2/bfd
-I../../binutils-2.15.91.0.2/bfd/../include
-I../../binutils-2.15.91.0.2/bfd/../intl -I../intl -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c
-DDEFAULT_VECTOR=bfd_elf32_i386_vec
"-DSELECT_VECS=&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec"
"-DSELECT_ARCHITECTURES=&bfd_i386_arch" -DHAVE_bfd_elf32_i386_vec
-DHAVE_i386linux_vec -DHAVE_bfd_efi_app_ia32_vec
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
../../binutils-2.15.91.0.2/bfd/targets.c -o targets.o
-: rm -f tofiles
-: f=""; \
-: for i in elf32-i386.lo elf32.lo elf.lo elflink.lo elf-strtab.lo
elf-eh-frame.lo dwarf1.lo i386linux.lo aout32.lo efi-app-ia32.lo
peigen.lo cofflink.lo elf32-gen.lo cpu-i386.lo trad-core.lo ; do \
-:   case " $f " in \
-:     *" $i "*) ;; \
-:     *) f="$f $i" ;; \
-:   esac ; \
-: done ; \
-: echo $f > tofiles
-: /bin/sh ../../binutils-2.15.91.0.2/bfd/../move-if-change tofiles ofiles
-: ofiles is unchanged
-: touch stamp-ofiles
-: /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2  -all-static -o libbfd.la -rpath
/tools/lib -release 2.15.91.0.2  archive.lo archures.lo bfd.lo
bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo
libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo
linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo
merge.lo dwarf2.lo simple.lo archive64.lo `cat ofiles`
-: rm -fr  .libs/libbfd.a .libs/libbfd.la .libs/libbfd.lai
-: ar cru .libs/libbfd.a  archive.o archures.o bfd.o bfdio.o bfdwin.o
cache.o coffgen.o corefile.o format.o init.o libbfd.o opncls.o reloc.o
section.o syms.o targets.o hash.o linker.o srec.o binary.o tekhex.o
ihex.o stabs.o stab-syms.o merge.o dwarf2.o simple.o archive64.o
elf32-i386.o elf32.o elf.o elflink.o elf-strtab.o elf-eh-frame.o
dwarf1.o i386linux.o aout32.o efi-app-ia32.o peigen.o cofflink.o
elf32-gen.o cpu-i386.o trad-core.o
-: ranlib .libs/libbfd.a
-: creating libbfd.la
-: (cd .libs && rm -f libbfd.la && ln -s ../libbfd.la libbfd.la)
-: libtooldir=`/bin/sh ./libtool --config | sed -n -e 's/^objdir=//p'`; \
-: if [ -f $libtooldir/libbfd.a ]; then \
-:   cp $libtooldir/libbfd.a libbfd.tmp; \
-:   ranlib libbfd.tmp; \
-:   /bin/sh ../../binutils-2.15.91.0.2/bfd/../move-if-change
libbfd.tmp libbfd.a; \
-: else true; fi
-: touch stamp-lib
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/bfd'
-: make[2]: Leaving directory `/mnt/lfs/tools/build/binutils-build/bfd'
-: make[1]: Leaving directory `/mnt/lfs/tools/build/binutils-build/bfd'
-: make[1]: Entering directory `/mnt/lfs/tools/build/binutils-build/opcodes'
-: make  all-recursive
-: make[2]: Entering directory `/mnt/lfs/tools/build/binutils-build/opcodes'
-: Making all in po
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/opcodes/po'
-: make[3]: Nothing to be done for `all'.
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/opcodes/po'
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/opcodes'
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/opcodes'
-: make[2]: Leaving directory `/mnt/lfs/tools/build/binutils-build/opcodes'
-: make[1]: Leaving directory `/mnt/lfs/tools/build/binutils-build/opcodes'
-: make[1]: Entering directory `/mnt/lfs/tools/build/binutils-build/binutils'
-: make  all-recursive
-: make[2]: Entering directory `/mnt/lfs/tools/build/binutils-build/binutils'
-: Making all in doc
-: make[3]: Entering directory
`/mnt/lfs/tools/build/binutils-build/binutils/doc'
-: if test -f cxxfilt.man; then \
-:   man=cxxfilt.man; \
-: else \
-:   man=../../../binutils-2.15.91.0.2/binutils/doc/cxxfilt.man; \
-: fi; \
-: sed -e 's/@PROGRAM@/c++filt/' \
-:     -e 's/cxxfilt/c++filt/' < $man \
-:      > c++filt.1
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/binutils/doc'
-: Making all in po
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/binutils/po'
-: make[3]: Nothing to be done for `all'.
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/binutils/po'
-: make[3]: Entering directory `/mnt/lfs/tools/build/binutils-build/binutils'
-: /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2  -all-static -o size  size.o bucomm.o
version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a  -ldl
-: mkdir .libs
-: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-static -o size size.o bucomm.o version.o filemode.o 
../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl
-: bucomm.o(.text+0x976): In function `make_tempname':
-: ../../binutils-2.15.91.0.2/binutils/bucomm.c:425: warning: the use
of `mktemp' is dangerous, better use `mkstemp'
-: /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2  -all-static -o objdump  objdump.o
budemang.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o
version.o filemode.o ../opcodes/libopcodes.la ../bfd/libbfd.la
../libiberty/libiberty.a  -ldl
-: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-static -o objdump objdump.o budemang.o prdbg.o rddbg.o debug.o
stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o 
../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a
../libiberty/libiberty.a -ldl
-: bucomm.o(.text+0x976): In function `make_tempname':
-: ../../binutils-2.15.91.0.2/binutils/bucomm.c:425: warning: the use
of `mktemp' is dangerous, better use `mkstemp'
-: /bin/sh ../../binutils-2.15.91.0.2/binutils/../ylwrap "bison -y"
../../binutils-2.15.91.0.2/binutils/arparse.y y.tab.c arparse.c
y.tab.h arparse.h --  -d
-: ../../binutils-2.15.91.0.2/binutils/../ylwrap: line 86:  9744
Broken pipe             $prog ${1+"$@"} "$input"
-: make[3]: *** [arparse.c] Error 1
-: make[3]: Leaving directory `/mnt/lfs/tools/build/binutils-build/binutils'
-: make[2]: *** [all-recursive] Error 1
-: make[2]: Leaving directory `/mnt/lfs/tools/build/binutils-build/binutils'
-: make[1]: *** [all-recursive-am] Error 2
-: make[1]: Leaving directory `/mnt/lfs/tools/build/binutils-build/binutils'
-: make: *** [all-binutils] Error 2
I: Log file stored in:
I: /root/.nALFS/packages/binutils-pass1-2.15.91.0.2.xml
E: Execution failed (2).
I: Total time executing: 00:03:14-bash-3.00#



More information about the alfs-discuss mailing list