Then this:
Code:
make-kpkg -initrd --revision=386 kernel_image kernel_headers modules_image
Note: You can replace "386" with anything you want. Like "k7" or "686."
The kernel will now compile for 1-3 hours, depending on the speed of your processor. If you have an extremely slow processor, you may have to wait 3-4 hours for the kernel to compile. In the meantime, I would go out to a movie or do something else while the kernel is compiling.
I get to the section above, as root, and get this error:
In file included from /usr/src/modules/ivtv/driver/ivtv-osd.c:176:
/usr/src/modules/ivtv/driver/ivtv-driver.h:45:26: error: linux/config.h: No such file or directory
make[5]: *** [/usr/src/modules/ivtv/driver/ivtv-osd.o] Error 1
make[4]: *** [_module_/usr/src/modules/ivtv/driver] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.20'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/modules/ivtv/driver'
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/ivtv'
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory `/usr/src/modules/ivtv'
Module /usr/src/modules/ivtv failed.
Hit return to Continue
It will just sit there untill I hit enter, then ends immediately. I see the note on the fisrt page:
IMPORTANT: READ THIS POST OR THE KERNEL MAY NOT COMPILE! I followed those steps carefully.
OK, I just found http://www.linuxquestions.org/questi...d.php?t=506363 saying:
HTML Code:
The file include/linux/config.h has been removed from 2.6.19 kernel. So remember this if you build your favorite module against the new 2.6.19 kernel and you get an error similar to this:
In file included from /usr/src/modules/qc-usb-0.6.4/qc-driver.c:47:
/usr/src/modules/qc-usb-0.6.4/quickcam.h:79:26: linux/config.h: No such file or directory
Thats because there is no more include/linux/config.h file in 2.6.19. This is from the Changelog:
Quote:
Author: Dave Jones <someone@someplace.com>
Date: Mon Oct 9 19:13:51 2006 -0400
[HEADERS] Put linux/config.h out of its misery.
Signed-off-by: Dave Jones <someone@someplace.com>
Author: Paul Mundt <nameremoved@a-linux-company.org>
Date: Tue Oct 3 13:19:02 2006 +0900
sh: Kill off remaining config.h references.
A few of these managed to sneak back in, get rid of them once
and for all.
What I did was to modify the code and commented out all instances of the include statement :
#include <linux/config.h>
This seemed to work. Another trick that worked was just do this:
touch /usr/src/linux/include/linux/config.h
I don't understand what is to be done here:
"What I did was to modify the code and commented out all instances of the include statement :
#include <linux/config.h>
This seemed to work. Another trick that worked was just do this:
touch /usr/src/linux/include/linux/config.h"
Any help with what this means exactly?!?! I really want to get this kernel going, I need some of the support it offers.
SirShaggy
Bookmarks