On Friday 15 October 2004 11:50, Paul Howarth wrote: >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. Mmm, call me puzzled, Paul. 'build' is a link on this upgraded to FC2 system, not a directory as you are showing. Whence the difference he asks? -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.