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

bruce bruce bruceb444 at gmail.com
Wed Jul 14 09:55:46 CDT 2010


I am stuck with the same problem but I have used asterisk yum repository and
it worked by itself without me worrying for kernel stuff.

However, I need to install speex codec and now I am stuck as it doesn't get
picked up by the yum asterisk install somehow. I have lib speex and speex
already installed and when doing "yum install asterisk16" I don't see speex
in "core show translation" Is there anything specific I have to do?

Do I have to build from source as well?

-Sorry, didn't mean to hijack the thread.

Thanks,
Bruce

On Wed, Jul 14, 2010 at 5:08 AM, Chandrakant Solanki <
solanki.chandrakant at gmail.com> wrote:

> Hi
>
> If you install rpm from any location it goes to its default location.
>
> You just go for above steps. For kernel you can go for http://kernel.org
>
> --
> Regards,
>
> Chandrakant Solanki
>
>
> On Wed, Jul 14, 2010 at 2:06 PM, liuxin <nyliuxin518 at gmail.com> wrote:
>
>> Hi.
>> The best easy way is:
>> copy kernel-devel-2.6.18-028stab064.7.rpm to /usr/src
>> then run rpm -ivh kernel-devel-2.6.18-028stab064.7.rpm
>>
>> 2010/7/14 Gareth Blades <list-asterisk at skycomuk.com>
>>
>>  Thermal Wetland wrote:
>>> > I have a virtual server with godaddy but can not compile DAHDI as it
>>> > complains that I do not have the correct kernel source.
>>> >
>>> > The package installed is - kernel-devel-2.6.18-164.11.1.el5.i686:
>>> > Package kernel-devel-2.6.18-164.11.1.el5.i686 already installed and
>>> > latest version
>>> > Nothing to do
>>> >
>>> > uname -a returns:
>>> > Linux ip-XXX-XXX-XXX-XXX.ip.secureserver.net<http://ip-xxx-xxx-xxx-xxx.ip.secureserver.net/>
>>> > <http://ip-XXX-XXX-XXX-XXX.ip.secureserver.net<http://ip-xxx-xxx-xxx-xxx.ip.secureserver.net/>>
>>> 2.6.18-028stab064.7 #1
>>> > SMP Wed Aug 26 13:11:07 MSD 2009 i686 i686 i386 GNU/Linux
>>> >
>>> > When I try to compile DAHDI it fails with:
>>> > 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.
>>> >
>>> > Is there a way to trick DAHDI to use the installed kernel?
>>> >
>>> > Thanks for the help!
>>> >
>>> > --
>>> > -Thermal
>>> >
>>>
>>> What kernel versions do you have installed?
>>>
>>> If you are currently running an older kernel but installed a newer
>>> kernel and sources but havent rebooted to activate the new one yet then
>>> it may still be trying to locate the source for the older running kernel.
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>               http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100714/f93ab01c/attachment.htm 


More information about the asterisk-users mailing list