Re: [Dovecot] v1.1.rc11 released
Hi Timo, After some googling on this problem, I found that adding `#include stdio.h' before other includes in ./src/lib/restrict-access.c. Done. However, the rc12 doesn't seem to have the line before the `#include sys/types.h' line. rpcgen -h /usr/include/rpcsvc/rquota.x rquota.h Here it generates the rquota.h In file included from quota-fs.c:28: rquota.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_args' rquota.h:13: error: expected specifier-qualifier-list before 'bool_t' rquota.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_rquota' rquota.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_gqr_status' rquota.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_rslt' But for some reason it can't use it. I don't really know why. I suppose it's missing some include file? Does it include rpc/rpc.h itself? If not, does it help to include it? The rquota.h doesn't include rpc/rpc.h, and it doesn't help with rpc/rpc.h, throwing the followings (I tested with rc12): gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict - I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../ ../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wch ar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT rquota_xdr. lo -MD -MP -MF .deps/rquota_xdr.Tpo -c rquota_xdr.c -DPIC -o .libs/rquota_xdr.o rquota_xdr.c:1:17: warning: extra tokens at end of #include directive In file included from rquota_xdr.c:2: /usr/include/rpcsvc/rquota.h:49: error: expected specifier-qualifier-list before 'bool_t' rquota_xdr.c: In function 'xdr_getquota_args': rquota_xdr.c:8: error: expected declaration specifiers before 'getquota_args' rquota_xdr.c:9: warning: type of 'objp' defaults to 'int' rquota_xdr.c:9: error: argument 'objp' doesn't match prototype /usr/include/rpcsvc/rquota.h:73: error: prototype declaration rquota_xdr.c:10: error: invalid type argument of '-' rquota_xdr.c:10: error: 'RQ_PATHLEN' undeclared (first use in this function) rquota_xdr.c:10: error: (Each undeclared identifier is reported only once rquota_xdr.c:10: error: for each function it appears in.) rquota_xdr.c:13: error: invalid type argument of '-' rquota_xdr.c: In function 'xdr_rquota': rquota_xdr.c:25: error: expected declaration specifiers before 'rquota' rquota_xdr.c:26: warning: type of 'objp' defaults to 'int' rquota_xdr.c:26: error: argument 'objp' doesn't match prototype /usr/include/rpcsvc/rquota.h:75: error: prototype declaration rquota_xdr.c:27: error: invalid type argument of '-' rquota_xdr.c:30: error: invalid type argument of '-' rquota_xdr.c:33: error: invalid type argument of '-' rquota_xdr.c:36: error: invalid type argument of '-' rquota_xdr.c:39: error: invalid type argument of '-' rquota_xdr.c:42: error: invalid type argument of '-' rquota_xdr.c:45: error: invalid type argument of '-' rquota_xdr.c:48: error: invalid type argument of '-' rquota_xdr.c:51: error: invalid type argument of '-' rquota_xdr.c:54: error: invalid type argument of '-' rquota_xdr.c: At top level: rquota_xdr.c:65: warning: no previous prototype for 'xdr_gqr_status' rquota_xdr.c: In function 'xdr_gqr_status': rquota_xdr.c:66: error: expected declaration specifiers before 'gqr_status' rquota_xdr.c:67: warning: type of 'objp' defaults to 'int' rquota_xdr.c: In function 'xdr_getquota_rslt': rquota_xdr.c:80: error: expected declaration specifiers before 'getquota_rslt' rquota_xdr.c:81: warning: type of 'objp' defaults to 'int' rquota_xdr.c:81: error: argument 'objp' doesn't match prototype /usr/include/rpcsvc/rquota.h:74: error: prototype declaration rquota_xdr.c:82: error: invalid type argument of '-' rquota_xdr.c:85: error: invalid type argument of '-' rquota_xdr.c:87: error: invalid type argument of '-' make: 1254-004 The error code from the last command is 1. I have googled and found a IBM document page: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.progcomm/doc/progcomc/ch8_rpc.htm (I clicked `Programming in RPC' link and referred to the `Compiling and Linking RPC Programs' section.) According to the page, I set the CFLAGS to `CFLAGS=-D_BSD -DBSD_INCLUDES', but it threw other errors: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict - I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../ ../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wch ar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -D_BSD -DBSD_IN CLUDES -MT quota.lo -MD -MP -MF .deps/quota.Tpo -c quota.c -DPIC -o .libs/quota .o quota.c: In function 'quota_warning_execute':
Re: [Dovecot] v1.1.rc11 released
) quota-fs.c:327: error: expected ')' before 'xdr_getquota_args' quota-fs.c:333: warning: implicit declaration of function 'clnt_destroy' quota-fs.c:335: error: 'RPC_SUCCESS' undeclared (first use in this function) quota-fs.c:336: warning: implicit declaration of function 'clnt_sperrno' quota-fs.c:336: warning: initialization makes pointer from integer without a cast quota-fs.c:348: error: 'rquota' has no member named 'rq_active' quota-fs.c:350: error: 'rquota' has no member named 'rq_curblocks' quota-fs.c:352: error: 'rquota' has no member named 'rq_bsoftlimit' quota-fs.c:355: error: 'rquota' has no member named 'rq_curfiles' quota-fs.c:356: error: 'rquota' has no member named 'rq_fsoftlimit' quota-fs.c:363: error: 'rquota' has no member named 'rq_active' quota-fs.c:287: warning: unused variable 'call_status' quota-fs.c: In function 'fs_quota_get_bsdaix': quota-fs.c:478: warning: implicit declaration of function 'quotactl' make: 1254-004 The error code from the last command is 1. TIA, Woonsan --- On Thu, 6/19/08, Timo Sirainen [EMAIL PROTECTED] wrote: From: Timo Sirainen [EMAIL PROTECTED] Subject: [Dovecot] v1.1.rc11 released To: Dovecot News List [EMAIL PROTECTED] Cc: Dovecot Mailing List dovecot@dovecot.org Date: Thursday, June 19, 2008, 7:50 AM http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen to break anything since rc10 :) - dovecot-uidlist is now recreated if it results in file shrinking over 25%. - Some other minor fixes -- Stewart Dean, Unix System Admin, Henderson Computer Resources Center of Bard College, Annandale-on-Hudson, New York 12504 [EMAIL PROTECTED] voice: 845-758-7475, fax: 845-758-7035
Re: [Dovecot] v1.1.rc11 released
FWIW, it compiled just fine on AIX using IBM's C for AIX V9 compiler It failed to compile with `IBM(R) XL C/C++ Enterprise Edition V8.0 for AIX(R)' on `AIX machine 3 5'. My configuration was `./configure CC=xlc LDFLAGS=-bexpall -brtl'. Did you compile with a simple configuration like `./configure' or `./configure CC=xlc'? Or, did you compile with a wrapper script like dovecot-cc, as explained in http://wiki.dovecot.org/AixPluginsSupport? Were all plugins built to .so files correctly? TIA, Woonsan
[Dovecot] v1.1.rc11 released
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen to break anything since rc10 :) - dovecot-uidlist is now recreated if it results in file shrinking over 25%. - Some other minor fixes signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.1.rc11 released
: implicit declaration of function 'clnt_destroy' quota-fs.c:335: error: 'RPC_SUCCESS' undeclared (first use in this function) quota-fs.c:336: warning: implicit declaration of function 'clnt_sperrno' quota-fs.c:336: warning: initialization makes pointer from integer without a cast quota-fs.c:348: error: 'rquota' has no member named 'rq_active' quota-fs.c:350: error: 'rquota' has no member named 'rq_curblocks' quota-fs.c:352: error: 'rquota' has no member named 'rq_bsoftlimit' quota-fs.c:355: error: 'rquota' has no member named 'rq_curfiles' quota-fs.c:356: error: 'rquota' has no member named 'rq_fsoftlimit' quota-fs.c:363: error: 'rquota' has no member named 'rq_active' quota-fs.c:287: warning: unused variable 'call_status' quota-fs.c: In function 'fs_quota_get_bsdaix': quota-fs.c:478: warning: implicit declaration of function 'quotactl' make: 1254-004 The error code from the last command is 1. TIA, Woonsan --- On Thu, 6/19/08, Timo Sirainen [EMAIL PROTECTED] wrote: From: Timo Sirainen [EMAIL PROTECTED] Subject: [Dovecot] v1.1.rc11 released To: Dovecot News List [EMAIL PROTECTED] Cc: Dovecot Mailing List dovecot@dovecot.org Date: Thursday, June 19, 2008, 7:50 AM http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen to break anything since rc10 :) - dovecot-uidlist is now recreated if it results in file shrinking over 25%. - Some other minor fixes
Re: [Dovecot] v1.1.rc11 released
On Wed, 2008-06-18 at 21:10 -0700, Woonsan Ko wrote: After some googling on this problem, I found that adding `#include stdio.h' before other includes in ./src/lib/restrict-access.c. Done. rpcgen -h /usr/include/rpcsvc/rquota.x rquota.h Here it generates the rquota.h In file included from quota-fs.c:28: rquota.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_args' rquota.h:13: error: expected specifier-qualifier-list before 'bool_t' rquota.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_rquota' rquota.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_gqr_status' rquota.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_rslt' But for some reason it can't use it. I don't really know why. I suppose it's missing some include file? Does it include rpc/rpc.h itself? If not, does it help to include it? quota-fs.c:478: warning: implicit declaration of function 'quotactl' http://hg.dovecot.org/dovecot-1.1/rev/2b0432ec7c7c probably fixes this. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.1.rc11 released
Hello Timo! Anything changed since 1.1rc9 regarding the mbox issue? Did you have a look at the file I sent you? Thnx. Ciao, Gerhard Timo Sirainen wrote: http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc11.tar.gz.sig This is the final v1.1 RC. Tomorrow I'll change only the version number, update the documentation and call it v1.1.0. But please test this anyway to make sure I didn't happen to break anything since rc10 :) - dovecot-uidlist is now recreated if it results in file shrinking over 25%. - Some other minor fixes
Re: [Dovecot] v1.1.rc11 released
On Thu, 2008-06-19 at 06:56 +0200, Gerhard Wiesinger wrote: Hello Timo! Anything changed since 1.1rc9 regarding the mbox issue? Did you have a look at the file I sent you? Not yet. I've been trying to avoid spending time on debugging difficult things recently. Time to write some new code for a change. :) signature.asc Description: This is a digitally signed message part