Cyrus Sasl make时报错

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
wqp1985
帖子: 1
注册时间: 2010-08-13 11:27

Cyrus Sasl make时报错

#1

帖子 wqp1985 » 2010-08-24 10:46

root@desktop:~/linuxsoft/cyrus-sasl-2.1.21# make
make all-recursive
make[1]: 正在进入目录 `/root/linuxsoft/cyrus-sasl-2.1.21'
Making all in include
make[2]: 正在进入目录 `/root/linuxsoft/cyrus-sasl-2.1.21/include'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/root/linuxsoft/cyrus-sasl-2.1.21/include'
Making all in sasldb
make[2]: 正在进入目录 `/root/linuxsoft/cyrus-sasl-2.1.21/sasldb'
ar cru .libs/libsasldb.a db_none.o
make[2]:正在离开目录 `/root/linuxsoft/cyrus-sasl-2.1.21/sasldb'
Making all in plugins
make[2]: 正在进入目录 `/root/linuxsoft/cyrus-sasl-2.1.21/plugins'
if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF ".deps/digestmd5.Tpo" \
-c -o digestmd5.lo `test -f 'digestmd5.c' || echo './'`digestmd5.c; \
then mv ".deps/digestmd5.Tpo" ".deps/digestmd5.Plo"; \
else rm -f ".deps/digestmd5.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c -fPIC -DPIC -o digestmd5.lo
digestmd5.c:279: warning: pointer targets in initialization differ in signedness
digestmd5.c: In function 'DigestCalcResponse':
digestmd5.c:366: warning: pointer targets in passing argument 2 of 'utils->MD5Update' differ in signedness
digestmd5.c:366: note: expected 'const unsigned char *' but argument is of type 'char *'
digestmd5.c: In function 'dec_3des':
digestmd5.c:842: warning: unused parameter 'digest'
digestmd5.c: In function 'dec_des':
digestmd5.c:960: warning: unused parameter 'digest'
digestmd5.c: In function 'dec_rc4':
digestmd5.c:1211: warning: unused parameter 'digest'
digestmd5.c: In function 'digestmd5_encode':
digestmd5.c:1401: warning: pointer targets in passing argument 5 of 'text->utils->hmac_md5' differ in signedness
digestmd5.c:1401: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c: In function 'digestmd5_decode_packet':
digestmd5.c:1492: warning: pointer targets in assignment differ in signedness
digestmd5.c: In function 'digestmd5_server_mech_new':
digestmd5.c:1792: warning: unused parameter 'challenge'
digestmd5.c:1793: warning: unused parameter 'challen'
digestmd5.c: In function 'digestmd5_server_mech_step1':
digestmd5.c:1942: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness
digestmd5.c:505: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:1815: warning: unused parameter 'clientin'
digestmd5.c:1816: warning: unused parameter 'clientinlen'
digestmd5.c:1819: warning: unused parameter 'oparams'
digestmd5.c: In function 'digestmd5_server_mech_step2':
digestmd5.c:2230: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
plugin_common.h:147: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2233: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
plugin_common.h:147: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2254: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2254: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2254: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2254: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2254: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2254: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2254: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2254: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2254: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2254: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:397: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2266: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
digestmd5.c:2266: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:2331: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
/usr/include/bits/string3.h:120: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
digestmd5.c:2349: warning: pointer targets in passing argument 2 of 'DigestCalcSecret' differ in signedness
digestmd5.c:430: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:2349: warning: pointer targets in passing argument 3 of 'DigestCalcSecret' differ in signedness
digestmd5.c:430: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:2494: warning: pointer targets in passing argument 2 of 'text->cipher_init' differ in signedness
digestmd5.c:2494: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:2494: warning: pointer targets in passing argument 3 of 'text->cipher_init' differ in signedness
digestmd5.c:2494: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:2698:15: error: #elif with no expression
digestmd5.c: In function 'make_client_response':
digestmd5.c:2990: warning: pointer targets in passing argument 3 of 'calculate_response' differ in signedness
digestmd5.c:2831: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:2990: warning: pointer targets in passing argument 11 of 'calculate_response' differ in signedness
digestmd5.c:2831: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:3014: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness
digestmd5.c:505: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:3125: warning: pointer targets in passing argument 2 of 'text->cipher_init' differ in signedness
digestmd5.c:3125: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c:3125: warning: pointer targets in passing argument 3 of 'text->cipher_init' differ in signedness
digestmd5.c:3125: note: expected 'unsigned char *' but argument is of type 'char *'
digestmd5.c: In function 'digestmd5_client_mech_step1':
digestmd5.c:3712: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
plugin_common.h:147: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:3715: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
plugin_common.h:147: note: expected 'const char *' but argument is of type 'unsigned char *'
digestmd5.c:3683: warning: unused parameter 'serverin'
digestmd5.c:3684: warning: unused parameter 'serverinlen'
digestmd5.c: In function 'digestmd5_client_mech_step3':
digestmd5.c:3818: warning: unused parameter 'prompt_need'
digestmd5.c:3819: warning: unused parameter 'clientout'
digestmd5.c:3820: warning: unused parameter 'clientoutlen'
digestmd5.c: In function 'digestmd5_client_mech_step':
digestmd5.c:3980: warning: pointer targets in assignment differ in signedness
digestmd5.c:4017:15: error: #elif with no expression
make[2]: *** [digestmd5.lo] 错误 1
make[2]:正在离开目录 `/root/linuxsoft/cyrus-sasl-2.1.21/plugins'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/root/linuxsoft/cyrus-sasl-2.1.21'
make: *** [all] 错误 2
用来很多方法还时这样。。我人要崩溃了。请高人指点一下阿
jiabinsun
帖子: 30
注册时间: 2008-05-27 15:50

Re: Cyrus Sasl make时报错

#2

帖子 jiabinsun » 2010-12-22 10:38

我和你一样也遇到这个问题,google中。你解决了么?
回复