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

Thermal Wetland thermalwetland at gmail.com
Thu Jul 15 15:15:47 CDT 2010


On Wed, Jul 14, 2010 at 11:34 PM, Tzafrir Cohen
<tzafrir.cohen at xorcom.com> wrote:
> The DAHDI Makefile looks for the kernel source by default in:
>
>  /lib/modules/`uname -r`/build
>
> This is normally a symlink that points to the directory with the
> (possibly partial) kernel source tree.
>
> It seems that the kernel package you have installed did not set up this
> symlink. You can create it yourself.
>
> Alternatively, set set KSRC explicitly to the (full path to) the kernel
> tree:
>
>  make KSRC=/usr/src/<whatever>
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir

Creating the link was the answer!  Even when I installed the RPM the
link in /lib/modules was not created.

After make all, make install, and make config DAHDI will not start.
in the /drivers/dahdi folder I only have dahdi_dummy.c
All the other files have .ko .mod.c .o etc
Is this related?

[root at ip-97-74-119-59 dahdi-linux-complete-2.3.0.1+2.3.0]# dahdi_cfg -vvvvv
DAHDI Tools Version - 2.3.0
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected

The only warning I see is "WARNING: could not find
/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_32.o.cmd
for /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o"

Does that ring a bell with any one?

-- 
-Thermal



More information about the asterisk-users mailing list