[asterisk-dev] Asterisk module compile

Usman Raza usman.r123 at gmail.com
Sun Jul 8 12:28:54 CDT 2012


I was unable to load the module due to undefined symbol error on functions
i have defined in ringbuffer.h. Following the asterisk build system now,
could you tell me about AST_EXT_LIB_CHECK arguments in configure.ac file?
Thanks.

On Sun, Jul 8, 2012 at 7:26 PM, Matthew Jordan <mjordan at digium.com> wrote:

>
> ----- Original Message -----
>
> > From: "Usman Raza" <usman.r123 at gmail.com>
> > To: "Asterisk Developers Mailing List"
> > <asterisk-dev at lists.digium.com>
> > Sent: Sunday, July 8, 2012 4:49:39 AM
> > Subject: Re: [asterisk-dev] Asterisk module compile
>
> > Initially, i wrote three files, main.c, ringbuffer.c, ringbuffer.h
> > and got my output file through
> > cc -lcurl -lpthread -I/home/exia/NetBeansProjects/TestProg/ main.c
> > ringbuffer.c -o output.
> > Afterwards i wrote main.c as a asterisk module. So i have a module
> > file, ringbuffer.c and ringbuffer.h. Now i am setting the * makefile
> > flags but cant seem to get it working (LDFLAGS work ok).
>
> That still does not show any errors - so I still cannot answer answer
> any questions you may have.
>
> Regardless, it sounds like you're operating outside of the Asterisk build
> system.  As such, you're probably going to run into a host of problems -
> and it would be extremely difficult for anyone to help you support a
> different mechanism of building modules in Asterisk.
>
> I highly suggest you look at the Asterisk Build System Architecture
> wiki page for guidance.
>
> https://wiki.asterisk.org/wiki/display/AST/Build+System+Architecture
>
> --
> Matthew Jordan
> Digium, Inc. | Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: http://digium.com & http://asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> 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/20120708/e89ab88e/attachment.htm>


More information about the asterisk-dev mailing list