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

Richard Good richard.good at smilecoms.com
Fri Apr 26 11:19:25 CEST 2013


Hi

Thanks for the quick fix!   All compiles ok now.

There is still a compilation problem with the module on Solaris but I am
not using it so can exclude it.

Regards
Richard.


On 26 April 2013 10:59, Marius Zbihlei <mariuszbi at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>

This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130426/4d2912e3/attachment.html>


More information about the sr-dev mailing list