Newsgroup: it.comp.os.linux.sys
Titolo: compilazione cyrus-sasl

Ciao a tutti,
sto cercando di compilare cyrus-sasl2.1.22 ma mi vengono fuori degli errori
di sintassi(!):
digestmd5.c:812: error: parse 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: parse 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: 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 an incomplete
type
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: parse error before ')' token
digestmd5.c:927: error: parse 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: parse error before ')' token
digestmd5.c:940: error: parse 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: 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 an incomplete
type
digestmd5.c:1047: error: `des_cblock' undeclared (first use in this
function)
digestmd5.c:1047: error: parse 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: parse error before ')' token
digestmd5.c:1058: error: dereferencing pointer to incomplete type
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
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.22/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.22'
make: *** [all] Error 2
Qualche idea? Sto sbagliando io qualche cosa oppure c'è proprio un errore
nel sorgente?
Grazie,
Luca

 Luca
Hai controllato se le dipendenze sono tutte soddisfatte? Questo tipo di 
errore si ha in genere quando manca una qualche libreria *-devel.
A volte occorre specificare, nel ./configure, il path di alcuni header.
Analizza il log di ./configure, cerca dove controlla la presenza degli 
header.
Andrea