Announcement

Collapse
No announcement yet.

Kernel header/sources and correct linking

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kernel header/sources and correct linking

    Hello,

    I need to compile a kernel module and need to have the following links to the kernel source:
    /lib/modules/`uname -r`/build
    /lib/modules/`uname -r`/source

    I have this setup:
    Code:
    root@frodo:/usr/src# ls -al /lib/modules/`uname -r`/build
    lrwxrwxrwx 1 root root 40 2007-07-05 23:16 /lib/modules/2.6.20-16-generic/build -> /usr/src/linux-headers-2.6.20-16-generic
    root@frodo:/usr/src# ls -al /lib/modules/`uname -r`/source
    lrwxrwxrwx 1 root root 5 2007-08-22 00:03 /lib/modules/2.6.20-16-generic/source -> build
    Is this correct?

    SOLVED: It seems correct

    #2
    Re: Kernel header/sources and correct linking

    Hint hint: `foo` is trying its best to be obsoleted. Use $(foo) instead.
    For external use only.

    Comment


      #3
      Re: Kernel header/sources and correct linking

      Thanks for hint....I like it better

      Comment

      Working...
      X