I got a compile error with rc6, rc5 works fine. amd64:dovecot-1.1.rc6# uname -a FreeBSD amd64.objtech.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Fri Apr 18 02:18:13 EDT 2008 ./configure \ --prefix=/opt1/dovecot \ --localstatedir=/var \ --without-shadow \ --without-cyrus-sasl2 \ --without-pop3d \ --without-gssapi \ --disable-ipv6 \ --disable-debug \ --with-ioloop=kqueue \ --with-ssl=openssl make [trimmed] gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-view-sync.o -MD -MP -MF .deps/mail-index-view-sync.Tpo -c -o mail-index-view-sync.o mail-index-view-sync.c mv -f .deps/mail-index-view-sync.Tpo .deps/mail-index-view-sync.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP -MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-write.c mail-index-write.c: In function 'mail_index_write': mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' *** Error code 1 Stop in /opt1/source/dovecot-1.1.rc6/src/lib-index. *** Error code 1 Stop in /opt1/source/dovecot-1.1.rc6/src. *** Error code 1 Stop in /opt1/source/dovecot-1.1.rc6. *** Error code 1 Stop in /opt1/source/dovecot-1.1.rc6.
On Thu, May 29, 2008 at 11:16:55PM -0400, webbie wrote:> I got a compile error with rc6, rc5 works fine.Exactly the same on NetBSD: mail-index-write.c: In function `mail_index_write': mail-index-write.c:179: error: structure has no member named `st_ctim' mail-index-write.c:179: error: structure has no member named `st_ctim' *** Error code 1 Geert> > amd64:dovecot-1.1.rc6# uname -a > FreeBSD amd64.objtech.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Fri > Apr 18 02:18:13 EDT 2008 > > > ./configure \ > --prefix=/opt1/dovecot \ > --localstatedir=/var \ > --without-shadow \ > --without-cyrus-sasl2 \ > --without-pop3d \ > --without-gssapi \ > --disable-ipv6 \ > --disable-debug \ > --with-ioloop=kqueue \ > --with-ssl=openssl > > make > > [trimmed] > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail > -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-view-sync.o -MD > -MP -MF .deps/mail-index-view-sync.Tpo -c -o mail-index-view-sync.o > mail-index-view-sync.c > mv -f .deps/mail-index-view-sync.Tpo .deps/mail-index-view-sync.Po > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-mail > -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -Wstrict-aliasing=2 -MT mail-index-write.o -MD -MP > -MF .deps/mail-index-write.Tpo -c -o mail-index-write.o mail-index-write.c > mail-index-write.c: In function 'mail_index_write': > mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' > mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' > *** Error code 1 > > Stop in /opt1/source/dovecot-1.1.rc6/src/lib-index. > *** Error code 1 > > Stop in /opt1/source/dovecot-1.1.rc6/src. > *** Error code 1 > > Stop in /opt1/source/dovecot-1.1.rc6. > *** Error code 1 > > Stop in /opt1/source/dovecot-1.1.rc6.
On Thu, 2008-05-29 at 23:16 -0400, webbie wrote:> mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' > mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim'Whops, I guess I'll make a rc7 release later today for you BSD people. For now these patches help (messed up the first one): http://hg.dovecot.org/dovecot-1.1/rev/0d842b055838 http://hg.dovecot.org/dovecot-1.1/rev/5766890f1275 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080530/32acbf7d/attachment-0002.bin>
Thanks Timo. It works. Timo Sirainen wrote:> On Thu, 2008-05-29 at 23:16 -0400, webbie wrote: >> mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' >> mail-index-write.c:179: error: 'struct stat' has no member named 'st_ctim' > > Whops, I guess I'll make a rc7 release later today for you BSD people. > For now these patches help (messed up the first one): > > http://hg.dovecot.org/dovecot-1.1/rev/0d842b055838 > http://hg.dovecot.org/dovecot-1.1/rev/5766890f1275 >