For AIX yp_proto.h must be included before yp_clnt.h is include otherwise the
whole build is polluted with a warning saying that dom_binding is declared
within a parameter list "which is probably not what you want" (that's what the
compiler said! ;-)). dom_binding is declared in yp_proto.h (or was it yp_prot.h,
anyway you won't miss it!). They are currently included one after the other,
Swapping this solved this problem.
I am aware that this might be as usual vice versa on other systems, sorry on AIX
5.2 it is like this!
It does sound logical that yp_proto.h should be included before yp_clnt.h. I'm
not sure whether very many people use the yp support these days anyway.
I might swap them around and see if any machines in the build farm complain
I have checked in a fix. Can you compile the SAMBA_3_0 branch and see if it
works for you?
(In reply to comment #2)
> I have checked in a fix. Can you compile the SAMBA_3_0 branch and see if it
> works for you?
I don't see any warnings on 5.2 or 5.3 wrt yp/nis.
Bill says fixed.