JRD wrote:Maybe we must check what is missing from kernel-headers and correct it ?
Depending on the kernel version, it seems to be a moving target. For the 2.6.28 kernel, I found this:
http://support.zenwalk.org/viewtopic.php?f=7&t=21680; which eventually got fixed in one of the later version of 2.6.30. For the 2.6.30 kenrel, i found this:
http://support.zenwalk.org/viewtopic.php?f=42&t=24487. Since this is posted in the developers forum, gapan probabily doesn't have access so I copy it here.
laprjns from ZW forum wrote: Although the problem in this thread got fixed, it came back on the 2.6.29 kernel and continues on the 2.6.30 kernel. These kernels with just the kernelheader package installed, do not allow compiling of drivers for VirtualBox and NVIDIA. The kernelsource package; a package that is very large and takes a long time to download and install, is required.
Since this doesn't seem to be the case for other distributions I have looked into what needs to be added to the header package to allow the compiling of these drivers. I found that adding /trace directory and it's 15 files found in the /usr/src/linux-2.6.30.5/include/ directory of the kernelsource package to the kernelheader directory tree fixed the problem. Just adding this one directory , ~ 18kb in size, allows the compiling of these drivers without installing the kernel source package.
Rich
I never could figure out what was missing in the 2.6.29 kernel; it wasn't really around that long on ZW. I did take a quick look at the Salix 2.6.29 kernel and my impression was that there was a lot more missing than just a link and /or a directory.
Rich