Error 1 Binutils Clfs
Other format: [Raw text] error at compiling the "make" command for binutils' compilation From: SELMA GÜZEL
I've printed the output here: > > $ make > make[1]: Entering directory `/home/clfs/binutils-build' > Configuring in ./bfd > configure: loading cache ./config.cache > checking build system type... x86_64-cross-linux-gnu > checking host system type... x86_64-cross-linux-gnu > checking target system type... Invalid configuration > `{i586-pc-linux-gnu}': machine `{i586-pc' not recognized
> configure: error: /bin/sh ../../binutils-2.17/bfd/../config.sub
> {i586-pc-linux-gnu} failed > make[1]: *** [configure-bfd] Error 1 > make[1]: https://sourceware.org/ml/crossgcc/2008-05/msg00069.html Leaving directory `/home/clfs/binutils-build' > make: *** [all] Error 2 > > I'm trying to build for a 586 system using a x86_64 host. Here is my > .bashrc file > > $ cat ../.bashrc > set +h > umask 022 > CLFS=/mnt/clfs > LC_ALL=POSIX > PATH=/cross-tools/bin:/bin:/usr/bin > export CLFS http://osdir.com/ml/linux.lfs.clfs.support/2007-07/msg00011.html LC_ALL PATH > unset CFLAGS > unset CXXFLAGS > export CLFS_HOST="x86_64-cross-linux-gnu" > export CLFS_TARGET="{i586-pc-linux-gnu}" try this: export CLFS_TARGET="i586-pc-linux-gnu" > > I have not modified the binutils-2.17 folder outside of what is > outlined in the book. Can somebody point out what I might be doing > wrong here, or whether something might have changed in this package > since this section was written? > > db > _______________________________________________ > Clfs-support mailing list > Clfs-support@xxxxxxxxxxxxxxxxxxx > http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support > Thread at a glance: Previous Message by Date: binutils compile error In section "5.5.1. Installation of Cross Binutils" I'm gettting an error with the "make" command. I've printed the output here: $ make make[1]: Entering directory `/home/clfs/binutils-build' Configuring in ./bfd configure: loading cache ./config.cache checking build system type... x86_64-cross-linux-gnu checking host system type... x86_64-cross-linux-gnu checking target system type... Invalid configuration `{i586-pc-linux-gnu}': machine `{i586-pc' not recognized configure: error: /bin/sh ../../binutils-2.17/bfd/../config.sub {i586-pc-linux-g
on is a 2500+ AMD http://osdir.com/ml/linux.lfs.clfs.support/2007-09/msg00049.html running suse 10.2. (I did a clean install http://clfs-support.cross-lfs.narkive.com/wFIeipzy/cross-compile-binutils-build-errors of suse before starting the operation) I used the clfs book: CLFS-SVN-SVN-2007-09-13 The first part went well, finished the cross-compile tools without errors, but when I started Chapter 6.3 (binutils-2.18) I got error 1 the following error: make[4]: Entering directory `/mnt/clfs/sources/binutils-build/bfd' /bin/sh ./libtool --tag=CC --mode=link powerpc-unknown-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o libbfd.la -rpath /tools/lib -release `cat libtool-soversion` 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 error 1 binutils 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 `cat ofiles` -L../libiberty/pic -liberty libtool: link: rm -fr .libs/libbfd-2.18.so .libs/libbfd.so libtool: link: powerpc-unknown-linux-gnu-gcc -shared .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/elf32-ppc.o .libs/elf-vxworks.o .libs/elf32.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/coff-rs6000.o .libs/xcofflink.o .libs/ppcboot.o .libs/elf32-gen.o .libs/cpu-rs6000.o .libs/cpu-powerpc.o -L/mnt/clfs/sources/binutils-build/libiberty/pic -liberty -Wl,-soname -Wl,libbfd-2.18.so -o .libs/libbfd-2.18.so libtool: link: (cd ".libs" && rm -f "libbfd.so" && ln -s "libbfd-2.18.so" "libbfd.so") libtool: link: powerpc-unknown-linux-gnu-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 elf32-ppc.o elf-vxworks
far.I'm using ubuntu 8.10 64-bit ed. as my host systemworking off of CLFS 1.1.0I have a intel core 2 duo 8300 (Wolfdale) processorhere are the contents of my ~/.bashrc:set +humask 022CLFS=/mnt/clfsLC_ALL=POSIXPATH=/cross-tools/bin:/bin:/usr/binexport CLFS LC_ALL PATHunset CFLAGSunset CXXFLAGSexport BUILD64="-m64"alias 'ls=ls -l'export CLFS_HOST="x86_64-cross-linux-gnu"export CLFS_TARGET="x86_64-unknown-linux-gnu"I followed all of the instructions to the letter with no odd results up to section 5 where I compile binutils 2.18 . The patches seemed to apply correctly, as did the compilation (which I copy-pasted from the book), and the make configure-host. However, when it came time to make, I got the following error:config.status: creating po/Makefile.inconfig.status: executing depfiles commandsconfig.status: executing libtool commandsconfig.status: executing default-1 commandsconfig.status: executing bfd_stdint.h commandsconfig.status: executing default commandsmake[3]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd/po'make[3]: Entering directory `/mnt/clfs/sources/binutils-build/bfd/po'make[3]: Nothing to be done for `info'.make[3]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd/po'make[3]: Entering directory `/mnt/clfs/sources/binutils-build/bfd'make[3]: Nothing to be done for `info-am'.make[3]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd'make[2]: *** [info-recursive] Error 1make[2]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd'make[1]: *** [all-bfd] Error 2make[1]: Leaving directory `/mnt/clfs/sources/binutils-build'make: *** [all] Error 2I haven't the slightest what's going on.Please, any help is greatly appreciated. Joe Ciccone 2009-04-07 00:57:07 UTC PermalinkRaw Message Post by axel magnusonHello all,This is my first CLFS, and I'm ashamed to say I didn't make it very far.I'm using ubuntu 8.10 64-bit ed. as my host systemworking off of CLFS 1.1.0I have a intel core 2 duo 8300 (Wolfdale) processorset +humask 022CLFS=/mnt/clfsLC_ALL=POSIXPATH=/cross-tools/bin:/bin:/usr/binexport CLFS LC_ALL PATHunset CFLAGSunset CXXFLAGSexport BUILD64="-m64"alias 'ls=ls -l'export CLFS_HOST="x86_64-cross-l