Topic: Missing kernel headers in CHB
Hi. I'm getting up to speed on the CHB and have been trying to compile a simple hello world kernel module. However I haven't had any success. It seems there are some missing files. To compile the module, it requires the /lib/modules/<kernel ver>/build directory. The build directory on the CHB is a sym link to :
however this directory does not exist. I then downloaded the CHB kernel source from the chumby source file page, installed it on the SD card, removed the symlinks, and redirected the sym links to the kernel source on the SD card. After that, when I tried to compile, I got the error "Kernel configuration is invalid".
I've run "make oldconfig" and am currently running "make prepare". I'm hoping this takes care of things, but does anyone know an easier way to compile kernel modules?