On Tue, Mar 04, 2008 at 05:24:35PM +0000, Ross Nesbitt wrote:
> 
> 
> 
> hey ive managed to successfully do everything up until i try and run make 
> mrproper for the linux headers.
> 
> i get the error message as follows:
> 
> /sources/linux-2.6.22.5/scripts/gcc-version.sh: line 11: /tools/bin/gcc: No 
> such file or directory
> /sources/linux-2.6.22.5/scripts/gcc-version.sh: line 12: /tools/bin/gcc: No 
> such file or directory
> make: gcc: Command not found
> 
[ ... ]
> 
> when i run /tools/bin/gcc --version in the chroot env i get the following:
> 
> bash: /tools/bin/gcc: No such file or directory
> 
> when i exit chroot and then run /tools/bin/gcc --version as root of the host 
> i get the following:
> 
> gcc (GCC) 4.1.2
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 From outside chroot, run ldd /tools/bin/gcc - it looks as if it is
linked to one or more libraries on the host system.

 If that analysis is right, it should have been prevented by 'Section
5.7,  Adjusting the Toolchain'.  Did you move and symlink the linker,
run the sed on the output of gcc -dumpspecs, and run the 'sanity
check' ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to