#1628 closed defect (invalid)
Binutils-2.16.1 causes [install-bfd] error under Version 7.0-cross-lfs-20050902-x86_64-Multilib
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | Branch_Cross-LFS |
Severity: | normal | Keywords: | |
Cc: |
Description
Linux From Scratch - Version 7.0-cross-lfs-20050902-x86_64-Multilib Host Distribution - Slackware 10.1 with kernel-2.6.13 Section - 5.6. Cross Binutils-2.16.1 Processor - AMD64 3000+
Executed command:
lfs:/mnt/lfs_x86_64/sources/binutils-build$ time { ../binutils-2.16.1/configure --prefix=/cross-tools --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib --disable-nls --enable-shared --enable-64-bit-bfd && make configure-host && make headers -C bfd && make install; }
Stacktrace Output:
echo $f > tofiles
/bin/sh ../../binutils-2.16.1/bfd/../move-if-change tofiles ofiles
touch stamp-ofiles
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -o libbfd.la -rpath
/cross-tools/i486-slackware-linux-gnu/x86_64-pc-linux-gnu/lib -release 2.16.1
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
-L../libiberty/pic -liberty
./libtool: line 1514: cd: ../libiberty/pic: No such file or directory
libtool: link: cannot determine absolute directory name of `../libiberty/pic'
make[2]: * [libbfd.la] Error 1
make[2]: Leaving directory `/mnt/lfs_x86_64/sources/binutils-build/bfd'
make[1]: * [install-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs_x86_64/sources/binutils-build/bfd'
make: * [install-bfd] Error 2
The host and target machines:
lfs:/mnt/lfs_x86_64/sources/binutils-build$ echo $LFS_HOST i486-slackware-linux-gnu lfs:/mnt/lfs_x86_64/sources/binutils-build$ echo $LFS_TARGET x86_64-pc-linux-gnu
Change History (2)
comment:1 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
(In reply to comment #1)
You missed the make after make headers. That's the only cause for the error you are seeing. Your command structure should be
time { ../binutils-2.16.1/configure --prefix=/cross-tools --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib --disable-nls --enable-shared --enable-64-bit-bfd && make configure-host && make headers -C bfd && make && make install; }
Thanks Jim
You missed the make after make headers. That's the only cause for the error you are seeing. Your command structure should be
time { ../binutils-2.16.1/configure --prefix=/cross-tools --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib --disable-nls --enable-shared --enable-64-bit-bfd && make configure-host && make headers -C bfd && make && make install; }