Results 1 to 3 of 3

Thread: linux/timer.h

  1. #1
    carstenr NNTP User

    Default linux/timer.h

    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

  2. #2
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: linux/timer.h

    On Tue, 19 Aug 2008 11:16:03 GMT
    carstenr <carstenr@no-mx.forums.opensuse.org> wrote:

    >
    > 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.

    Loni

    --
    L R Nix
    lornix@lornix.com


  3. #3
    carstenr NNTP User

    Default Re: linux/timer.h

    Thanks, I have done that now.
    with regards
    Carsten

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •