<div dir="ltr">Ok, that helped - looks like I'm linking correctly now. <div><br></div><div>Different question, I remember their used to be a "safe string copy" function that I'm supposed to use,<br>instead of using strcpy. Mainly, I want to parse my configuration file correctly, but I can't find any <br>specific methodology for doing this in a uniform asteriskish manner.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 11, 2017 at 10:37 AM Alexander Traud <<a href="mailto:pabstraud@compuserve.com">pabstraud@compuserve.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> The new [module] relies on a library that I need to introduce to the<br>
> linker, however, I've tried to figure out how the autotools work in<br>
> there<br>
<br>
Took me a while to understand as well. Have a look at audio-codec modules like the one for Codec 2: <<a href="http://github.com/traud/asterisk-codec2" rel="noreferrer" target="_blank">http://github.com/traud/asterisk-codec2</a>>.<br>
<br>
The required patches for the autotools are in "build_codec2.patch". Then, in your actual module, you add a MODULEINFO at the start, like shown in "codecs/codec_codec2.c". At the end, you have to call "./bootstrap.sh" once before you start "./configure". Then, make should be happy.<br>
<br>
If that did not help either, please, explain in more detail, for example the error message you are facing or which library you try to link. Are you able to compile against its header files already? Furthermore, in which directory of the Asterisk project are your added source files?<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">Kind Regards,</span><span style="color:rgb(31,73,125)"></span></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">  Nir Simionovich</span><span style="color:rgb(31,73,125)"></span></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">  GreenfieldTech</span><span style="color:rgb(31,73,125)"></span></font></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><font size="3"><span style="font-family:"courier new"">  (schedule) </span></font><font face="Courier New" size="3"><a href="http://nirsimionovich.appointy.com/" target="_blank" style="color:rgb(17,85,204)">http://nirsimionovich.appointy.com/</a></font></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">  (w)<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="http://www.greenfieldtech.net/" target="_blank" style="color:rgb(17,85,204)"><span style="color:blue"><font size="3">http://www.greenfieldtech.net</font></span></a><font size="3"> </font></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">  (p) +972-73-2557799       <span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(MSN):<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nirs@greenfieldtech.net" target="_blank" style="color:rgb(17,85,204)"><span style="color:blue"><font size="3">nirs@greenfieldtech.net</font></span></a></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">  (m) +972-54-6982826     <span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(GTALK):<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span></font><a href="mailto:nir.simionovich@gmail.com" target="_blank" style="color:rgb(17,85,204)"><span style="color:blue"><font size="3">nir.simionovich@gmail.com</font></span></a><span style="color:rgb(31,73,125)"></span></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">  (f) +972-73-2557202     <span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span>(SKYPE): greenfieldtech.nir</font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">               <a href="https://mailstrom.co/referral/ARZJE" target="_blank" style="color:rgb(17,85,204)">Zero Your Inbox</a> | <a href="https://www.digitalocean.com/?refcode=97eeea09917a" target="_blank" style="color:rgb(17,85,204)">Cloud Servers</a></font></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;margin:0in 0in 0pt"><span style="font-family:"courier new""><font size="3">----------------------------------------------------------</font></span><span style="font-family:calibri;font-size:medium;line-height:0px"> </span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;margin:7.5pt 0in 0pt;line-height:0px"><span style="font-family:"courier new""></span></p><font size="3" face="Times New Roman" style="color:rgb(34,34,34);line-height:normal"></font><font face="Times New Roman" style="color:rgb(34,34,34);font-size:small;line-height:normal"></font><table border="0" cellspacing="3" cellpadding="0" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><tbody><tr><td style="margin:0px"><font face="Times New Roman"></font></td></tr></tbody><tbody><tr><td style="margin:0px;padding:0.75pt;border:rgb(0,0,0);background-image:initial;background-size:initial;background-origin:initial;background-clip:initial;background-position:initial;background-repeat:initial"><font face="Times New Roman"></font><p style="margin:0in 0in 0pt"><b><span style="font-family:"courier new"">Disclaimer:</span></b><br></p><p style="margin:0in 0in 0pt"><span style="font-family:"courier new"">This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments.<span class="inbox-inbox-inbox-inbox-Apple-converted-space"> </span><br>E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited.</span></p></td></tr></tbody></table></div></div>