Re: Include directories
On Thu, 30 Mar 2000, Viktor Rosenfeld wrote:
> I installed some software from the net, for which I needed to compile a
> kernel module. The compile went fine (except for some warnings), but
> when I went to insmod the module, insmod would say that this kernel
> module was compiled for 2.0.36.
...
> So basically my question is: Is it OK to softlink the include
> directories? Or does the "don't mess with anything, but
> /usr/local/"-policy aplly and is there a Right Way [TM] to change the
> development environment? What other directories have to be changed
> (/usr/include/scsi seems to be a good candidate, too.)?
You'd need kernel-headers package with the correct version (should be the
same with the kernel's). It happened to me once. The problem is in
"version.h"; each kernel uses it's own version.h. Unfortunately, when you
download kernel-source package, the headers (include files) are not
included; so you'd need a separate download.
Oki
Reply to: