On Tue, 2009-10-27 at 13:13 -0500, Mike Abbott wrote:
Thanks, fixed. But why is your compiler taking that code path?
#if (defined(__STDC__) && __STDC_VERSION__ >= 199901L)
For whatever reason, __STDC_VERSION__ isn't defined. __STDC__ is
though.
Sounds like gcc isn't being run in C99 mode for some reason. Are you giving any special configure or CFLAGS options?
libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/ lib02_imap_acl_plugin.so -bundle .libs/imap-acl-plugin.o ../ acl/.libs/lib01_acl_plugin.so ld: in ../acl/.libs/lib01_acl_plugin.so, can't link with bundle
(MH_BUNDLE) only dylibs (MH_DYLIB) for architecture i386 collect2: ld returned 1 exit status
I guess there's something different in your setup than in regular OSX. I just got a new macbook, installed Xcode and Dovecot 2.0.alpha2 tarball compiled without any errors.
Although fdatasync() seems to have gone missing from .h files, but still exists in libc. I guess that's intentional?