Re: FLAME____ Why is the kernel source not included

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Filippos Klironomos wrote:
As Jakob mentioned earlier, properly-written modules should be built against
the headers in /lib/modules/`uname -r`/build rather than /usr/src; it may well
be that lots of module providers don't currently do this despite the fact that
it's been the standard way of doing things for some time time now, but if the
module writers can't keep up with the build system, they're hardly likely to
be able to keep up with changes in the underlying kernel either.

I have another probably silly question. Doesn't /lib/modules/`uname -r`/build usually point to /usr/src/linux?

I would swear it does, but I am away from my machine right now...

On FC1, yes:
ls -ld / /lib /lib/modules /lib/modules/`uname -r` /lib/modules/`uname -r`/build
drwxr-xr-x 25 root root 4096 Sep 29 15:30 /
drwxr-xr-x 9 root root 4096 Sep 16 05:21 /lib
drwxr-xr-x 6 root root 4096 Aug 12 16:10 /lib/modules
drwxr-xr-x 4 root root 4096 Aug 12 16:10 /lib/modules/2.4.22-1.2199.nptl
lrwxrwxrwx 1 root root 41 Aug 12 16:10 /lib/modules/2.4.22-1.2199.nptl/build -> ../../../usr/src/linux-2.4.22-1.2199.nptl


On FC2, no:
ls -ld / /lib /lib/modules /lib/modules/`uname -r` /lib/modules/`uname -r`/build
drwxr-xr-x  34 root root 4096 Aug 25 09:52 /
drwxr-xr-x   9 root root 4096 Sep 14 05:10 /lib
drwxr-xr-x   7 root root 4096 Sep 29 12:08 /lib/modules
drwxr-xr-x   5 root root 4096 Sep 27 14:21 /lib/modules/2.6.8-1.521
drwxr-xr-x  17 root root 4096 Aug 23 09:56 /lib/modules/2.6.8-1.521/build

Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux