CMSG_LEN, CMSG_SPACE not there on illumos

Gordon Ross gordon.w.ross at
Wed Apr 29 11:56:22 MDT 2015

I just file this illumos bug for the namespace pollution problem:
intel sys/regset.h pollutes name space

Maybe someone could add a link to that in the related Samba bug?
I dont' have an account there...


On Wed, Apr 29, 2015 at 12:18 PM, Ralph Böhme <rb at> wrote:
> On Wed, Apr 29, 2015 at 12:07:40PM -0400, Gordon Ross wrote:
>> Nevermind about CMSG_LEN, CMSG_SPACE being missing.
>> They're right there in sys/socket.h but only exposed if XPG4v2 or later,
>> so Samba needs to use -D_XOPEN_SOURCE=600
>> I took a stab a changing that, and ran into the "fun" of waf in
>> buildtools/wafsamba/wscript ...
>> I'll send my attempt at fixing this later...
> it seems you missed this one:
> <>
> -Ralph
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list