Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-27-2009, 07:40 AM
#1
LQ Newbie
Registered: Apr 2009
Posts: 5
Rep:
Binutils: make install error
Hello,
Last week i decided to try the LFS project.
Unfortunately i'm encountering an error at the beggining, when i'm trying to install Binutils:
Code:
lfs@Brainiac:/mnt/lfs/sources/binutils-build$ make install
/bin/sh ../binutils-2.16.1/mkinstalldirs /tools /tools
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
test -z "/tools/info" || mkdir -p -- "/tools/info"
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/bfd/doc/bfd.info' '/tools/info/bfd.info'
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/bfd/doc/bfd.info-1' '/tools/info/bfd.info-1'
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/bfd/doc/bfd.info-2' '/tools/info/bfd.info-2'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../binutils-2.16.1/bfd/../mkinstalldirs /tools/lib
mkdir -p -- /tools/lib
/bin/sh ../../binutils-2.16.1/bfd/../mkinstalldirs /tools/include
mkdir -p -- /tools/include
/bin/sh ./libtool --mode=install /usr/bin/install -c libbfd.la /tools/lib/libbfd.la
/usr/bin/install -c .libs/libbfd.lai /tools/lib/libbfd.la
/usr/bin/install -c .libs/libbfd.a /tools/lib/libbfd.a
ranlib /tools/lib/libbfd.a
chmod 644 /tools/lib/libbfd.a
PATH="$PATH:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
/tools/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 bfd.h /tools/include/bfd.h
/usr/bin/install -c -m 644 ../../binutils-2.16.1/bfd/../include/ansidecl.h /tools/include/ansidecl.h
/usr/bin/install -c -m 644 ../../binutils-2.16.1/bfd/../include/symcat.h /tools/include/symcat.h
/usr/bin/install -c -m 644 ../../binutils-2.16.1/bfd/../include/bfdlink.h /tools/include/bfdlink.h
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../binutils-2.16.1/opcodes/../mkinstalldirs /tools/lib
/bin/sh ../../binutils-2.16.1/opcodes/../mkinstalldirs /tools/include
/bin/sh ./libtool --mode=install /usr/bin/install -c libopcodes.la /tools/lib/libopcodes.la
/usr/bin/install -c .libs/libopcodes.lai /tools/lib/libopcodes.la
/usr/bin/install -c .libs/libopcodes.a /tools/lib/libopcodes.a
ranlib /tools/lib/libopcodes.a
chmod 644 /tools/lib/libopcodes.a
PATH="$PATH:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
/tools/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 ../../binutils-2.16.1/opcodes/../include/dis-asm.h /tools/include/dis-asm.h
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[3]: Nothing to be done for `install-exec-am'.
make install-man1
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
/bin/sh ../../../binutils-2.16.1/binutils/../mkinstalldirs /tools/man/man1
mkdir -p -- /tools/man/man1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/addr2line.1 /tools/man/man1/addr2line.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/ar.1 /tools/man/man1/ar.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/dlltool.1 /tools/man/man1/dlltool.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/nlmconv.1 /tools/man/man1/nlmconv.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/nm.1 /tools/man/man1/nm.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/objcopy.1 /tools/man/man1/objcopy.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/objdump.1 /tools/man/man1/objdump.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/ranlib.1 /tools/man/man1/ranlib.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/readelf.1 /tools/man/man1/readelf.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/size.1 /tools/man/man1/size.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/strings.1 /tools/man/man1/strings.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/strip.1 /tools/man/man1/strip.1
/usr/bin/install -c -m 644 ../../../binutils-2.16.1/binutils/doc/windres.1 /tools/man/man1/windres.1
/usr/bin/install -c -m 644 c++filt.1 /tools/man/man1/c++filt.1
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
rm -f config.texi
echo '@set VERSION 2.16.1' > config.texi
echo "@set UPDATED `date "+%B %Y"`" >> config.texi
/mnt/lfs/sources/binutils-2.16.1/missing makeinfo --split-size=5000000 -I ../../../binutils-2.16.1/binutils/doc ../../../binutils-2.16.1/binutils/doc/binutils.texi
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
/bin/sh ../../../binutils-2.16.1/binutils/../mkinstalldirs /tools/info
/usr/bin/install -c -m 644 ./binutils.info /tools/info/binutils.info
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
/bin/sh ../../binutils-2.16.1/binutils/../mkinstalldirs /tools/bin
mkdir -p -- /tools/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c size /tools/bin/size
/usr/bin/install -c size /tools/bin/size
/bin/sh ./libtool --mode=install /usr/bin/install -c objdump /tools/bin/objdump
/usr/bin/install -c objdump /tools/bin/objdump
/bin/sh ./libtool --mode=install /usr/bin/install -c ar /tools/bin/ar
/usr/bin/install -c ar /tools/bin/ar
/bin/sh ./libtool --mode=install /usr/bin/install -c strings /tools/bin/strings
/usr/bin/install -c strings /tools/bin/strings
/bin/sh ./libtool --mode=install /usr/bin/install -c ranlib /tools/bin/ranlib
/usr/bin/install -c ranlib /tools/bin/ranlib
/bin/sh ./libtool --mode=install /usr/bin/install -c objcopy /tools/bin/objcopy
/usr/bin/install -c objcopy /tools/bin/objcopy
/bin/sh ./libtool --mode=install /usr/bin/install -c addr2line /tools/bin/addr2line
/usr/bin/install -c addr2line /tools/bin/addr2line
/bin/sh ./libtool --mode=install /usr/bin/install -c readelf /tools/bin/readelf
/usr/bin/install -c readelf /tools/bin/readelf
/bin/sh ./libtool --mode=install /usr/bin/install -c nm-new /tools/bin/nm
/usr/bin/install -c nm-new /tools/bin/nm
/bin/sh ./libtool --mode=install /usr/bin/install -c strip-new /tools/bin/strip
/usr/bin/install -c strip-new /tools/bin/strip
/bin/sh ./libtool --mode=install /usr/bin/install -c cxxfilt /tools/bin/c++filt
/usr/bin/install -c cxxfilt /tools/bin/c++filt
/bin/sh ../../binutils-2.16.1/binutils/../mkinstalldirs /tools/i686-pc-linux-gnu/bin
mkdir -p -- /tools/i686-pc-linux-gnu/bin
for i in nm-new strip-new ar ranlib dlltool objdump; do \
if [ -f $i ]; then \
j=`echo $i | sed -e 's/-new//'`; \
k=`echo $j | sed 's,y,y,'`; \
if [ "/tools/bin/$k" != "/tools/i686-pc-linux-gnu/bin/$j" ]; then \
rm -f /tools/i686-pc-linux-gnu/bin/$j; \
ln /tools/bin/$k /tools/i686-pc-linux-gnu/bin/$j >/dev/null 2>/dev/null \
|| /bin/sh ./libtool --mode=install /usr/bin/install -c $i /tools/i686-pc-linux-gnu/bin/$j; \
fi; \
else true; \
fi; \
done
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
for f in standards.info configure.info; do \
if test -f ../../binutils-2.16.1/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=/mnt/lfs/sources/binutils-2.16.1/missing makeinfo --split-size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: `../../binutils-2.16.1/etc/standards.info' is up to date.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: `../../binutils-2.16.1/etc/configure.info' is up to date.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
/bin/sh ../../binutils-2.16.1/etc/../mkinstalldirs /tools/info
if test ! -f standards.info; then cd ../../binutils-2.16.1/etc; fi; \
if test -f standards.info; then \
for i in standards.info*; do \
/usr/bin/install -c -m 644 $i /tools/info/$i; \
done; \
fi
if test ! -f configure.info; then cd ../../binutils-2.16.1/etc; fi; \
if test -f configure.info; then \
for i in configure.info*; do \
/usr/bin/install -c -m 644 $i /tools/info/$i; \
done; \
fi
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/tools/info" || mkdir -p -- "/tools/info"
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/gas/doc/as.info' '/tools/info/as.info'
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/gas/doc/as.info-1' '/tools/info/as.info-1'
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/gas/doc/as.info-2' '/tools/info/as.info-2'
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/gas/doc/as.info-3' '/tools/info/as.info-3'
test -z "/tools/man/man1" || mkdir -p -- "/tools/man/man1"
/usr/bin/install -c -m 644 '../../../binutils-2.16.1/gas/doc/as.1' '/tools/man/man1/as.1'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
/bin/sh ../../binutils-2.16.1/gas/../mkinstalldirs /tools/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c as-new /tools/bin/as
/usr/bin/install -c as-new /tools/bin/as
/bin/sh ../../binutils-2.16.1/gas/../mkinstalldirs /tools/i686-pc-linux-gnu/bin
n=`echo as | sed 's,y,y,'`; \
if [ "/tools/bin/$n" != "/tools/i686-pc-linux-gnu/bin/as" ]; then \
rm -f /tools/i686-pc-linux-gnu/bin/as; \
ln /tools/bin/$n /tools/i686-pc-linux-gnu/bin/as >/dev/null 2>/dev/null \
|| /bin/sh ./libtool --mode=install /usr/bin/install -c as-new /tools/i686-pc-linux-gnu/bin/as; \
else \
true ; \
fi
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
make install-recursive
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
Making install in po
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/bin" || mkdir -p -- "/tools/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gprof' '/tools/bin/gprof'
/usr/bin/install -c gprof /tools/bin/gprof
Making install-info in po
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[5]: Nothing to be done for `install-info'.
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/info" || mkdir -p -- "/tools/info"
/usr/bin/install -c -m 644 '../../binutils-2.16.1/gprof/gprof.info' '/tools/info/gprof.info'
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/man/man1" || mkdir -p -- "/tools/man/man1"
/usr/bin/install -c -m 644 '../../binutils-2.16.1/gprof/gprof.1' '/tools/man/man1/gprof.1'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/intl'
if test "@PACKAGE@" = "gettext" \
&& test '' = 'intl-compat.o'; then \
if test -r ../../binutils-2.16.1/intl/../../mkinstalldirs; then \
../../binutils-2.16.1/intl/../../mkinstalldirs /tools/lib /tools/include; \
else \
../../binutils-2.16.1/intl/mkinstalldirs /tools/lib /tools/include; \
fi; \
/usr/bin/install -c -m 644 intlh.inst /tools/include/libintl.h; \
/usr/bin/install -c -m 644 libintl.a /tools/lib/libintl.a; \
else \
: ; \
fi
if test "@PACKAGE@" = "gettext"; then \
if test -r ../../binutils-2.16.1/intl/../../mkinstalldirs; then \
../../binutils-2.16.1/intl/../../mkinstalldirs /tools/share/gettext/intl; \
else \
../../binutils-2.16.1/intl/mkinstalldirs /tools/share/gettext/intl; \
fi; \
/usr/bin/install -c -m 644 VERSION /tools/share/gettext/intl/VERSION; \
dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \
for file in $dists; do \
/usr/bin/install -c -m 644 ../../binutils-2.16.1/intl/$file /tools/share/gettext/intl/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/intl'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.16.1/ld/../mkinstalldirs /tools/bin /tools/i686-pc-linux-gnu/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /tools/bin/ld
/usr/bin/install -c ld-new /tools/bin/ld
n=`echo ld | sed 's,y,y,'`; \
if [ "/tools/bin/$n" != "/tools/i686-pc-linux-gnu/bin/ld" ]; then \
rm -f /tools/i686-pc-linux-gnu/bin/ld; \
ln /tools/bin/$n /tools/i686-pc-linux-gnu/bin/ld >/dev/null 2>/dev/null \
|| /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /tools/i686-pc-linux-gnu/bin/ld; \
fi
make install-man1
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.16.1/ld/../mkinstalldirs /tools/man/man1
/usr/bin/install -c -m 644 ../../binutils-2.16.1/ld/ld.1 /tools/man/man1/ld.1
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.16.1/ld/../mkinstalldirs /tools/i686-pc-linux-gnu/lib/ldscripts
mkdir -p -- /tools/i686-pc-linux-gnu/lib/ldscripts
for f in ldscripts/*; do \
/usr/bin/install -c -m 644 $f /tools/i686-pc-linux-gnu/lib/$f ; \
done
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
Making install-info in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Nothing to be done for `install-info'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/mnt/lfs/sources/binutils-2.16.1/missing makeinfo --split-size=5000000 -I ../../binutils-2.16.1/ld -I ../../binutils-2.16.1/ld/../bfd/doc ../../binutils-2.16.1/ld/ld.texinfo
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
/bin/sh ../../binutils-2.16.1/ld/../mkinstalldirs /tools/info
/usr/bin/install -c -m 644 ./ld.info /tools/info/ld.info
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
/bin/sh ../../binutils-2.16.1/libiberty/../mkinstalldirs /tools/lib
/usr/bin/install -c -m 644 ./libiberty.a /tools/lib/./libiberty.an
( cd /tools/lib ; ranlib ./libiberty.an )
*** buffer overflow detected ***: ranlib terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x4012cda8]
/lib/tls/i686/cmov/libc.so.6[0x4012aeb0]
/lib/tls/i686/cmov/libc.so.6[0x4012a5a8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x4009cbb8]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008fded]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27bf)[0x40070fef]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0x4012a654]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x4012a59d]
ranlib[0x80508e2]
ranlib[0x804ea9b]
ranlib[0x80515a8]
ranlib[0x8058868]
ranlib[0x804a285]
ranlib[0x804b2a8]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40045775]
ranlib[0x8049691]
======= Memory map: ========
08048000-080b6000 r-xp 00000000 08:08 652839 /mnt/lfs/tools/bin/ranlib
080b6000-080b7000 r--p 0006d000 08:08 652839 /mnt/lfs/tools/bin/ranlib
080b7000-080b8000 rw-p 0006e000 08:08 652839 /mnt/lfs/tools/bin/ranlib
080b8000-080bc000 rw-p 080b8000 00:00 0
08dba000-08f0c000 rw-p 08dba000 00:00 0 [heap]
40000000-4001c000 r-xp 00000000 08:07 1594343 /lib/ld-2.9.so
4001c000-4001d000 r--p 0001b000 08:07 1594343 /lib/ld-2.9.so
4001d000-4001e000 rw-p 0001c000 08:07 1594343 /lib/ld-2.9.so
4001e000-4001f000 r-xp 4001e000 00:00 0 [vdso]
4001f000-40023000 rw-p 4001f000 00:00 0
4002f000-4018b000 r-xp 00000000 08:07 1611912 /lib/tls/i686/cmov/libc-2.9.so
4018b000-4018c000 ---p 0015c000 08:07 1611912 /lib/tls/i686/cmov/libc-2.9.so
4018c000-4018e000 r--p 0015c000 08:07 1611912 /lib/tls/i686/cmov/libc-2.9.so
4018e000-4018f000 rw-p 0015e000 08:07 1611912 /lib/tls/i686/cmov/libc-2.9.so
4018f000-40193000 rw-p 4018f000 00:00 0
401a1000-401ae000 r-xp 00000000 08:07 1594385 /lib/libgcc_s.so.1
401ae000-401af000 r--p 0000c000 08:07 1594385 /lib/libgcc_s.so.1
401af000-401b0000 rw-p 0000d000 08:07 1594385 /lib/libgcc_s.so.1
bfafb000-bfb10000 rw-p bffeb000 00:00 0 [stack]
Aborted
make[1]: *** [install_to_libdir] Error 134
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
make: *** [install-libiberty] Error 2
My host OS is Ubuntu..
Any hint? Thank you
04-27-2009, 08:29 AM
#2
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Hi,
Ubuntu does not confirm to the LFS's Host System Requirements. Did you check this and make ubuntu compliant before starting?
04-27-2009, 08:35 AM
#3
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
Quote:
Originally Posted by
druuna
Hi,
Ubuntu does not confirm to the LFS's Host System Requirements. Did you check this and make ubuntu compliant before starting?
how do I do that? tx for the reply, anyway
04-27-2009, 08:41 AM
#4
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Hi,
By reading the on-line/downloaded LFS documentation. Skipping to chapter 5 and starting there isn't going to work
The LFS team did take the time to write a page about this and include a script to check these host system requirements.
04-27-2009, 09:06 AM
#5
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
all system requirements ok
i have some newer versions than those required:
Code:
bash, version 3.2.48(1)-release
Binutils: (GNU Binutils
bzip2, Version 1.0.5, 10-Dec-2007.
Coreutils: 6.10
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.0
GNU Awk 3.1.5
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
GNU C Library stable release version 2.9,
GNU grep 2.5.3
gzip 1.3.12
Linux version 2.6.28-11-generic (gcc version 4.3.3
GNU Make 3.81
patch 2.5.9
GNU sed versione 4.1.5
tar (GNU tar) 1.20
it can be a problem?
04-27-2009, 09:22 AM
#6
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Sorry, but you really need to read the chapter, check the programs given and the output you posted.
At first glance I miss a few programs: Bison, M4, perl, textinfo. Also there's no version for binutils and your gcc version could be incorrect. All of this you should have picked up yourself.....
04-27-2009, 09:35 AM
#7
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
ok..sry too but i'm a newbie with this kind of things..
one more question: how can i downgrade the programs i need.. should i install them with make or are there the *.deb files..
If i have to use make, which parameters should i put for the ./configure?
Tx again
04-27-2009, 09:42 AM
#8
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Hi again,
Quote:
ok..sry too but i'm a newbie with this kind of things.
A newbie at being secure and precise???
Quote:
how can i downgrade the programs i need..
I wouldn't. Download and use the LFS liveCD as host system. It should meet all the requirements.
Quote:
If i have to use make, which parameters should i put for the ./configure?
All that is explained in the documentation.
04-27-2009, 09:52 AM
#9
LQ Newbie
Registered: Apr 2009
Posts: 5
Original Poster
Rep:
Quote:
I wouldn't. Download and use the LFS liveCD as host system. It should meet all the requirements.
is there a version with graphic view?
i have only one PC and I don't want to print all the guide
04-27-2009, 09:57 AM
#10
LQ Veteran
Registered: Sep 2003
Posts: 10,532
And again: If you would have taken the time to check out the liveCD on the LFS site you would have known the answer by now........
Tip: If you are not willing to read the docs, examine the pages and do some trial and error sessions etc -> Don't start with LFS.
All times are GMT -5. The time now is 03:48 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News