errors at 6.7. Linux- API Headers

knothead00 at knothead00 at
Sun Nov 29 11:31:18 PST 2009

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

root:/sources/linux- 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- 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
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 (root at 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 :(



More information about the lfs-support mailing list