I thought it would be ok to use 2.6.27, but now I'm in chapter 6 and I'm getting some errors in
6.7:
Code:
root:/sources/linux-2.6.27# make headers_check
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/unifdef
INSTALL include/asm-generic (12 files)
Can't locate strict.pm in @INC (@INC contains: /tools/lib/perl5/5.8./i686-linux
/tools/lib/perl5/5.8.8 /tools/lib/perl5/site_perl/5.8.8/i686-linux
/tools/lib/perl5/site_perl/5.8.8 /tools/lib/perl5/site_perl .)
at scripts/headers_install.pl line 19.
BEGIN failed--compilation aborted at scripts/headers_install.pl line 19.
make[2]: *** [/sources/linux-2.6.27/usr/include/asm-generic/.install] Error 2
make[1]: *** [asm-generic] Error 2
make: *** [headers_install] Error 2
Everything has moved along perfectly until now. Maybe I should have just gone along with the version used in the guide and then upgraded whenever the system was up. Any ideas?
BTW, I finished chapter 5 last night, and exited the terminal. When starting chapter 6 this morning, these are the exact commands I used to enter chroot:
Code:
$ sudo -s
# export LFS=/media/lfs
# mount -v --bind /dev $LFS/dev
# mount -vt devpts devpts $LFS/dev/pts
# mount -vt tmpfs shm $LFS/dev/shm
# mount -vt proc proc $LFS/proc
# mount -vt sysfs sysfs $LFS/sys
# chroot "$LFS" /tools/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
/tools/bin/bash --login +h