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 Zbihleihttp://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=search;s=Marius+Zbihlei;st=authorhas 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
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@smilecoms.comwrote:
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 Zbihleihttp://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=search;s=Marius+Zbihlei;st=authorhas 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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
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@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@smilecoms.comwrote:
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 Zbihleihttp://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=search;s=Marius+Zbihlei;st=authorhas 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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
sr-dev mailing list sr-dev@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