编译cyrus-sasl-2.1.22 出错 ...
xudongri
|
1#
xudongri 发表于 2008-12-29 04:05
编译cyrus-sasl-2.1.22 出错 ...
./configure --disable-anon -enable-plain --enable-login --enable-sql --with-mysql=/usr/local/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-mysql-libs=/usr/local/mysql/lib/mysql --with-authdaemond
我再打make 时 出现错误如下 cram.Tpo -c cram.c -fPIC -DPIC -o cram.lo cram.c: In function 'crammd5_server_mech_new': cram.c:101: warning: unused parameter 'glob_context' cram.c:103: warning: unused parameter 'challenge' cram.c:104: warning: unused parameter 'challen' cram.c: In function 'crammd5_server_mech_step1': cram.c:167: warning: unused parameter 'clientin' cram.c:171: warning: unused parameter 'oparams' cram.c: In function 'crammd5_server_mech_step2': cram.c:217: warning: unused parameter 'serverout' cram.c:218: warning: unused parameter 'serveroutlen' cram.c: In function 'crammd5_client_mech_new': cram.c:461: warning: unused parameter 'glob_context' /bin/sh ./makeinit.sh if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/mysql//include/mysql -Wall -W -g -O2 -MT crammd5_init.lo -MD -MP -MF ".deps/crammd5_init.Tpo" \ -c -o crammd5_init.lo `test -f 'crammd5_init.c' || echo './'`crammd5_init.c; \ then mv ".deps/crammd5_init.Tpo" ".deps/crammd5_init.Plo"; \ else rm -f ".deps/crammd5_init.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/mysql//include/mysql -Wall -W -g -O2 -MT crammd5_init.lo -MD -MP -MF .deps/crammd5_init.Tpo -c crammd5_init.c -fPIC -DPIC -o crammd5_init.lo if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/mysql//include/mysql -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF ".deps/plugin_common.Tpo" \ -c -o plugin_common.lo `test -f 'plugin_common.c' || echo './'`plugin_common.c; \ then mv ".deps/plugin_common.Tpo" ".deps/plugin_common.Plo"; \ else rm -f ".deps/plugin_common.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/mysql//include/mysql -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c plugin_common.c -fPIC -DPIC -o plugin_common.lo plugin_common.c: In function '_plug_free_secret': plugin_common.c:293: warning: pointer targets in passing argument 1 of 'utils->erasebuffer' differ in signedness /bin/sh ../libtool --mode=link gcc -Wall -W -g -O2 -module -export-dynamic -rpath /usr/lib/sasl2 -o libcrammd5.la -version-info 2:22:0 cram.lo crammd5_init.lo plugin_common.lo -lresolv mkdir .libs (cd . && ln -s cram.lo cram.o) (cd . && ln -s crammd5_init.lo crammd5_init.o) (cd . && ln -s plugin_common.lo plugin_common.o) gcc -shared cram.lo crammd5_init.lo plugin_common.lo -lresolv -lc -Wl,-soname -Wl,libcrammd5.so.2 -o .libs/libcrammd5.so.2.0.22 (cd .libs && rm -f libcrammd5.so.2 && ln -s libcrammd5.so.2.0.22 libcrammd5.so.2) (cd .libs && rm -f libcrammd5.so && ln -s libcrammd5.so.2.0.22 libcrammd5.so) creating libcrammd5.la (cd .libs && rm -f libcrammd5.la && ln -s ../libcrammd5.la libcrammd5.la) if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/mysql//include/mysql -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 -I/usr/local/mysql//include/mysql -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: At top level: digestmd5.c:812: error: expected specifier-qualifier-list before 'des_key_schedule' digestmd5.c: In function 'dec_3des': digestmd5.c:849: warning: implicit declaration of function 'des_ede2_cbc_encrypt' digestmd5.c:852: error: 'des_context_t' has no member named 'keysched' digestmd5.c:853: error: 'des_context_t' has no member named 'keysched2' digestmd5.c:854: error: 'des_context_t' has no member named 'ivec' digestmd5.c:855: error: 'DES_DECRYPT' undeclared (first use in this function) digestmd5.c:855: error: (Each undeclared identifier is reported only once digestmd5.c:855: error: for each function it appears in.) digestmd5.c:842: warning: unused parameter 'digest' digestmd5.c: In function 'enc_3des': digestmd5.c:900: error: 'des_context_t' has no member named 'keysched' digestmd5.c:901: error: 'des_context_t' has no member named 'keysched2' digestmd5.c:902: error: 'des_context_t' has no member named 'ivec' digestmd5.c:903: error: 'DES_ENCRYPT' undeclared (first use in this function) digestmd5.c: In function 'init_3des': digestmd5.c:923: warning: implicit declaration of function 'des_key_sched' digestmd5.c:923: error: 'des_cblock' undeclared (first use in this function) digestmd5.c:923: error: expected expression before ')' token digestmd5.c:927: error: expected expression before ')' token digestmd5.c:929: error: 'des_context_t' has no member named 'ivec' digestmd5.c:936: error: expected expression before ')' token digestmd5.c:940: error: expected expression before ')' token digestmd5.c:943: error: 'des_context_t' has no member named 'ivec' digestmd5.c: In function 'dec_des': digestmd5.c:967: warning: implicit declaration of function 'des_cbc_encrypt' digestmd5.c:970: error: 'des_context_t' has no member named 'keysched' digestmd5.c:971: error: 'des_context_t' has no member named 'ivec' digestmd5.c:972: error: 'DES_DECRYPT' undeclared (first use in this function) digestmd5.c:976: error: 'des_context_t' has no member named 'ivec' digestmd5.c:960: warning: unused parameter 'digest' digestmd5.c: In function 'enc_des': digestmd5.c:1021: error: 'des_context_t' has no member named 'keysched' digestmd5.c:1022: error: 'des_context_t' has no member named 'ivec' digestmd5.c:1023: error: 'DES_ENCRYPT' undeclared (first use in this function) digestmd5.c:1027: error: 'des_context_t' has no member named 'ivec' digestmd5.c: In function 'init_des': digestmd5.c:1047: error: 'des_cblock' undeclared (first use in this function) digestmd5.c:1047: error: expected expression before ')' token digestmd5.c:1049: error: 'des_context_t' has no member named 'ivec' digestmd5.c:1056: error: expected expression before ')' token digestmd5.c:1058: error: 'des_context_t' has no member named 'ivec' 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: In function 'digestmd5_decode_packet': digestmd5.c:1497: warning: pointer targets in assignment differ in signedness digestmd5.c: In function 'digestmd5_server_mech_new': digestmd5.c:1797: warning: unused parameter 'challenge' digestmd5.c:1798: warning: unused parameter 'challen' digestmd5.c: In function 'digestmd5_server_mech_step1': digestmd5.c:1947: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness digestmd5.c:1820: warning: unused parameter 'clientin' digestmd5.c:1821: warning: unused parameter 'clientinlen' digestmd5.c:1824: warning: unused parameter 'oparams' digestmd5.c: In function 'digestmd5_server_mech_step2': digestmd5.c:2100: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c:2117: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c:2235: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c:2235: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness digestmd5.c:2238: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c:2238: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness digestmd5.c:2274: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness digestmd5.c:2274: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2274: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness digestmd5.c:2274: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2274: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2274: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness digestmd5.c:2286: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness digestmd5.c:2351: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness digestmd5.c:2369: warning: pointer targets in passing argument 2 of 'DigestCalcSecret' differ in signedness digestmd5.c:2369: warning: pointer targets in passing argument 3 of 'DigestCalcSecret' differ in signedness digestmd5.c:2514: warning: pointer targets in passing argument 2 of 'text->cipher_init' differ in signedness digestmd5.c:2514: warning: pointer targets in passing argument 3 of 'text->cipher_init' differ in signedness digestmd5.c: In function 'make_client_response': digestmd5.c:3010: warning: pointer targets in passing argument 3 of 'calculate_response' differ in signedness digestmd5.c:3010: warning: pointer targets in passing argument 11 of 'calculate_response' differ in signedness digestmd5.c:3034: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness digestmd5.c:3145: warning: pointer targets in passing argument 2 of 'text->cipher_init' differ in signedness digestmd5.c:3145: warning: pointer targets in passing argument 3 of 'text->cipher_init' differ in signedness digestmd5.c: In function 'parse_server_challenge': digestmd5.c:3229: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c: In function 'digestmd5_client_mech_step1': digestmd5.c:3732: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c:3732: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness digestmd5.c:3735: warning: dereferencing type-punned pointer will break strict-aliasing rules digestmd5.c:3735: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness digestmd5.c:3703: warning: unused parameter 'serverin' digestmd5.c:3704: warning: unused parameter 'serverinlen' digestmd5.c: In function 'digestmd5_client_mech_step3': digestmd5.c:3838: warning: unused parameter 'prompt_need' digestmd5.c:3839: warning: unused parameter 'clientout' digestmd5.c:3840: warning: unused parameter 'clientoutlen' digestmd5.c: In function 'digestmd5_client_mech_step': digestmd5.c:4000: warning: pointer targets in assignment differ in signedness make[2]: *** [digestmd5.lo] Error 1 make[2]: Leaving directory `/postfix/cyrus-sasl-2.1.22/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/postfix/cyrus-sasl-2.1.22' make: *** [all] Error 2 请高手指教 是哪出错了 ? 是少了装软件包吗? |