fail to compile and install ZEPHYR (for notify) support Cyrus IMAP...
Nguyen, Quoc Khanh
khanhnq at saigontech.edu.vn
Sun Apr 10 00:13:52 EDT 2011
Hi all,
I have a problem when i try to compile and install ZEPHYR
(zephyr-2.0.4) to support to Cyrus IMAP.
My compile is:
#./configure
--prefix=/usr/local/zephyr
and when to make, i found a error:
........
make[2]: Entering directory
`/home/zephyr/zephyr-2.0.4/clients/zmailnotify'
gcc -O -I../../h -I../../h
-DKPOP -c -o zmailnotify.o zmailnotify.c
zmailnotify.c: In function
'main':
zmailnotify.c:146: warning: passing argument 1 of 'getline' from
incompatible pointer type
/usr/include/stdio.h:671: note: expected 'char
** __restrict__' but argument is of type 'char *'
zmailnotify.c:146:
warning: passing argument 2 of 'getline' makes pointer from integer without
a cast
/usr/include/stdio.h:671: note: expected 'size_t * __restrict__'
but argument is of type 'unsigned int'
zmailnotify.c: At top level:
zmailnotify.c:485: error: conflicting types for 'pop_command'
zmailnotify.c:490: note: a parameter list with an ellipsis can't match an
empty parameter name list declaration
zmailnotify.c:157: note: previous
implicit declaration of 'pop_command' was here
zmailnotify.c: In function
'pop_command':
zmailnotify.c:500: warning: passing argument 1 of 'getline'
from incompatible pointer type
/usr/include/stdio.h:671: note: expected
'char ** __restrict__' but argument is of type 'char *'
zmailnotify.c:500:
warning: passing argument 2 of 'getline' makes pointer from integer without
a cast
/usr/include/stdio.h:671: note: expected 'size_t * __restrict__'
but argument is of type 'unsigned int'
zmailnotify.c: In function
'pop_stat':
zmailnotify.c:521: warning: passing argument 1 of 'getline'
from incompatible pointer type
/usr/include/stdio.h:671: note: expected
'char ** __restrict__' but argument is of type 'char *'
zmailnotify.c:521:
warning: passing argument 2 of 'getline' makes pointer from integer without
a cast
/usr/include/stdio.h:671: note: expected 'size_t * __restrict__'
but argument is of type 'unsigned int'
zmailnotify.c: In function
'pop_scan':
zmailnotify.c:548: warning: passing argument 1 of 'getline'
from incompatible pointer type
/usr/include/stdio.h:671: note: expected
'char ** __restrict__' but argument is of type 'char *'
zmailnotify.c:548:
warning: passing argument 2 of 'getline' makes pointer from integer without
a cast
/usr/include/stdio.h:671: note: expected 'size_t * __restrict__'
but argument is of type 'unsigned int'
zmailnotify.c: In function
'getline':
zmailnotify.c:571: error: argument 'buf' doesn't match
prototype
/usr/include/stdio.h:671: error: prototype declaration
zmailnotify.c:571: error: argument 'n' doesn't match prototype
/usr/include/stdio.h:671: error: prototype declaration
zmailnotify.c: In
function 'multiline':
zmailnotify.c:597: warning: passing argument 1 of
'getline' from incompatible pointer type
/usr/include/stdio.h:671: note:
expected 'char ** __restrict__' but argument is of type 'char *'
zmailnotify.c:597: warning: passing argument 2 of 'getline' makes pointer
from integer without a cast
/usr/include/stdio.h:671: note: expected
'size_t * __restrict__' but argument is of type 'int'
zmailnotify.c:607:
warning: passing argument 1 of 'getline' from incompatible pointer type
/usr/include/stdio.h:671: note: expected 'char ** __restrict__' but
argument is of type 'char *'
zmailnotify.c:607: warning: passing argument
2 of 'getline' makes pointer from integer without a cast
/usr/include/stdio.h:671: note: expected 'size_t * __restrict__' but
argument is of type 'int'
make[2]: *** [zmailnotify.o] Error 1
make[2]:
Leaving directory `/home/zephyr/zephyr-2.0.4/clients/zmailnotify'
make[1]:
*** [all] Error 1
make[1]: Leaving directory
`/home/zephyr/zephyr-2.0.4/clients'
make: *** [all] Error 1
Please
help,...
--
***********************************
EVERYTHING HAS JUST
BEGUN...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20110410/78797401/attachment.html
More information about the Cyrus-sasl
mailing list