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<span> AST_EXT_LIB_CHECK arguments in <a href="http://configure.ac">configure.ac</a> file? </span>Thanks.<br>
<br><div class="gmail_quote">On Sun, Jul 8, 2012 at 7:26 PM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
----- Original Message -----<br>
<br>
> From: "Usman Raza" <<a href="mailto:usman.r123@gmail.com">usman.r123@gmail.com</a>><br>
</div>> To: "Asterisk Developers Mailing List"<br>
> <<a href="mailto:asterisk-dev@lists.digium.com">asterisk-dev@lists.digium.com</a>><br>
> Sent: Sunday, July 8, 2012 4:49:39 AM<br>
> Subject: Re: [asterisk-dev] Asterisk module compile<br>
<div class="im"><br>
> Initially, i wrote three files, main.c, ringbuffer.c, ringbuffer.h<br>
> and got my output file through<br>
> cc -lcurl -lpthread -I/home/exia/NetBeansProjects/TestProg/ main.c<br>
> ringbuffer.c -o output.<br>
> Afterwards i wrote main.c as a asterisk module. So i have a module<br>
> file, ringbuffer.c and ringbuffer.h. Now i am setting the * makefile<br>
> flags but cant seem to get it working (LDFLAGS work ok).<br>
<br>
</div>That still does not show any errors - so I still cannot answer answer<br>
any questions you may have.<br>
<br>
Regardless, it sounds like you're operating outside of the Asterisk build<br>
system. As such, you're probably going to run into a host of problems -<br>
and it would be extremely difficult for anyone to help you support a<br>
different mechanism of building modules in Asterisk.<br>
<br>
I highly suggest you look at the Asterisk Build System Architecture<br>
wiki page for guidance.<br>
<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Build+System+Architecture" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Build+System+Architecture</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Matthew Jordan<br>
Digium, Inc. | Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</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>
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>