[asterisk-dev] T38 fax gateway announcement

Daniel Ferenci daniel.ferenci at googlemail.com
Mon Sep 29 02:42:23 CDT 2008


Hi,

thank you.
I will apply your fix and release it in new fax gateway patch version.

Best regards
Daniel.


On Fri, Sep 26, 2008 at 11:27 PM, Ming-Ching Tiew <mctiew at yahoo.com> wrote:

>
> --- On Fri, 9/26/08, Ming-Ching Tiew <mctiew at yahoo.com> wrote:
>
> > From: Ming-Ching Tiew <mctiew at yahoo.com>
> > Subject: Re: [asterisk-dev] T38 fax gateway announcement
> > >
> >
> > Some similar mods to the header ( also added
> > <sys/socket.h> to suppress socket warnings ), I added
> > managed to get it compile on :-
> >
> >    [CC] udptl.c -> udptl.o
> > udptl.c: In function '__ast_udptl_reload':
> > udptl.c:1246: warning: unused variable
> > 'config
> _flags'
> >
> > But now I got this linkage error finally :-
> >
> >    [LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o
> > alaw.o app.o ast_expr2.o ast_expr2f.o asterisk.o astmm.o
> > astobj2.o audiohook.o autoservice.o callerid.o cdr.o
> > channel.o chanvars.o cli.o config.o cryptostub.o db.o
> > devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o
> > fixedjitterbuf.o frame.o fskmodem.o global_datastores.o
> > http.o image.o indications.o io.o jitterbuf.o loader.o
> > logger.o manager.o md5.o netsock.o pbx.o plc.o privacy.o
> > rtp.o say.o sched.o sha1.o slinfactory.o srv.o
> > stdtime/localtime.o strcompat.o tdd.o term.o threadstorage.o
> > translate.o udptl.o ulaw.o utils.o editline/libedit.a
> > db1-ast/libdb1.a -> asterisk
> > acl.o: In function `get_local_address':
> > /build_i386/asterisk-1.4.20.1/main/acl.c:175: undefined
> > reference to `getifaddrs'
> > /build_i386/asterisk-1.4.20.1/main/acl.c:243: undefined
> > reference to `freeifaddrs'
> > /floppyfw/build_i386/asterisk-1.4.20.1/main/acl.c:243:
> > undefined reference to `freeifaddrs'
> > collect2: ld returned 1 exit status
> > make[1]: *** [asterisk] Error 1
> > make: *** [main] Error 2
> >
> > This error, it was once upon the time seen with an original
> > asterisk distro ( 1.4.18.x ? ), but somewhere along the line
> > ( 1.4.19.x ? ), it has been fixed already. But the
> > faxgateway patch seems to bring it on again.
> >
> > Cheers.
> >
> >
>
>
> That was a manual mod and compile. I created a additional patch to patch
> over the faxgateway patch, then only I configure and make, the said linkage
> error does not exist anymore. Now asterisk is compiled. I will try the
> program later. This is the diff :-
>
> --- a/main/dsp.c        2008-09-26 14:39:32 -0600
> +++ b/main/dsp.c        2008-09-26 14:40:27 -0600
> @@ -44,7 +44,13 @@
>
>  ASTERISK_FILE_VERSION(__FILE__, "$Revision: 114210 $")
>
> +#include <sys/types.h>
> +#include <stdlib.h>
> +#include <unistd.h>
> +#include <string.h>
>  #include <math.h>
> +#include <errno.h>
> +#include <stdio.h>
>
>  #include "asterisk/frame.h"
>  #include "asterisk/channel.h"
> --- a/main/udptl.c      2008-09-26 14:47:29 -0600
> +++ b/main/udptl.c      2008-09-26 14:54:51 -0600
> @@ -54,6 +54,12 @@
>  #include <signal.h>
>  #include <fcntl.h>
>  #include <errno.h>
> +#include <stdio.h>
> +#include <sys/types.h>
> +#include <stdlib.h>
> +#include <unistd.h>
> +#include <string.h>
> +#include <sys/socket.h>
>
>  #include "asterisk/udptl.h"
>  #include "asterisk/frame.h"
>
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080929/a6253de6/attachment.htm 


More information about the asterisk-dev mailing list