Tuesday, June 8, 2010

Chapter 6.7. Linux-2.6.32.8 API Headers

Well, after some comentary about log files. we are back to installing all of a sudden. I remember the phrase make mrproper from Chapter 5. I guess I need to install the linux package again.

root:/sources# tar -jxf linux-2.6.32.8.tar.bz2



root:/sources# cd linux

make headers_check
make INSTALL_HDR_PATH=dest headers_install
find dest/include \( -name .install -o -name ..install.cmd \) -delete
cp -rv dest/include/* /usr/include

APT = Application Programming Interface.

I am not learning much from the short description.

root:/sources/linux-2.6.32.8#make install 

AAAAAAAAAAAAAh! lots of errors!

scripts/kconfig/conf -s arch/x86/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel config file ".config")
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
sh /sources/linux-2.6.32.8/arch/x86/boot/install.sh arch/x86/boot/bzImage \
System.map "/boot"

*** Missing file: System.map
*** You need to run "make" before "make install".

make[1]: *** [install] E
rror 1
make: *** [install] Error 2




Not paying attention again. I should have left linux and moved on to unpacking the man package!

No comments:

Post a Comment