Install LFS 6.0 - Error - Please Help!

Thomas Berger thomas.berger.lpz at freenet.de
Sat Apr 9 07:36:34 PDT 2005


Hi Freaks,

i cann't install LFS 6.0 on my system (Suse 9.2, Athlon 3000+ 64 Bit)

SuSE:
        triplet: x86_64-unknown-linux-gnu
        dynamic linker: /lib64/ld-linux-x86-64.so.2

Section 5.4 und 5.5 (binutils und gcc ) install successfull.
Section 5.6 (Linux-Libc-Header-2.6.8.1)
        > Install the header files: 
        >
        > cp -R include/asm-i386 /tools/include/asm
        > cp -R include/linux /tools/include
        >
        > If your architecture is not i386 (compatible), 
        > adjust the first command accordingly. 

        What is the best for my system?
	asm-i386 or asm-x86_64?
	I have the standard asm-i386 used and have
	the header installed...

Section 5.7. (Linux-2.6.8.1 Header)

        >Install the platform-specific header files: 
        >
        >mkdir /tools/glibc-kernheaders
        >cp -HR include/asm /tools/glibc-kernheaders
        >cp -R include/asm-generic /tools/glibc-kernheaders

        This is the same Problem.
        I use the standard and install the header...

Section 5.8. Glibc-2.3.4-20040701 install successfull.

Section 5.9. Adjusting the Toolchain
        output `gcc --print-file specs`:
        /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.1/specs
        
        In this file change the following part:
        %{m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}}
	and        
	%{!m32:%{!dynamic-linker:-dynamic-linker /lib64/ld-linux-x86-64.so.2}}}
        %{static:-static}}

	to:

        %{m32:%{!dynamic-linker:-dynamic-linker /tools/lib/ld-2.3.4.so}}
	and        
	%{!m32:%{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux-x86-64.so.2}}}
        %{static:-static}}

	ld-linux-x86-64.so.2 ist a link to: ld-2.3.4.so
 
       >echo 'main(){}' > dummy.c
        >cc dummy.c
        >readelf -l a.out | grep ' /tools'

        output:
        [Requesting program interpreter: /tools/lib/ld-linux-x86-64.so.2]

Section 5.10, 5.11, 5.12 install successfull.

Section 5.13. GCC-3.4.1 - Pass 2 ended with error...

        make[2]: Entering directory 
	`/mnt/lfs/archiv/lfs/gcc/gcc-build/libiberty/testsuite'
        make[2]: Nothing to be done for `install'.
        make[2]: Leaving directory 
	`/mnt/lfs/archiv/lfs/gcc/gcc-build/libiberty/testsuite'
        make[1]: Leaving directory
	'/mnt/lfs/archiv/lfs/gcc/gcc-build/libiberty'
        make[1]: Entering directory 
	`/mnt/lfs/archiv/lfs/gcc/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
        make[1]: *** No rule to make target `install'.  Stop.
        make[1]: Leaving directory 
	`/mnt/lfs/archiv/lfs/gcc/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
        make: *** [install-target-libstdc++-v3] Error 2

#########################################

Where is my Problem?  I cann't located this...
Thanks beautifully for all hints!!!
Best Regards Thomas 







More information about the lfs-support mailing list