[Asterisk-Users] spandsp Makefile.patch

Ryan Courtnage ryan at voxbox.ca
Fri Apr 30 14:23:29 MST 2004


On 27-Apr-04, at 4:30 AM, reseaux wrote:

> Dear
> 	i have download everything from OpenCall and compile it but seems 
> with the
> new cvs Stable 1_0 there is a problem in the app_dtmftotext see below:
> --------------------------------
> [app_dtmftotext.so]Apr 27 11:45:12 WARNING[16384]: loader.c:240
> ast_load_resource: /usr/lib/asterisk/modules/app_dtmftotext.so: 
> undefined
> symbol:
> __gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead__
> Apr 27 11:45:12 WARNING[16384]: loader.c:408 load_modules: Loading 
> module
> app_dtmftotext.so failed!
> Ouch ... error while writing audio data: : Broken pipe
> Ouch ... error while writing audio data: : Broken pipe


I just tried installing this and got the same error.

A helpful tip from #asterisk:
> the replacement gethostbyname is ast_gethostbyname and is defined in 
> asterisk.c

so I changed line 395 of dmtftotext.c from:

serverhost = gethostbyname(host);

to:

serverhost = ast_gethostbyname(host,0);

Not sure if i made the right change, but it now builds and * starts.

Cheers

> -------------------------------
> Thanks in advance
> Dimitri
>
> On Monday 26 April 2004 07:58 pm, Denis E. Pilon wrote:
>> Did you not say you found everything at www.opencall.org?
>>
>> I guess you missed the link to the source:
>>
>> ftp://ftp.opencall.org/pub/spandsp
>>
>> Once you go there....you will see the patch, plus the needed .c and .h
>> files.
>>
>> DP
>>
>>
>> On Mon, 2004-04-26 at 13:21, Mark Messmore, Technical Support,
>>
>> University Telcom Inc. wrote:
>>> OK...I pulled down spandsp 0.0.1k today and followed the
>>> instructions.  However, I'm not seeing a Makefile.patch anywhere.
>>> I've looked through the last few months of messages and haven't found
>>> any reference to it missing for anyone else either...so...what am I
>>> messing up here?
>>>
>>> Thanks.
>>>
>>> Mark
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list