[Dovecot] rc6 compilation problem?

Alan Schmitt alan.schmitt at polytechnique.org
Mon Aug 7 11:31:17 EEST 2006


Hello,

I usually have no problem compiling dovecot on my OS X.4 machine  
(last one I compiled was rc2), but rc6 is giving trouble:

if /bin/sh ../../../libtool --tagÌ --mode=compile gcc - 
DHAVE_CONFIG_H -I. -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 -Wchar-subscripts - 
Wformat=2 -Wbad-function-cast  -MT quota-fs.lo -MD -MP -MF ".deps/ 
quota-fs.Tpo" -c -o quota-fs.lo quota-fs.c; \
then mv -f ".deps/quota-fs.Tpo" ".deps/quota-fs.Plo"; else rm -f  
".deps/quota-fs.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -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 -Wchar-subscripts - 
Wformat=2 -Wbad-function-cast -MT quota-fs.lo -MD -MP -MF .deps/quota- 
fs.Tpo -c quota-fs.c  -fno-common -DPIC -o .libs/quota-fs.o
quota-fs.c: In function ‘fs_quota_get_resource’:
quota-fs.c:219: warning: passing argument 1 of ‘quotactl’ makes  
pointer from integer without a cast
quota-fs.c:219: warning: passing argument 2 of ‘quotactl’ makes  
integer from pointer without a cast
quota-fs.c:234: error: ‘struct dqblk’ has no member named  
‘dqb_curblocks’
make[4]: *** [quota-fs.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Here is what I did:
- run configure
- edit config.h to remove the use of MADVISE
- run make

Am I doing something wrong?

Alan

--
The hacker: someone who figured things out and made something cool  
happen.
.O.
..O
OOO



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060807/e24ea649/attachment.pgp 


More information about the dovecot mailing list