|
From: Andre H. <and...@gm...> - 2010-01-26 11:27:34
|
Hello, try to compile 1.3.2c with gcc 3.3 for older machines. 1.3.2b was compiling ok. This is my configure-line: ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --with-modules=mod_tls:mod_clamav:mod_ifsession --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql and this is the error i get: gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_tls.c mod_tls.c: In function `tls_diags_cb': mod_tls.c:491: warning: passing arg 1 of `SSL_state' discards qualifiers from pointer target type mod_tls.c:500: warning: passing arg 1 of `SSL_state' discards qualifiers from pointer target type mod_tls.c:571: warning: passing arg 1 of `SSL_state_string_long' discards qualifiers from pointer target type mod_tls.c:580: warning: passing arg 1 of `SSL_get_current_cipher' discards qualifiers from pointer target type mod_tls.c:580: warning: passing arg 1 of `SSL_get_current_cipher' discards qualifiers from pointer target type mod_tls.c:581: warning: passing arg 1 of `SSL_get_current_cipher' discards qualifiers from pointer target type mod_tls.c:596: warning: passing arg 1 of `SSL_state_string_long' discards qualifiers from pointer target type mod_tls.c:601: warning: passing arg 1 of `SSL_state_string_long' discards qualifiers from pointer target type mod_tls.c:615: warning: passing arg 1 of `SSL_state_string_long' discards qualifiers from pointer target type mod_tls.c:619: warning: passing arg 1 of `SSL_state_string_long' discards qualifiers from pointer target type mod_tls.c: In function `tls_check_client_cert': mod_tls.c:934: warning: comparison between signed and unsigned mod_tls.c: In function `tls_setup_cert_dn_environ': mod_tls.c:2960: warning: comparison between signed and unsigned mod_tls.c: In function `tls_setup_environ': mod_tls.c:3264: warning: comparison between signed and unsigned mod_tls.c: In function `tls_verify_cb': mod_tls.c:3314: warning: comparison between signed and unsigned mod_tls.c:3375: warning: comparison between signed and unsigned mod_tls.c: In function `tls_verify_crl': mod_tls.c:3501: warning: comparison between signed and unsigned mod_tls.c:3569: warning: comparison between signed and unsigned mod_tls.c: In function `tls_x509_name_oneline': mod_tls.c:4026: warning: comparison between signed and unsigned mod_tls.c: In function `set_tlsoptions': mod_tls.c:5077: warning: comparison between signed and unsigned mod_tls.c: In function `set_tlsprotocol': mod_tls.c:5151: warning: comparison between signed and unsigned mod_tls.c: In function `set_tlsverifyorder': mod_tls.c:5449: warning: comparison between signed and unsigned mod_tls.c:5464: warning: comparison between signed and unsigned mod_tls.c: In function `tls_sess_init': mod_tls.c:5874: warning: control reaches end of non-void function mod_tls.c: At top level: mod_tls.c:5938: warning: type defaults to `int' in declaration of `res' mod_tls.c:5938: error: initializer element is not constant mod_tls.c:5938: warning: data definition has no type or storage class mod_tls.c:5943: error: parse error before string constant mod_tls.c:5943: warning: type defaults to `int' in declaration of `pr_feat_add' mod_tls.c:5943: warning: data definition has no type or storage class mod_tls.c:5944: error: parse error before string constant mod_tls.c:5944: warning: type defaults to `int' in declaration of `pr_feat_add' mod_tls.c:5944: warning: data definition has no type or storage class mod_tls.c:5945: error: parse error before string constant mod_tls.c:5945: warning: type defaults to `int' in declaration of `pr_feat_add' mod_tls.c:5945: warning: data definition has no type or storage class make[1]: *** [mod_tls.o] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/proftpd-1.3.2c/modules' make: *** [modules] Error 2 Bad exit status from /var/tmp/rpm-tmp.40282 (%build) Is there something i can do to fix this and make a working compilation? Thanks, Andre |