[Postfixbuch-users] Übersetzen von sample-server & client
Andreas Kienle
andreas.kienle at drs.de
Do Feb 2 10:17:24 CET 2006
Thomas schrieb:
>> Habs nun sogar über die aktuellen Quellen cyrus-sasl.+ versucht. ging alles
>> schief. gcc4. gcc3.3 sowie gcc3.2 scheiterten auch.
>>
>>
>>
> Dann wird es wohl nicht am GCC liegen.
>
>
>> hat jemand ne Lösung.
>>
>>
> Die Fehlermeldung wäre sehr hilfreich.
>
Sorry!
Der configure lief ordnetlich durch hier nun die Fehlermeldung, die make
liefert
--snip--
-c -o db_none.lo `test -f 'db_none.c' || echo './'`db_none.c; \
then mv ".deps/db_none.Tpo" ".deps/db_none.Plo"; \
else rm -f ".deps/db_none.Tpo"; exit 1; \
fi
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
-Wall -W -g -O2 -MT db_none.lo -MD -MP -MF .deps/db_none.Tpo -c
db_none.c -fPIC -DPIC -o db_none.lo
db_none.c: In function '_sasldb_getdata':
db_none.c:53: warning: unused parameter 'authid'
db_none.c:54: warning: unused parameter 'realm'
db_none.c:55: warning: unused parameter 'propName'
db_none.c:56: warning: unused parameter 'out'
db_none.c:57: warning: unused parameter 'max_out'
db_none.c:58: warning: unused parameter 'out_len'
db_none.c: In function '_sasldb_putdata':
db_none.c:66: warning: unused parameter 'authid'
db_none.c:67: warning: unused parameter 'realm'
db_none.c:68: warning: unused parameter 'propName'
db_none.c:69: warning: unused parameter 'data'
db_none.c:70: warning: unused parameter 'data_len'
db_none.c: In function '_sasldb_getnextkey':
db_none.c:90: warning: unused parameter 'utils'
db_none.c:91: warning: unused parameter 'handle'
db_none.c:92: warning: unused parameter 'out'
db_none.c:93: warning: unused parameter 'max_out'
db_none.c:94: warning: unused parameter 'out_len'
db_none.c: In function '_sasldb_releasekeyhandle':
db_none.c:99: warning: unused parameter 'utils'
db_none.c:100: warning: unused parameter 'handle'
/bin/sh ../libtool --mode=link /usr/bin/gcc -Wall -W -g -O2 -o
libsasldb.la allockey.lo db_none.lo -lresolv -lresolv
mkdir .libs
ar cru .libs/libsasldb.al allockey.lo db_none.lo
ranlib .libs/libsasldb.al
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
if /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I../include -Wall -W -g -O2 -MT db_none.o -MD -MP -MF
".deps/db_none.Tpo" \
-c -o db_none.o `test -f 'db_none.c' || echo './'`db_none.c; \
then mv ".deps/db_none.Tpo" ".deps/db_none.Po"; \
else rm -f ".deps/db_none.Tpo"; exit 1; \
fi
db_none.c: In Funktion »_sasldb_getdata«:
db_none.c:53: Warnung: nicht benutzter Parameter »authid«
db_none.c:54: Warnung: nicht benutzter Parameter »realm«
db_none.c:55: Warnung: nicht benutzter Parameter »propName«
db_none.c:56: Warnung: nicht benutzter Parameter »out«
db_none.c:57: Warnung: nicht benutzter Parameter »max_out«
db_none.c:58: Warnung: nicht benutzter Parameter »out_len«
db_none.c: In Funktion »_sasldb_putdata«:
db_none.c:66: Warnung: nicht benutzter Parameter »authid«
db_none.c:67: Warnung: nicht benutzter Parameter »realm«
db_none.c:68: Warnung: nicht benutzter Parameter »propName«
db_none.c:69: Warnung: nicht benutzter Parameter »data«
db_none.c:70: Warnung: nicht benutzter Parameter »data_len«
db_none.c: In Funktion »_sasldb_getnextkey«:
db_none.c:90: Warnung: nicht benutzter Parameter »utils«
db_none.c:91: Warnung: nicht benutzter Parameter »handle«
db_none.c:92: Warnung: nicht benutzter Parameter »out«
db_none.c:93: Warnung: nicht benutzter Parameter »max_out«
db_none.c:94: Warnung: nicht benutzter Parameter »out_len«
db_none.c: In Funktion »_sasldb_releasekeyhandle«:
db_none.c:99: Warnung: nicht benutzter Parameter »utils«
db_none.c:100: Warnung: nicht benutzter Parameter »handle«
ar cru .libs/libsasldb.a db_none.o
make[2]: Leaving directory `/usr/src/cyrus-sasl-2.1.22/sasldb'
Making all in plugins
make[2]: Entering directory `/usr/src/cyrus-sasl-2.1.22/plugins'
if /bin/sh ../libtool --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I../include -I../lib -I../sasldb -I../include -Wall -W -g
-O2 -MT cram.lo -MD -MP -MF ".deps/cram.Tpo" \
-c -o cram.lo `test -f 'cram.c' || echo './'`cram.c; \
then mv ".deps/cram.Tpo" ".deps/cram.Plo"; \
else rm -f ".deps/cram.Tpo"; exit 1; \
fi
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib
-I../sasldb -I../include -Wall -W -g -O2 -MT cram.lo -MD -MP -MF
.deps/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 /usr/bin/gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I../include -I../lib -I../sasldb -I../include -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
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib
-I../sasldb -I../include -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 /usr/bin/gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I../include -I../lib -I../sasldb -I../include -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
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib
-I../sasldb -I../include -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 /usr/bin/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 -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)
/usr/bin/gcc -shared cram.lo crammd5_init.lo plugin_common.lo -lresolv
-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 /usr/bin/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
/usr/bin/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: At top level:
digestmd5.c:812: error: syntax error before 'des_key_schedule'
digestmd5.c:812: warning: no semicolon at end of struct or union
digestmd5.c:813: warning: type defaults to 'int' in declaration of 'ivec'
digestmd5.c:813: warning: data definition has no type or storage class
digestmd5.c:814: error: syntax error before 'keysched2'
digestmd5.c:814: warning: type defaults to 'int' in declaration of
'keysched2'
digestmd5.c:814: warning: data definition has no type or storage class
digestmd5.c: In function 'dec_3des':
digestmd5.c:849: warning: implicit declaration of function
'des_ede2_cbc_encrypt'
digestmd5.c:852: error: dereferencing pointer to incomplete type
digestmd5.c:853: error: dereferencing pointer to incomplete type
digestmd5.c:854: error: dereferencing pointer to incomplete type
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: dereferencing pointer to incomplete type
digestmd5.c:901: error: dereferencing pointer to incomplete type
digestmd5.c:902: error: dereferencing pointer to incomplete type
digestmd5.c:903: error: 'DES_ENCRYPT' undeclared (first use in this
function)
digestmd5.c: In function 'init_3des':
digestmd5.c:918: error: invalid application of 'sizeof' to incomplete
type 'des_context_t'
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: syntax error before ')' token
digestmd5.c:927: error: syntax error before ')' token
digestmd5.c:929: error: dereferencing pointer to incomplete type
digestmd5.c:934: error: increment of pointer to unknown structure
digestmd5.c:934: error: arithmetic on pointer to an incomplete type
digestmd5.c:936: error: syntax error before ')' token
digestmd5.c:940: error: syntax error before ')' token
digestmd5.c:943: error: dereferencing pointer to incomplete type
digestmd5.c: In function 'dec_des':
digestmd5.c:967: warning: implicit declaration of function 'des_cbc_encrypt'
digestmd5.c:970: error: dereferencing pointer to incomplete type
digestmd5.c:971: error: dereferencing pointer to incomplete type
digestmd5.c:972: error: 'DES_DECRYPT' undeclared (first use in this
function)
digestmd5.c:976: error: dereferencing pointer to incomplete type
digestmd5.c:960: warning: unused parameter 'digest'
digestmd5.c: In function 'enc_des':
digestmd5.c:1021: error: dereferencing pointer to incomplete type
digestmd5.c:1022: error: dereferencing pointer to incomplete type
digestmd5.c:1023: error: 'DES_ENCRYPT' undeclared (first use in this
function)
digestmd5.c:1027: error: dereferencing pointer to incomplete type
digestmd5.c: In function 'init_des':
digestmd5.c:1042: error: invalid application of 'sizeof' to incomplete
type 'des_context_t'
digestmd5.c:1047: error: 'des_cblock' undeclared (first use in this
function)
digestmd5.c:1047: error: syntax error before ')' token
digestmd5.c:1049: error: dereferencing pointer to incomplete type
digestmd5.c:1054: error: increment of pointer to unknown structure
digestmd5.c:1054: error: arithmetic on pointer to an incomplete type
digestmd5.c:1056: error: syntax error before ')' token
digestmd5.c:1058: error: dereferencing pointer to incomplete type
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: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: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:2095: warning: dereferencing type-punned pointer will break
strict-aliasing rules
digestmd5.c:2112: warning: dereferencing type-punned pointer will break
strict-aliasing rules
digestmd5.c:2230: warning: pointer targets in passing argument 2 of
'_plug_strdup' differ in signedness
digestmd5.c:2233: warning: pointer targets in passing argument 2 of
'_plug_strdup' differ in signedness
digestmd5.c:2254: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2254: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2254: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2254: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2254: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2254: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2266: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
digestmd5.c:2331: warning: pointer targets in passing argument 1 of
'__builtin_strncpy' differ in signedness
digestmd5.c:2349: warning: pointer targets in passing argument 2 of
'DigestCalcSecret' differ in signedness
digestmd5.c:2349: warning: pointer targets in passing argument 3 of
'DigestCalcSecret' differ in signedness
digestmd5.c:2494: warning: pointer targets in passing argument 2 of
'text->cipher_init' differ in signedness
digestmd5.c:2494: warning: pointer targets in passing argument 3 of
'text->cipher_init' differ in signedness
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:2990: warning: pointer targets in passing argument 11 of
'calculate_response' differ in signedness
digestmd5.c:3014: warning: pointer targets in passing argument 6 of
'add_to_challenge' differ in signedness
digestmd5.c:3125: warning: pointer targets in passing argument 2 of
'text->cipher_init' differ in signedness
digestmd5.c:3125: warning: pointer targets in passing argument 3 of
'text->cipher_init' differ in signedness
digestmd5.c: In function 'digestmd5_client_mech_step1':
digestmd5.c:3712: warning: pointer targets in passing argument 2 of
'_plug_strdup' differ in signedness
digestmd5.c:3715: warning: pointer targets in passing argument 2 of
'_plug_strdup' differ in signedness
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
make[2]: *** [digestmd5.lo] Fehler 1
make[2]: Leaving directory `/usr/src/cyrus-sasl-2.1.22/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/cyrus-sasl-2.1.22'
make: *** [all] Fehler 2
--snap--
cu & Danke @ndy
> Gruß
> T.
>
Mehr Informationen über die Mailingliste Postfixbuch-users