[asterisk-users] Can't compile DAHDI - wrong kernel source

Thermal Wetland thermalwetland at gmail.com
Thu Jul 15 02:05:20 CDT 2010


On Wed, Jul 14, 2010 at 8:43 PM, Chandrakant Solanki
<solanki.chandrakant at gmail.com> wrote:
> Hi
>
> Following steps to do...
>
> 1] # cd /usr/src/kernels/
> 2] # ln -s 2.6.18-128.2.1.el5.028stab064.7-i686 2.6.18-028stab064.7
>
> Try this 'n let me know... Hope this will work fine...

Seems like that should have worked!


[root at ip-97-74-119-59 kernels]# ls -l
total 117492
drwxr-xr-x 21 root root     4096 Jul 14 18:40
2.6.18-128.2.1.el5.028stab064.7-i686
drwxr-xr-x 19 root root     4096 Jul 14 19:35 2.6.18-164.11.1.el5-PAE-i686
drwxr-xr-x 19 root root     4096 Jul 14 19:36 2.6.18-164.11.1.el5-debug-i686
drwxr-xr-x 19 root root     4096 Jul 13 20:25 2.6.18-164.11.1.el5-i686
drwxr-xr-x 19 root root     4096 Jul 14 19:36 2.6.18-164.11.1.el5-xen-i686
lrwxrwxrwx  1 root root       28 Jul 14 19:35
2.6.18-164.11.1.el5PAE-i686 -> 2.6.18-164.11.1.el5-PAE-i686
lrwxrwxrwx  1 root root       30 Jul 14 19:36
2.6.18-164.11.1.el5debug-i686 -> 2.6.18-164.11.1.el5-debug-i686
lrwxrwxrwx  1 root root       28 Jul 14 19:36
2.6.18-164.11.1.el5xen-i686 -> 2.6.18-164.11.1.el5-xen-i686
drwxrwxr-x 20 root root     4096 Jul 14 18:45 linux-2.6.18.8
-rw-r--r--  1 root root 52488302 Jul 14 18:16 linux-2.6.18.8.tar.gz
drwxrwxr-x 24 root root     4096 Jul 14 19:05 linux-2.6.34.1
-rw-r--r--  1 root root 67658955 Jul  5 11:27 linux-2.6.34.1.tar.bz2

[root at ip-97-74-119-59 kernels]# ln -s
2.6.18-128.2.1.el5.028stab064.7-i686 2.6.18-028stab064.7

[root at ip-97-74-119-59 kernels]# ls -l
total 117492
lrwxrwxrwx  1 root root       36 Jul 15 00:03 2.6.18-028stab064.7 ->
2.6.18-128.2.1.el5.028stab064.7-i686
drwxr-xr-x 21 root root     4096 Jul 14 18:40
2.6.18-128.2.1.el5.028stab064.7-i686
drwxr-xr-x 19 root root     4096 Jul 14 19:35 2.6.18-164.11.1.el5-PAE-i686
drwxr-xr-x 19 root root     4096 Jul 14 19:36 2.6.18-164.11.1.el5-debug-i686
drwxr-xr-x 19 root root     4096 Jul 13 20:25 2.6.18-164.11.1.el5-i686
drwxr-xr-x 19 root root     4096 Jul 14 19:36 2.6.18-164.11.1.el5-xen-i686
lrwxrwxrwx  1 root root       28 Jul 14 19:35
2.6.18-164.11.1.el5PAE-i686 -> 2.6.18-164.11.1.el5-PAE-i686
lrwxrwxrwx  1 root root       30 Jul 14 19:36
2.6.18-164.11.1.el5debug-i686 -> 2.6.18-164.11.1.el5-debug-i686
lrwxrwxrwx  1 root root       28 Jul 14 19:36
2.6.18-164.11.1.el5xen-i686 -> 2.6.18-164.11.1.el5-xen-i686
drwxrwxr-x 20 root root     4096 Jul 14 18:45 linux-2.6.18.8
-rw-r--r--  1 root root 52488302 Jul 14 18:16 linux-2.6.18.8.tar.gz
drwxrwxr-x 24 root root     4096 Jul 14 19:05 linux-2.6.34.1
-rw-r--r--  1 root root 67658955 Jul  5 11:27 linux-2.6.34.1.tar.bz2

[root at ip-97-74-119-59 kernels]# cd
/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/

[root at ip-97-74-119-59 dahdi-linux-complete-2.3.0.1+2.3.0]# make all
make -C linux all
make[1]: Entering directory
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 2.6.18-028stab064.7
kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'
make: *** [all] Error 2
[root at ip-97-74-119-59 dahdi-linux-complete-2.3.0.1+2.3.0]#



More information about the asterisk-users mailing list