Re: Autocreate patch and cyrus 2.3.16
by: "Vladimir V. Kamarzin" <vvk.NOSP@MMER.vvk.pp.ru>, @ Thu, 24 Dec 2009 14:24:05 +0200

>>>>> On 24 Dec 2009 at 16:54 "VVK" == Vladimir V Kamarzin writes:

VVK> i586-alt-linux-gcc -c -I.. -I./../lib -I./../sieve -I/usr/include/db4 -I/usr/include/krb5 -I/usr/include/et -I/usr/include -DHAVE_CONFIG_H -pipe -Wall -O2 -march=i586 -mtune=i686 -fPIC \
VVK> mboxlist.c
VVK> mboxlist.c: In function 'mboxlist_autochangesub':
VVK> mboxlist.c:3477: error: dereferencing pointer to incomplete type
VVK> mboxlist.c:3478: error: dereferencing pointer to incomplete type
VVK> mboxlist.c:3479: error: dereferencing pointer to incomplete type
VVK> mboxlist.c: In function 'mboxlist_autosubscribe_sharedfolders':
VVK> mboxlist.c:3523: error: 'IMAPOPT_AUTOSUBSCRIBE_ALL_SHAREDFOLDERS' undeclared (first use in this function)
VVK> mboxlist.c:3523: error: (Each undeclared identifier is reported only once
VVK> mboxlist.c:3523: error: for each function it appears in.)
VVK> mboxlist.c:3532: error: storage size of 'changesub_rock' isn't known
VVK> mboxlist.c:3532: warning: unused variable 'changesub_rock'
VVK> mboxlist.c:3545: error: 'IMAPOPT_AUTOSUBSCRIBESHAREDFOLDERS' undeclared (first use in this function)
VVK> mboxlist.c: In function 'mboxlist_autocreateinbox':
VVK> mboxlist.c:3610: warning: implicit declaration of function 'auth_canonuser'
VVK> mboxlist.c:3610: warning: assignment makes pointer from integer without a cast
VVK> mboxlist.c:3663: error: 'IMAPOPT_AUTOCREATE_USERS' undeclared (first use in this function)
VVK> mboxlist.c:3716: error: 'IMAPOPT_AUTOCREATEINBOXFOLDERS' undeclared (first use in this function)
VVK> mboxlist.c:3717: error: 'IMAPOPT_AUTOSUBSCRIBEINBOXFOLDERS' undeclared (first use in this function)
VVK> mboxlist.c:3800: error: 'IMAPOPT_AUTOCREATE_SIEVE_SCRIPT' undeclared (first use in this function)
VVK> mboxlist.c:3803: warning: implicit declaration of function 'autoadd_sieve'
VVK> make[1]: Leaving directory `/usr/src/RPM/BUILD/cyrus-imapd-2.3.16/imap'
VVK> make: Leaving directory `/usr/src/RPM/BUILD/cyrus-imapd-2.3.16'
VVK> make[1]: *** [mboxlist.o] Error 1
VVK> make: *** [all] Error 1

Sorry, it was local merge problem, i've solved it.

--
vvk