Ambarish Mitra wrote:
Hi,

The question is on: 5.5.1. Installation of Linux-Libc-Headers

It is mentioned to copy the kernel headers as:
cp -Rv include/asm-i386 /tools/include/asm
cp -Rv include/linux /tools/include


But, should it not be?
cp -Rv /usr/src/kernels/2.6.9-34.EL-i686/include/asm-i386 /tools/include/asm

No. If you read http://www.linuxfromscratch.org/lfs/view/stable/chapter05/chapter05.html#ch-tools-introduction - particularly the ! Important box - you will see that you should unpack the source, cd into the directory created and then execute the commands on the LFS page. So for 5.5.1. Installation of Linux-Libc-Headers http://www.linuxfromscratch.org/lfs/view/stable/chapter05/linux-libc-headers.html you should unpack linux-libc-headers-2.6.12.0.tar.bz2 , cd into the linux-libc-headers-2.6.12.0 folder and then

cp -Rv include/asm-i386 /tools/include/asm
cp -Rv include/linux /tools/include

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