I am on a freshly installed 11.0 with 2.6.25.11-0.1-default and I am missing linux/timer.h even though the kernel headers are installed. timer.h only exists in the kernel source. I need to compile a third party kernel module which needs the data structures defined in timer.h
I am puzzled and would appreciate help.
>
> I am on a freshly installed 11.0 with 2.6.25.11-0.1-default and I am
> missing linux/timer.h even though the kernel headers are installed.
> timer.h only exists in the kernel source. I need to compile a third
> party kernel module which needs the data structures defined in timer.h
> I am puzzled and would appreciate help.
>
> regards
> Carsten
>
>
I’m afraid you’ll need to install the kernel source to obtain that header
file you need. You are correct, it exists ONLY in the kernel source. (no, I
don’t know why it’s not in the kernel-headers… to be honest, I’ve never
used the kernel-headers package myself. I’ve always installed the
kernel-sources, since they are complete, whereas to me the kernel-headers are
a (possibly wrong) subset of the kernel)
Install the kernel-source and try your compilation again.