[sr-dev] dnssec gethostbyname2 not compiling on Solaris 11

Marius Zbihlei mariuszbi at gmail.com
Fri Apr 26 10:59:50 CEST 2013


Thanks Richard,

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.

Thanks,
Marius




On Fri, Apr 26, 2013 at 9:37 AM, Richard Good <richard.good at smilecoms.com>wrote:

> Hi
>
> I've just updated to the latest master and get this error when compiling
> on Solaris 11 with gcc version 4.5.2:
> LD (gcc) [kamailio]             kamailio
> Undefined                       first referenced
>  symbol                             in file
> gethostbyname2                      dns_func.o
> ld: fatal: symbol referencing errors. No output written to kamailio
> collect2: ld returned 1 exit status
> gmake: *** [kamailio] Error 1
>
> In Makefile.defs Solaris does not define HAVE_GETHOSTBYNAME2.
>
> I fixed this by putting #ifdef HAVE_GETHOSTBYNAME2 around all
> gethostbyname2 in:
> dns_func.c
> dns_func.h
> modules/dnssec/dnssec_func.c
> modules/dnssec/dnssec_func.h
> modules/dnssec/dnssec_mod.c
>
> I see Marius Zbihlei<http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=search;s=Marius+Zbihlei;st=author>has done lots of work on the dnssec module.
>
> Marius: please can you have a look at this.
>
> Regards
> Richard.
>
> This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/disclaimer
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130426/5dddd12c/attachment.html>


More information about the sr-dev mailing list