When trying to build 4.10.3 on illumos it complains about fmemopen not being found when linking bin/default/libcli/dns/resolvconftest.
This is correct as there is no support for that on illumos, and probably Solaris too by extension.
I tagged this as trivial for now as I do not know how hard to fix this is.
I'm not sure what resolvconftest does, but AFAIK we do not have the resolvconf daemon like there is on linux, so maybe this is something that can be skip building.
Some closer inspection seems to indicate this is a sort of test that gets compiled. So it might be safe to not compile.
Created attachment 15183 [details]
Can you try the attached patch?
I'll kick of build beforeI head home and let you know once it is finished.
Builds fine with the patch. (Still some other issues with 4.10.x on illumos/solaris, but thats is not related to this one.
Waf: Leaving directory `/home/pbulk/build/pbd/samba-pbd/work/samba-4.10.3/bin/default'
'build' finished successfully (5m9.762s)