dns.idl ==> build breaks on non-ipv6 systems

Matthieu Patou mat at samba.org
Sun Dec 5 16:47:33 MST 2010

Hi Kai,

on Non IPV6 hosts we still have a build pb for samba4:

/usr/ccs/bin/ld: (Warning) Unsupported keyword -Bdynamic to -Bdynamic 
option - both ignored
/usr/ccs/bin/ld: Unsatisfied symbols:
    ndr_pull_ipv6address (first referenced in 
default/librpc/gen_ndr/ndr_dnsp_38.o) (code)
    ndr_push_ipv6address (first referenced in 
default/librpc/gen_ndr/ndr_dnsp_38.o) (code)
    ndr_print_ipv6address (first referenced in 
default/librpc/gen_ndr/ndr_dnsp_38.o) (code)
collect2: ld returned 1 exit status

Should we have a dummy version of the ndr_*ipv6address function ?


On 07/11/2010 12:16, Kai Blin wrote:
> Hash: SHA1
> On 2010-11-07 09:58, Kai Blin wrote:
> Hi Michael,
>>> it seems the introduction of the dns server in s4
>>> has broken the build on non-ipv6 systems by using
>>> AD_INET6 unconditionally in the pull/push/print_ipv6
>>> functions in ndr_basic.c
>> It's not directly related to the dns server, but I agree I did forget to
>> put some IPv6 #ifdef around it. In fact, I also got a couple of things
>> wrong that David pointed out. I'll go and properly fix this.
> In the meantime, I think the attached patch should fix the build on your
> non-IPv6 hosts.
> Cheers,
> Kai
> - -- 
> Kai Blin
> Worldforge developer http://www.worldforge.org/
> Wine developer http://wiki.winehq.org/KaiBlin
> Samba team member http://www.samba.org/samba/team/
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> iEYEARECAAYFAkzWbm0ACgkQEKXX/bF2FpQUngCdFq5NLznmErglryc+RN+gsuhn
> =aTCH

Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary

More information about the samba-technical mailing list