I_
CentOS 5.3 i686, Dedicated server
required yum packages installed, updated, upgraded, rebooted
firewall and selinux disabled
II_
freePBX 2.5.1
asterisk-1.6.1-current
dahdi-linux-complete-current
downloaded and extracted to the /usr/src
III_
root@chicago [/usr/src]# rpm -q kernel kernel-devel
kernel-2.6.18-128.1.14.el5
kernel-devel-2.6.18-128.1.14.el5
root@chicago [/usr/src]# uname -r
2.6.18-128.1.14.el5
root@chicago [/usr/src/dahdi-linux-complete-2.2.0-rc5+2.2.0-rc3]# make; make install
!!!You do not appear to have the sources for the 2.6.18-128.1.14.el5 kernel !!!installed.
IV_
root@chicago [/usr/src]# cd /lib/modules/uname -r
root@chicago [/lib/modules/2.6.18-128.1.14.el5]# rm -f build
root@chicago [/lib/modules/2.6.18-128.1.14.el5]# ln -s /usr/src/2.6.18-128.1.14.el5 build
root@chicago [/lib/modules/2.6.18-128.1.14.el5]# ll
total 1224
drwxr-xr-x 6 root root 4096 Jun 21 17:30 ./
drwxr-xr-x 4 root root 4096 Jun 21 17:23 …/
lrwxrwxrwx 1 root root 28 Jun 21 17:30 build -> /usr/src/2.6.18-128.1.14.el5
drwxr-xr-x 2 root root 4096 Jun 17 06:07 extra/
drwxr-xr-x 10 root root 4096 Jun 21 05:38 kernel/
-rw-r–r-- 1 root root 267805 Jun 21 05:38 modules.alias
-rw-r–r-- 1 root root 69 Jun 21 05:38 modules.ccwmap
-rw-r–r-- 1 root root 223262 Jun 21 05:38 modules.dep
-rw-r–r-- 1 root root 147 Jun 21 05:38 modules.ieee1394map
-rw-r–r-- 1 root root 375 Jun 21 05:38 modules.inputmap
-rw-r–r-- 1 root root 2314 Jun 21 05:38 modules.isapnpmap
-rw-r–r-- 1 root root 74 Jun 21 05:38 modules.ofmap
-rw-r–r-- 1 root root 203393 Jun 21 05:38 modules.pcimap
-rw-r–r-- 1 root root 589 Jun 21 05:38 modules.seriomap
-rw-r–r-- 1 root root 123090 Jun 21 05:38 modules.symbols
-rw-r–r-- 1 root root 349700 Jun 21 05:38 modules.usbmap
lrwxrwxrwx 1 root root 5 Jun 21 05:38 source -> build
drwxr-xr-x 2 root root 4096 Jun 17 06:07 updates/
drwxr-xr-x 2 root root 4096 Jun 17 06:07 weak-updates/
root@chicago [/usr/src/dahdi-linux-complete-2.2.0-rc5+2.2.0-rc3]# make; make install
!!!You do not appear to have the sources for the 2.6.18-128.1.14.el5 kernel !!!installed.
Is there any IDEA?!