<div dir="ltr">Hi<br><br>Thanks for the quick fix!   All compiles ok now.<br><br>There is still a compilation problem with the module on Solaris but I am not using it so can exclude it.<br><br>Regards<br>Richard.<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 26 April 2013 10:59, Marius Zbihlei <span dir="ltr"><<a href="mailto:mariuszbi@gmail.com" target="_blank">mariuszbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Thanks Richard,<br><br></div>I have submitted commit 5b96c7e on master branch that should fix the problems on Solaris. Can you please test, as I don't have a solaris installation in handy! A proper fix to get DNSSEC working on Solaris will follow soon.<br>

<br></div>Thanks, <br></div>Marius<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Apr 26, 2013 at 9:37 AM, Richard Good <span dir="ltr"><<a href="mailto:richard.good@smilecoms.com" target="_blank">richard.good@smilecoms.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hi<br><br></div>I've just updated to the latest master and get this error when compiling on Solaris 11 with gcc version 4.5.2:<br>

LD (gcc) [kamailio]             kamailio<br>Undefined                       first referenced<br>
 symbol                             in file<br>gethostbyname2                      dns_func.o<br>ld: fatal: symbol referencing errors. No output written to kamailio<br>collect2: ld returned 1 exit status<br>gmake: *** [kamailio] Error 1<br>


<br></div><div>In Makefile.defs Solaris does not define HAVE_GETHOSTBYNAME2.<br><br></div><div>I fixed this by putting #ifdef HAVE_GETHOSTBYNAME2 around all gethostbyname2 in:<br>dns_func.c<br>dns_func.h<br>modules/dnssec/dnssec_func.c<br>


modules/dnssec/dnssec_func.h<br>modules/dnssec/dnssec_mod.c<br><br></div>I see <a title="Search for commits authored by Marius Zbihlei" href="http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=search;s=Marius+Zbihlei;st=author" style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:italic;background-color:rgb(237,236,230);font-weight:normal;line-height:normal;text-transform:none;font-size:13px;white-space:normal;text-decoration:none;font-family:sans-serif;word-spacing:0px" target="_blank">Marius Zbihlei</a> has done lots of work on the dnssec module.<br>


<br></div>Marius: please can you have a look at this.<br><br></div>Regards<br>Richard.<br><br></div>

</div></div><pre>This email is subject to the disclaimer of Smile Communications at <a href="http://www.smilecoms.com/disclaimer" target="_blank">http://www.smilecoms.com/disclaimer</a>

</pre><br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>

<pre>This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/disclaimer