[asterisk-dev] T38 fax gateway announcement

Ming-Ching Tiew mctiew at yahoo.com
Fri Sep 26 15:45:37 CDT 2008




--- On Fri, 9/26/08, Daniel Ferenci <daniel.ferenci at googlemail.com> wrote:

> From: Daniel Ferenci <daniel.ferenci at googlemail.com>
> Subject: Re: [asterisk-dev] T38 fax gateway announcement
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Date: Friday, September 26, 2008, 4:29 PM
> Please try to add following includes in dsp.c  around
> #include <math.h>
> 
> #include <sys/types.h>
> #include <stdlib.h>
> #include <unistd.h>
> #include <string.h>
> 
> #include <math.h>
> 
> #include <errno.h>
> #include <stdio.h>
> 
> If you find this useful I will update patch.
> 

Yes, the dsp.c compiled with the said mod, compilation went on 
but now the error is :-

   [CC] udptl.c -> udptl.o
In file included from /usr/include/stdio.h:73,
                 from /floppyfw/build_i386/asterisk-1.4.20.1/include/asterisk/abstract_jb.h:34,
                 from /floppyfw/build_i386/asterisk-1.4.20.1/include/asterisk/channel.h:91,
                 from /floppyfw/build_i386/asterisk-1.4.20.1/include/asterisk/udptl.h:34,
                 from udptl.c:59:
/usr/include/bits/uClibc_stdio.h:278: error: expected specifier-qualifier-list before 'use_ast_mutex_t_instead_of_pthread_mutex_t'
udptl.c: In function 'ast_udptl_read':
udptl.c:653: warning: implicit declaration of function 'recvfrom'
udptl.c: In function 'ast_udptl_new_with_bindaddr':
udptl.c:805: warning: implicit declaration of function 'socket'
udptl.c:814: warning: implicit declaration of function 'setsockopt'
udptl.c:822: warning: implicit declaration of function 'bind'
udptl.c: In function 'ast_udptl_write':
udptl.c:930: warning: implicit declaration of function 'sendto'
udptl.c: In function '__ast_udptl_reload':
udptl.c:1240: warning: unused variable 'config_flags'
make[1]: *** [udptl.o] Error 1
make: *** [main] Error 2

I supposed it has the same header problem with dsp.c.

Regards.


      



More information about the asterisk-dev mailing list