<div dir="ltr">Please try to add following includes in dsp.c around #include <math.h><br><br>#include <sys/types.h><br>#include <stdlib.h><br>#include <unistd.h><br>#include <string.h><br><br>
#include <math.h><br><br>#include <errno.h><br>#include <stdio.h><br><br>If you find this useful I will update patch.<br><br>Best regards<br>Daniel.<br><br><br><br><div class="gmail_quote">On Fri, Sep 26, 2008 at 5:48 PM, Mark T <span dir="ltr"><<a href="mailto:mark@astfin.org">mark@astfin.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, it does compile (I mean plain asterisk).<br>
See<br>
<a href="https://astfin.svn.sourceforge.net/svnroot/astfin/software/astfin/astfin2/trunk/" target="_blank">https://astfin.svn.sourceforge.net/svnroot/astfin/software/astfin/astfin2/trunk/</a><br>
<font color="#888888"><br>
M.<br>
</font><div><div></div><div class="Wj3C7c">----- Original Message -----<br>
From: Daniel Ferenci<br>
To: <a href="mailto:mctiew@yahoo.com">mctiew@yahoo.com</a> ; Asterisk Developers Mailing List<br>
Sent: Friday, September 26, 2008 10:44 AM<br>
Subject: Re: [asterisk-dev] T38 fax gateway announcement<br>
<br>
<br>
Yes <a href="http://www.nethemba.com/asterisk/asterisk-1.4.20.1_t38_v2.diff" target="_blank">http://www.nethemba.com/asterisk/asterisk-1.4.20.1_t38_v2.diff</a> is link<br>
to <a href="http://1.4.20.1" target="_blank">1.4.20.1</a> version patch.<br>
<br>
There is another link:<br>
<a href="http://bugs.digium.com/file_download.php?file_id=20047&type=bug" target="_blank">http://bugs.digium.com/file_download.php?file_id=20047&type=bug</a><br>
for svn currentversion patch.<br>
<br>
I've never compiled with uClibc.<br>
Can you check if the vanilla asterisk-1.4.20.1 is compilable against uClibc?<br>
<br>
Bets regards<br>
Daniel.<br>
<br>
<br>
<br>
On Fri, Sep 26, 2008 at 2:52 PM, Ming-Ching Tiew <<a href="mailto:mctiew@yahoo.com">mctiew@yahoo.com</a>> wrote:<br>
<br>
<br>
<br>
--- On Fri, 9/26/08, Daniel Ferenci <<a href="mailto:daniel.ferenci@googlemail.com">daniel.ferenci@googlemail.com</a>> wrote:<br>
<br>
> From: Daniel Ferenci <<a href="mailto:daniel.ferenci@googlemail.com">daniel.ferenci@googlemail.com</a>><br>
> Subject: [asterisk-dev] T38 fax gateway announcement<br>
> To: <a href="mailto:asterisk-dev@lists.digium.com">asterisk-dev@lists.digium.com</a><br>
> Date: Friday, September 26, 2008, 9:20 AM<br>
<br>
> Hi,<br>
><br>
> there is <a href="http://bugs.digium.com/view.php?id=13405" target="_blank">http://bugs.digium.com/view.php?id=13405</a> updated<br>
> version of fax<br>
> (T38) gateway.<br>
> Your bug reports and questions are welcome.<br>
><br>
> Thank you in advance.<br>
><br>
<br>
<br>
Is this the link for the patch ?<br>
<br>
<br>
<a href="http://www.nethemba.com/asterisk/asterisk-1.4.20.1_t38_v2.diff" target="_blank">http://www.nethemba.com/asterisk/asterisk-1.4.20.1_t38_v2.diff</a><br>
<br>
I applied the said patch to asterisk-1.4.20.1 source, configure<br>
and make, this is the error I got ( I am using uclibc 0.9.28 ) :-<br>
<br>
<br>
.....<br>
[CC] app_fax.c -> app_fax.o<br>
[LD] app_fax.o -> app_fax.so<br>
[CC] app_faxgateway.c -> app_faxgateway.o<br>
[LD] app_faxgateway.o -> app_faxgateway.so<br>
....<br>
<br>
[CC] dsp.c -> dsp.o<br>
In file included from /usr/include/stdio.h:73,<br>
from<br>
/build_i386/asterisk-1.4.20.1/include/asterisk/abstract_jb.h:34,<br>
from<br>
/build_i386/asterisk-1.4.20.1/include/asterisk/channel.h:91,<br>
from dsp.c:51:<br>
/usr/include/bits/uClibc_stdio.h:278: error: expected<br>
specifier-qualifier-list before 'use_ast_mutex_t_instead_of_pthread_mut<br>
make[1]: *** [dsp.o] Error 1<br>
make: *** [main] Error 2<br>
<br>
<br>
Regards.<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br></div>