LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 05-25-2006, 05:50 AM   #1
priya001
LQ Newbie
 
Registered: May 2006
Posts: 15

Rep: Reputation: 0
binutils make install error


hi every body
I am working on LFS 6.1.1 on Suse-10 .processor -X86 - 64 bit processor.Linux version 2.6.13-15-smp (geeko@buildhost) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) .

Initially i executed up to glibc-make check with out any errors .But i didn't get output for dummmy.c while testing gcc.
so again i reinstalled my pc and doing the same but i am getting make install ouput like this

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'
makeinfo --split-size=5000000 -I ../../binutils-2.15.94.0.2.2/ld -I ../../binutils-2.15.94.0.2.2/ld/../bfd/doc ../../binutils-2.15.94.0.2.2/ld/ld.texinfo
/bin/sh ../../binutils-2.15.94.0.2.2/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.15.94.0.2.2/libiberty/../mkinstalldirs /tools/lib
/usr/bin/install -c -m 644 ./libiberty.a /tools/lib/./libiberty.an
( cd /tools/lib ; ranlib ./libiberty.an )
mv -f /tools/lib/./libiberty.an /tools/lib/./libiberty.a
if test -n ""; then \
case "" in \
/*) thd=;; \
*) thd=/tools/include/;; \
esac; \
/bin/sh ../../binutils-2.15.94.0.2.2/libiberty/../mkinstalldirs ${thd}; \
for h in ../../binutils-2.15.94.0.2.2/libiberty/../include/ansidecl.h ../../binutils-2.15.94.0.2.2/libiberty/../include/demangle.h ../../binutils-2.15.94.0.2.2/libiberty/../include/dyn-string.h ../../binutils-2.15.94.0.2.2/libiberty/../include/fibheap.h ../../binutils-2.15.94.0.2.2/libiberty/../include/floatformat.h ../../binutils-2.15.94.0.2.2/libiberty/../include/hashtab.h ../../binutils-2.15.94.0.2.2/libiberty/../include/libiberty.h ../../binutils-2.15.94.0.2.2/libiberty/../include/objalloc.h ../../binutils-2.15.94.0.2.2/libiberty/../include/partition.h ../../binutils-2.15.94.0.2.2/libiberty/../include/safe-ctype.h ../../binutils-2.15.94.0.2.2/libiberty/../include/sort.h ../../binutils-2.15.94.0.2.2/libiberty/../include/splay-tree.h ../../binutils-2.15.94.0.2.2/libiberty/../include/ternary.h; do \
/usr/bin/install -c -m 644 $h ${thd}; \
done; \
fi
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
"make[2]: Nothing to be done for `install'."
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
lfs@linux:/mnt/lfs/sources/binutils-build>

any one plz suggest me how to overcome the problem.
note : PATH=/bin:/usr/bin

thanks & regards,
krishna priya
 
Old 05-26-2006, 11:28 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by priya001
hi every body
I am working on LFS 6.1.1 on Suse-10 .processor -X86 - 64 bit processor.Linux version 2.6.13-15-smp (geeko@buildhost) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) .

Initially i executed up to glibc-make check with out any errors .But i didn't get output for dummmy.c while testing gcc.
so again i reinstalled my pc and doing the same but i am getting make install ouput like this

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'
makeinfo --split-size=5000000 -I ../../binutils-2.15.94.0.2.2/ld -I ../../binutils-2.15.94.0.2.2/ld/../bfd/doc ../../binutils-2.15.94.0.2.2/ld/ld.texinfo
/bin/sh ../../binutils-2.15.94.0.2.2/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.15.94.0.2.2/libiberty/../mkinstalldirs /tools/lib
/usr/bin/install -c -m 644 ./libiberty.a /tools/lib/./libiberty.an
( cd /tools/lib ; ranlib ./libiberty.an )
mv -f /tools/lib/./libiberty.an /tools/lib/./libiberty.a
if test -n ""; then \
case "" in \
/*) thd=;; \
*) thd=/tools/include/;; \
esac; \
/bin/sh ../../binutils-2.15.94.0.2.2/libiberty/../mkinstalldirs ${thd}; \
for h in ../../binutils-2.15.94.0.2.2/libiberty/../include/ansidecl.h ../../binutils-2.15.94.0.2.2/libiberty/../include/demangle.h ../../binutils-2.15.94.0.2.2/libiberty/../include/dyn-string.h ../../binutils-2.15.94.0.2.2/libiberty/../include/fibheap.h ../../binutils-2.15.94.0.2.2/libiberty/../include/floatformat.h ../../binutils-2.15.94.0.2.2/libiberty/../include/hashtab.h ../../binutils-2.15.94.0.2.2/libiberty/../include/libiberty.h ../../binutils-2.15.94.0.2.2/libiberty/../include/objalloc.h ../../binutils-2.15.94.0.2.2/libiberty/../include/partition.h ../../binutils-2.15.94.0.2.2/libiberty/../include/safe-ctype.h ../../binutils-2.15.94.0.2.2/libiberty/../include/sort.h ../../binutils-2.15.94.0.2.2/libiberty/../include/splay-tree.h ../../binutils-2.15.94.0.2.2/libiberty/../include/ternary.h; do \
/usr/bin/install -c -m 644 $h ${thd}; \
done; \
fi
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
"make[2]: Nothing to be done for `install'."
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
lfs@linux:/mnt/lfs/sources/binutils-build>

any one plz suggest me how to overcome the problem.
note : PATH=/bin:/usr/bin

thanks & regards,
krishna priya
Umm... maybe I'm just tired, but I can't see the problem with the output of make install. I assume you are doing the chapter 5 glibc. What's the output of make check for glibc?

Did you adjust the toolchain yet? IIRC, gcc-4 never made it to a stable LFS yet. Be aware that adjusting the toolchain is a little different with the newer gcc (by default they don't have a specs file).

Also, if you are going to use gcc-4.0.x, you should probably be using a newer binutils (at least 2.16.x).

Just suggestions that may save you time in the future.
 
Old 05-28-2006, 11:57 PM   #3
priya001
LQ Newbie
 
Registered: May 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,

Thanks for u r response.After a long search i come to u conclusion that gcc-4 won't support binutils-2.15.94.0.2.2 due to fluctuating feature.Hence I change LFS version to LFS-SVN-20060522.I finished up to 5th chapter.Now i am trying to creat initial device nodes by using this commands "mknod -m 600 $LFS/dev/console c 5 1 ", "mknod -m 666 $LFS/dev/null c 1 3 .But i am getting "mknod: `/mnt/lfs/dev/console': No such file or directory".
my host system is :Fedora Core 5

can u plz detect the bug.
thanks & regards
krishna priya
 
Old 05-29-2006, 09:41 AM   #4
priya001
LQ Newbie
 
Registered: May 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,
I am trying LFS-SVN-20060526 on FC5.I finished up to binutils-2.16.1 chapter :6.11 successfully. Now i am at gcc-4.0.3.I am getting error for make .Can u suggest me where the problem is.



chmod a+r include/syslimits.h
echo timestamp > stmp-fixinc
rm -f mm_malloc.h
cat ../../gcc-4.0.3/gcc/config/i386/pmm_malloc.h > mm_malloc.h
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
for file in .. ../../gcc-4.0.3/gcc/ginclude/float.h ../../gcc-4.0.3/gcc/ginclude/iso646.h ../../gcc-4.0.3/gcc/ginclude/stdarg.h ../../gcc-4.0.3/gcc/ginclude/stdbool.h ../../gcc-4.0.3/gcc/ginclude/stddef.h ../../gcc-4.0.3/gcc/ginclude/varargs.h ../../gcc-4.0.3/gcc/unwind.h ../../gcc-4.0.3/gcc/config/i386/mmintrin.h ../../gcc-4.0.3/gcc/config/i386/mm3dnow.h ../../gcc-4.0.3/gcc/config/i386/xmmintrin.h ../../gcc-4.0.3/gcc/config/i386/emmintrin.h ../../gcc-4.0.3/gcc/config/i386/pmmintrin.h mm_malloc.h; do \
if [ X$file != X.. ]; then \
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
echo timestamp > include/$realfile; \
rm -f include/$realfile; \
cp $file include; \
chmod a+r include/$realfile; \
fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ../../gcc-4.0.3/gcc/../fixincludes/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
objext='.o' \
LIB1ASMFUNCS='' \
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta _gcov_fork _gcov_execl _gcov_execlp _gcov_execle _gcov_execv _gcov_execvp _gcov_execve' \
LIB2ADD='' \
LIB2ADD_ST='' \
LIB2ADDEH='../../gcc-4.0.3/gcc/unwind-dw2.c ../../gcc-4.0.3/gcc/unwind-dw2-fde-glibc.c ../../gcc-4.0.3/gcc/unwind-sjlj.c ../../gcc-4.0.3/gcc/gthr-gnat.c ../../gcc-4.0.3/gcc/unwind-c.c' \
LIB2ADDEHSTATIC='../../gcc-4.0.3/gcc/unwind-dw2.c ../../gcc-4.0.3/gcc/unwind-dw2-fde-glibc.c ../../gcc-4.0.3/gcc/unwind-sjlj.c ../../gcc-4.0.3/gcc/gthr-gnat.c ../../gcc-4.0.3/gcc/unwind-c.c' \
LIB2ADDEHSHARED='../../gcc-4.0.3/gcc/unwind-dw2.c ../../gcc-4.0.3/gcc/unwind-dw2-fde-glibc.c ../../gcc-4.0.3/gcc/unwind-sjlj.c ../../gcc-4.0.3/gcc/gthr-gnat.c ../../gcc-4.0.3/gcc/unwind-c.c' \
LIB2ADDEHDEP='unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c' \
LIBUNWIND='' \
LIBUNWINDDEP='' \
SHLIBUNWIND_LINK='' \
SHLIBUNWIND_INSTALL='' \
FPBIT='' \
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf' \
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4' \DPBIT='' \
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df' \
TPBIT='' \
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf' \
MULTILIBS=`/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include --print-multi-lib` \
EXTRA_MULTILIB_PARTS='' \
SHLIB_LINK='/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl,--soname=@shlib_base_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ @shlib_objs@ -lc && rm -f @multilib_dir@/@shlib_base_name@.so && if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then mv -f @multilib_dir@/@shlib_base_name@.so.1 @multilib_dir@/@shlib_base_name@.so.1.backup; else true; fi && mv @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_dir@/@shlib_base_name@.so.1 && ln -s @shlib_base_name@.so.1 @multilib_dir@/@shlib_base_name@.so' \
SHLIB_INSTALL='$(mkinstalldirs) $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; /tools/bin/install -c -m 644 @multilib_dir@/@shlib_base_name@.so.1 $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so.1; rm -f $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so; ln -s @shlib_base_name@.so.1 $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so' \
SHLIB_EXT='.so' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='../../gcc-4.0.3/gcc/mkmap-symver.awk' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='../../gcc-4.0.3/gcc/libgcc-std.ver ../../gcc-4.0.3/gcc/config/libgcc-glibc.ver' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
ASM_HIDDEN_OP='' \
mkinstalldirs='/bin/sh ../../gcc-4.0.3/gcc/../mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-4.0.3/gcc/mkconfig.sh tconfig.h
/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.0.3/gcc -I../../gcc-4.0.3/gcc/. -I../../gcc-4.0.3/gcc/../include -I../../gcc-4.0.3/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
-c ../../gcc-4.0.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64:
../../gcc-4.0.3/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:96:19: error: errno.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:103:20: error: string.h: No such file or directory../../gcc-4.0.3/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory../../gcc-4.0.3/gcc/tsystem.h:105:20: error: unistd.h: No such file or directoryIn file included from /sources/gcc-build/gcc/include/syslimits.h:7,
from /sources/gcc-build/gcc/include/limits.h:11,
from ../../gcc-4.0.3/gcc/tsystem.h:108,
from ../../gcc-4.0.3/gcc/crtstuff.c:64:
/sources/gcc-build/gcc/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64:
../../gcc-4.0.3/gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
root:/sources/gcc-build#


Thanks & Reagards,
Krishna Priya.R
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
binutils make check error suzuki_babu Linux - Software 0 05-02-2006 01:47 AM
make error with binutils gravesb Linux From Scratch 2 10-15-2005 02:48 PM
binutils-2.16.90.0.1 make error on Slackware 10.0 CPUFreak91 Linux - Software 2 09-08-2005 08:57 AM
make: *** [configure-libiberty] Error 1 in 5.4. Binutils-2.15.91.0.2 - Pass 1 Flash_G Linux From Scratch 3 06-30-2005 08:51 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration