[Dovecot] v1.1.rc11 released

Stewart Dean sdean at bard.edu
Thu Jun 19 18:01:40 EEST 2008


FWIW, it compiled just fine on AIX using IBM's C for AIX V9 compiler

Woonsan Ko wrote:
> Hi All,
> 
> I could build and install on Linux and HP-UX machines successfully with gcc, but I failed on an AIX machine with gcc. So may I ask you some advice on making on AIX?
> 
> The environment is as follows (`gcc -v`):
>   Using built-in specs.
>   Target: powerpc-ibm-aix5.3.0.0
>   Configured with: ../gcc-4.1.1/configure --disable-nls
>   Thread model: aix
>   gcc version 4.1.1
> 
> 
> Firstly, make failed with the following messages:
> 
> [Snip]
> Making all in lib
>         make  all-am
>         gcc -DHAVE_CONFIG_H -I. -I../..      -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer
> -arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2  -MT restrict-access.o -MD -MP -MF .deps/restrict
> -access.Tpo -c -o restrict-access.o restrict-access.c
> In file included from /usr/include/grp.h:57,
>                  from restrict-access.c:13:
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:501: error: conflicting types for 'fgetpos64'
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:310: error: previous declaration of 'fgetpos64' was here
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:504: error: conflicting types for 'fseeko64'
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:441: error: previous declaration of 'fseeko64' was here
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:505: error: conflicting types for 'fsetpos64'
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:312: error: previous declaration of 'fsetpos64' was here
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:506: error: conflicting types for 'ftello64'
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:442: error: previous declaration of 'ftello64' was here
> make: 1254-004 The error code from the last command is 1.
> 
> 
> After some googling on this problem, I found that adding `#include <stdio.h>' before other includes in ./src/lib/restrict-access.c.
> 
> After that, I met other errors like the following:
> 
> [Snip]
>  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-ma
> il -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wa
> ll -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-a
> liasing=2 -MT quota-count.lo -MD -MP -MF .deps/quota-count.Tpo -c quota-count.c  -DPIC -o .libs/quota-count.o
>         mv -f .deps/quota-count.Tpo .deps/quota-count.Plo
>         rpcgen -h /usr/include/rpcsvc/rquota.x > rquota.h
>         /bin/sh ../../../libtool --tag=CC    --mode=compile 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/in
> dex  -I../../../src/lib-storage/index/maildir   -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpoin
> ter-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2  -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tp
> o -c -o quota-fs.lo quota-fs.c
>  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-ma
> il -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wa
> ll -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-a
> liasing=2 -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c  -DPIC -o .libs/quota-fs.o
> 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'
> quota-fs.c: In function 'do_rquota':
> quota-fs.c:287: error: storage size of 'call_status' isn't known
> quota-fs.c:288: error: 'CLIENT' undeclared (first use in this function)
> quota-fs.c:288: error: (Each undeclared identifier is reported only once
> quota-fs.c:288: error: for each function it appears in.)
> quota-fs.c:288: error: 'cl' undeclared (first use in this function)
> quota-fs.c:309: warning: implicit declaration of function 'clnt_create'
> quota-fs.c:317: warning: implicit declaration of function 'auth_destroy'
> quota-fs.c:318: warning: implicit declaration of function 'authunix_create_default'
> quota-fs.c:326: warning: implicit declaration of function 'clnt_call'
> quota-fs.c:327: error: 'xdrproc_t' undeclared (first use in this function)
> 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 <tss at iki.fi> wrote:
> 
>> From: Timo Sirainen <tss at iki.fi>
>> Subject: [Dovecot] v1.1.rc11 released
>> To: "Dovecot News List" <dovecot-news at dovecot.org>
>> Cc: "Dovecot Mailing List" <dovecot at 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
sdean at bard.edu  voice: 845-758-7475, fax: 845-758-7035


More information about the dovecot mailing list