vfs_streams_xattr compile error on SunOS5.10

Mihai-Radu, Orza orzamihai at yahoo.com
Sun Jul 15 23:04:05 MDT 2012


Hello,

While trying to compile 4.0.0beta3 on SunOS5.10 I got the error mentioned below. I managed to fix it by making the changes in the attached patch, but I'm not sure if they are correct.

Regards,
Mihai

[3006/3684] Compiling source3/modules/vfs_streams_xattr.c
../source3/modules/vfs_streams_xattr.c: In function `streams_xattr_fstat':
../source3/modules/vfs_streams_xattr.c:243: error: `STAT_ST_BLOCKSIZE' undeclared (first use in this function)
../source3/modules/vfs_streams_xattr.c:243: error: (Each undeclared identifier is reported only once
../source3/modules/vfs_streams_xattr.c:243: error: for each function it appears in.)
../source3/modules/vfs_streams_xattr.c: In function `streams_xattr_stat':
../source3/modules/vfs_streams_xattr.c:296: error: `STAT_ST_BLOCKSIZE' undeclared (first use in this function)
../source3/modules/vfs_streams_xattr.c: In function `streams_xattr_lstat':
../source3/modules/vfs_streams_xattr.c:347: error: `STAT_ST_BLOCKSIZE' undeclared (first use in this function)
Waf: Leaving directory `/tmp/samba-4.0.0beta3/bin'
Build failed:  -> task failed (err #1):
        {task: cc vfs_streams_xattr.c -> vfs_streams_xattr_34.o}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vfs_streams_xattr-sunos-compile-err.patch
Type: application/octet-stream
Size: 1435 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120715/a0c4389f/attachment.obj>


More information about the samba-technical mailing list