GNUTls compilation error
Well the usual story. I want to have Gaim running and that one needs Mozilla SSL or GNUTls. I decided to install the second one. The ./configure runs well but the make command makes "an" error (see below).
What should I do? I am running SuSe 8.2.
Optional: how to install Mozilla SSL?
In file included from /usr/local/include/gpg-error.h:24,
from /usr/local/include/gcrypt.h:27,
from gnutls_mpi.h:4,
from gnutls_int.h:108,
from gnutls_record.c:25:
/usr/lib/gcc-lib/i486-suse-linux/3.3/include/stddef.h:151: error: conflicting types for `ptrdiff_t'
defines.h:58: error: previous declaration of `ptrdiff_t'
In file included from gnutls_int.h:108,
from gnutls_record.c:25:
gnutls_mpi.h:27: error: parse error before '*' token
gnutls_mpi.h:29: warning: `GCRY_MPI' is deprecated (declared at /usr/local/include/gcrypt.h:153)
gnutls_mpi.h:30: warning: `GCRY_MPI' is deprecated (declared at /usr/local/include/gcrypt.h:153)
gnutls_mpi.h:32: warning: `GCRY_MPI' is deprecated (declared at /usr/local/include/gcrypt.h:153)
gnutls_mpi.h:33: warning: `GCRY_MPI' is deprecated (declared at /usr/local/include/gcrypt.h:153)
gnutls_mpi.h:35: error: parse error before "MPI"
In file included from gnutls_record.c:25:
gnutls_int.h:225: error: parse error before "MPI"
gnutls_int.h:225: warning: no semicolon at end of struct or union
gnutls_int.h:226: warning: data definition has no type or storage class
gnutls_int.h:227: error: parse error before "client_g"
gnutls_int.h:227: warning: data definition has no type or storage class
gnutls_int.h:228: error: parse error before "client_p"
gnutls_int.h:228: warning: data definition has no type or storage class
gnutls_int.h:229: error: parse error before "dh_secret"
gnutls_int.h:229: warning: data definition has no type or storage class
gnutls_int.h:231: error: parse error before "A"
gnutls_int.h:231: warning: data definition has no type or storage class
gnutls_int.h:232: error: parse error before "B"
gnutls_int.h:232: warning: data definition has no type or storage class
gnutls_int.h:233: error: parse error before "u"
gnutls_int.h:233: warning: data definition has no type or storage class
gnutls_int.h:234: error: parse error before "b"
gnutls_int.h:234: warning: data definition has no type or storage class
gnutls_int.h:235: error: parse error before "a"
gnutls_int.h:235: warning: data definition has no type or storage class
gnutls_int.h:236: error: parse error before "x"
gnutls_int.h:236: warning: data definition has no type or storage class
gnutls_int.h:239: error: parse error before "rsa"
gnutls_int.h:239: warning: data definition has no type or storage class
gnutls_int.h:264: error: parse error before '}' token
In file included from gnutls_int.h:270,
from gnutls_record.c:25:
gnutls_hash_int.h:29: warning: `GCRY_MD_HD' is deprecated (declared at /usr/local/include/gcrypt.h:1032)
In file included from gnutls_int.h:271,
from gnutls_record.c:25:
gnutls_cipher_int.h:27: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/local/include/gcrypt.h:580)
gnutls_cipher_int.h:28: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/local/include/gcrypt.h:580)
gnutls_cipher_int.h:29: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/local/include/gcrypt.h:580)
gnutls_cipher_int.h:30: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/local/include/gcrypt.h:580)
In file included from gnutls_cert.h:4,
from gnutls_int.h:273,
from gnutls_record.c:25:
gnutls_pk.h:5: error: parse error before "MPI"
gnutls_pk.h:7: error: parse error before "MPI"
gnutls_pk.h:9: error: parse error before "MPI"
gnutls_pk.h:11: error: parse error before "MPI"
gnutls_pk.h:13: error: parse error before "MPI"
In file included from gnutls_int.h:273,
from gnutls_record.c:25:
gnutls_cert.h:39: error: parse error before "MPI"
gnutls_cert.h:39: warning: no semicolon at end of struct or union
gnutls_cert.h:72: error: parse error before '}' token
gnutls_cert.h:72: warning: data definition has no type or storage class
gnutls_cert.h:75: error: parse error before "MPI"
gnutls_cert.h:75: warning: no semicolon at end of struct or union
gnutls_cert.h:96: error: parse error before '}' token
gnutls_cert.h:96: warning: data definition has no type or storage class
gnutls_cert.h:100: error: parse error before '*' token
gnutls_cert.h:102: error: parse error before "cert"
In file included from gnutls_record.c:25:
gnutls_int.h:381: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/local/include/gcrypt.h:580)
gnutls_int.h:382: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/local/include/gcrypt.h:580)
gnutls_int.h:609: error: parse error before "MPI"
gnutls_int.h:609: warning: no semicolon at end of struct or union
gnutls_int.h:610: warning: data definition has no type or storage class
gnutls_int.h:616: error: parse error before '}' token
gnutls_int.h:616: warning: data definition has no type or storage class
gnutls_int.h:623: error: parse error before "MPI"
gnutls_int.h:623: warning: no semicolon at end of struct or union
gnutls_int.h:624: warning: data definition has no type or storage class
In file included from gnutls_record.c:44:
gnutls_dh.h:21: error: parse error before "gnutls_get_dh_params"
gnutls_dh.h:21: error: parse error before '*' token
gnutls_dh.h:21: warning: data definition has no type or storage class
gnutls_dh.h:22: error: parse error before "gnutls_calc_dh_secret"
gnutls_dh.h:22: error: parse error before '*' token
gnutls_dh.h:22: warning: data definition has no type or storage class
gnutls_dh.h:23: error: parse error before "gnutls_calc_dh_key"
gnutls_dh.h:23: error: parse error before "f"
gnutls_dh.h:23: warning: data definition has no type or storage class
gnutls_dh.h:24: error: parse error before '*' token
gnutls_dh.h:28: error: parse error before "_gnutls_dh_default_params"
gnutls_dh.h:28: warning: data definition has no type or storage class
make[3]: *** [gnutls_record.lo] Error 1
make[3]: Leaving directory `/home/all/Downloads/GNUTLs/gnutls-0.8.10/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/all/Downloads/GNUTLs/gnutls-0.8.10/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/all/Downloads/GNUTLs/gnutls-0.8.10'
make: *** [all] Error 2
|