Tuesday, June 1, 2010

Chapter 5.6 Linux

Yesterday, I did not know what to do at first with this section because I did not read the chapter heading, just searched for the next command in a box. A sort of tunnel vision. I wrote this in my notes: "Though not instructed to do so, I surmised that the linux file was necessary. I confirmed this by looking for evidence of mrproper and I found it in the Makefile." I have used make clean and make distclean but mrproper was new. Everything went smoothly until: $LFS/sources/linux-2.6.32.8$ make headers_check
/media/lfs/sources/linux-2.6.32.8/usr/include/scsi/scsi.h:162: userspace cannot call function or variable defined in the kernel /media/lfs/sources/linux-2.6.32.8/usr/include/scsi/scsi.h:288: userspace cannot call function or variable defined in the kernel
Googling finds me this response to a similar question:
Where is the error? It's just giving a warning. /usr/include/scsi/scsi.h will be overwritten when you install glibc so the fact that it is broken should cause you no problems.
So, I'll ignore it. Next comes $LFS/sources/linux-2.6.32.8$ make INSTALL_HDR_PATH=dest headers_install $LFS/sources/linux-2.6.32.8$ cp -rv dest/include/* /tools/include And I turn the page...and find that the book has moved on to glib. No configure, make, make install sequence? In tools, the command tree tells me what has changed. 55 directories, 761 files so far. remove ..../sources/linux-2.6.32.8 directory as instructed.

No comments:

Post a Comment