<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" class="" href="http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=search;s=Marius+Zbihlei;st=author" style="color:rgb(0,0,0);text-decoration:none;font-family:sans-serif;font-size:13px;font-style:italic;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(237,236,230)">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>

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