kernel source - building module (troubles)

Terry td3201 at gmail.com
Mon Jun 6 01:59:28 UTC 2005


I am attempting to follow the release notes so that I can install my cisco 
vpn client. The release notes state that "an exploded source tree is not 
required to build kernel modules against the currently in-use kernel". It 
goes on to say to use a Makefile that points to the KDIR of 
"/lib/modules/$(shell uname -r)/build". Here is some information about my 
environment:

[root at linux vpnclient]# rpm -q kernel
kernel-2.6.11-1.1369_FC4

[root at linux ~]# ls -l /lib/modules/2.6.11-1.1369_FC4/
total 1044
lrwxrwxrwx 1 root root 47 Jun 5 20:57 build -> 
../../../usr/src/kernels/2.6.11-1.1369_FC4-i686
drwxr-xr-x 9 root root 4096 Jun 2 22:04 kernel
-rw-r--r-- 1 root root 194071 Jun 5 20:57 modules.alias
-rw-r--r-- 1 root root 69 Jun 5 20:57 modules.ccwmap
-rw-r--r-- 1 root root 233753 Jun 5 20:57 modules.dep
-rw-r--r-- 1 root root 813 Jun 5 20:57 modules.ieee1394map
-rw-r--r-- 1 root root 357 Jun 5 20:57 modules.inputmap
-rw-r--r-- 1 root root 16284 Jun 5 20:57 modules.isapnpmap
-rw-r--r-- 1 root root 168631 Jun 5 20:57 modules.pcimap
-rw-r--r-- 1 root root 89252 Jun 5 20:57 modules.symbols
-rw-r--r-- 1 root root 267888 Jun 5 20:57 modules.usbmap
lrwxrwxrwx 1 root root 5 Jun 5 20:57 source -> build

Why is the build symlink pointing to that directory? Its a broken symlink. 
What am I missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20050605/d40e96d0/attachment.htm>


More information about the fedora-test-list mailing list