I am getting the error as follows @ pg 85 in the 6.5 book:

root:/sources/linux-2.6.30.2# make headers_check
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function 'traps':
scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer
will break strict-aliasing rules
scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer
will break strict-aliasing rules
gcc: error trying to exec 'as': execvp: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
root:/sources/linux-2.6.30.2#



root:/sources/linux-2.6.30.2# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/tools
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++
--disable-libstdcxx-pch --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.1 (GCC)



Results of version-check.sh:
bash, version 4.0.28(1)-release
/bin/sh -> /tools/bin/bash
Binutils: yacc not found
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  7.4
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.2
GNU Awk 3.1.7
awk not found
gcc (GCC) 4.4.1
GNU grep 2.5.4
gzip 1.3.12
Linux version 2.6.22.5 (r...@kerrek) (gcc version 4.1.2) #1 SMP Sat
Dec 29 22:40:37 GMT 2007
m4 (GNU M4) 1.4.13
GNU Make 3.81
patch 2.5.9
Perl version='5.10.0';
GNU sed version 4.2.1
tar (GNU tar) 1.22
makeinfo (GNU texinfo) 4.13
Compilation failed


Using the lfs 6.5 book with the latest patches and the LFSLiveCD.

Dug thru the archive but unsure of how to apply the patch :(
http://linuxfromscratch.org/pipermail/lfs-support/2009-June/035912.html


Thanks.

Roger
-- 
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