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
i checked the output of path and it reads as follows:
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
ls -l /tools reads as follows:
total 36
drwxr-xr-x 2 root root 4096 Mar 4 02:56 bin
drwxr-xr-x 2 root root 4096 Mar 3 19:20 etc
drwxr-xr-x 4 root root 4096 Mar 3 16:21 i686-pc-linux-gnu
drwxr-xr-x 29 root root 4096 Mar 4 01:58 include
drwxr-xr-x 7 root root 4096 Mar 4 02:55 lib
drwxr-xr-x 5 root root 4096 Mar 4 02:46 libexec
drwxr-xr-x 2 root root 4096 Mar 4 02:56 sbin
drwxr-xr-x 12 root root 4096 Mar 4 02:48 share
drwxr-xr-x 2 root root 4096 Mar 4 02:09 var
ls -l /tools/bin reads as follows:
//only from the area around gcc
-rwxr-xr-x 2 root root 303724 Mar 4 02:56 gawk
-rwxr-xr-x 2 root root 303724 Mar 4 02:56 gawk-3.1.5
-rwxr-xr-x 3 root root 118252 Mar 4 02:56 gcc
-rwxr-xr-x 1 root root 16007 Mar 4 01:12 gccbug
-rwxr-xr-x 1 root root 23196 Mar 4 02:56 gcov
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 root of host ls -l /tools is as follows:
lrwxrwxrwx 1 root root 14 2008-03-03 15:32 /tools -> /mnt/lfs/tools
from root of host ls -l /tools/bin is as follows:
-rwxr-xr-x 2 root root 303724 2008-03-04 02:56 gawk
-rwxr-xr-x 2 root root 303724 2008-03-04 02:56 gawk-3.1.5
-rwxr-xr-x 3 root root 118252 2008-03-04 02:56 gcc
-rwxr-xr-x 1 root root 16007 2008-03-04 01:12 gccbug
-rwxr-xr-x 1 root root 23196 2008-03-04 02:56 gcov
from root of host of root echo $LFS is as follows:
/mnt/lfs
from root of host ls -l $LFS/tools is as follows:
total 36
drwxr-xr-x 2 root root 4096 2008-03-04 02:56 bin
drwxr-xr-x 2 root root 4096 2008-03-03 19:20 etc
drwxr-xr-x 4 root root 4096 2008-03-03 16:21 i686-pc-linux-gnu
drwxr-xr-x 29 root root 4096 2008-03-04 01:58 include
drwxr-xr-x 7 root root 4096 2008-03-04 02:55 lib
drwxr-xr-x 5 root root 4096 2008-03-04 02:46 libexec
drwxr-xr-x 2 root root 4096 2008-03-04 02:56 sbin
drwxr-xr-x 12 root root 4096 2008-03-04 02:48 share
drwxr-xr-x 2 root root 4096 2008-03-04 02:09 var
and the last thing i can think of adding here is the output from root of host
ls -l $LFS/tools/bin:
-rwxr-xr-x 2 root root 303724 2008-03-04 02:56 gawk
-rwxr-xr-x 2 root root 303724 2008-03-04 02:56 gawk-3.1.5
-rwxr-xr-x 3 root root 118252 2008-03-04 02:56 gcc
-rwxr-xr-x 1 root root 16007 2008-03-04 01:12 gccbug
-rwxr-xr-x 1 root root 23196 2008-03-04 02:56 gcov
i hope somebody can shed some light on this with me im so confused by it!!
Thanks in advance
Ross Nesbitt
_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page