Darwin doesn't have an EDEADLOCK error code, so compilation fails on MacOSX:
file-lock.c:214:16: error: use of undeclared identifier 'EDEADLOCK'
if (errno == EDEADLOCK)
^
file-lock.c:262:16: error: use of undeclared identifier 'EDEADLOCK'
if (errno == EDEADLOCK)
^
2 errors generated.
make[4]: *** [file-lock.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20150929/e62fbb9e/attachment.sig>
On 2015-09-29 20:22, Jacques Distler wrote:> Darwin doesn't have an EDEADLOCK error code, so compilation fails on MacOSX: > > file-lock.c:214:16: error: use of undeclared identifier 'EDEADLOCK' > if (errno == EDEADLOCK) > ^ > file-lock.c:262:16: error: use of undeclared identifier 'EDEADLOCK' > if (errno == EDEADLOCK) > ^Does http://hg.dovecot.org/dovecot-2.2/rev/7633bca91551 fix the problem for you? Regards, Pascal -- The trapper recommends today: deadbeef.1527223 at localdomain.org