CMSG_LEN, CMSG_SPACE not there on illumos

Gordon Ross gordon.w.ross at gmail.com
Wed Apr 29 11:38:40 MDT 2015


Yes, thanks.  That doesn't seem to be on master though, is it?

Here's a collection of patches that let me run the waf configure
and make smbtorture4.   The waf patches are definitely not "polished"
but worked for me.
The others could probably be integrated if you like.




On Wed, Apr 29, 2015 at 12:18 PM, Ralph Böhme <rb at sernet.de> 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:
> <https://bugzilla.samba.org/attachment.cgi?id=10623&action=edit>
>
> -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
> http://www.sernet.de,mailto:kontakt@sernet.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-illumos-needs-D_XOPEN_SOURCE-600-D_XPG6-etc.patch
Type: application/octet-stream
Size: 1439 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150429/815d20b7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Deal-with-illumos-Solaris-versions-of-getpwent_r-etc.patch
Type: application/octet-stream
Size: 2589 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150429/815d20b7/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fix-compile-error.patch
Type: application/octet-stream
Size: 1347 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150429/815d20b7/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Fix-compile-error.patch
Type: application/octet-stream
Size: 1259 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150429/815d20b7/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Some-systems-define-ERR-as-something.-illumos-does-i.patch
Type: application/octet-stream
Size: 1460 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150429/815d20b7/attachment-0004.obj>


More information about the samba-technical mailing list