From aniruddha.a at gmail.com Mon May 31 12:37:04 2010 From: aniruddha.a at gmail.com (Aniruddha A) Date: Mon, 31 May 2010 16:07:04 +0530 Subject: [xmppd-dev] Compilation error with jabberd14-1.6.1.1 Message-ID: Hello, I am trying to build jabberd1.4 from source, and I see the following errors with compilation, I am not sure if I am using the right version of the libraries /my/home/dir/bin/include/gnutls/openpgp.h:315: error: too few arguments to function `int gnutls_certificate_set_openpgp_key_file(gnutls_certificate_credentials_st*, const char*, const char*, gnutls_openpgp_crt_fmt_t)' mio_tls.cc:615: error: at this point in file /my/home/dir/bin/include/gnutls/openpgp.h:344: error: too few arguments to function `int gnutls_certificate_set_openpgp_keyring_file(gnutls_certificate_credentials_st*, const char*, gnutls_openpgp_crt_fmt_t)' mio_tls.cc:634: error: at this point in file mio_tls.cc:653: error: `gnutls_certificate_set_openpgp_trustdb' was not declared in this scope mio_tls.cc: In function `bool mio_tls_early_init()': mio_tls.cc:917: error: `subjectAltName_asn1_tab' was not declared in this scope mio_tls.cc:917: error: `mio_tls_asn1_tree' was not declared in this scope mio_tls.cc:917: error: `asn1_array2tree' was not declared in this scope mio_tls.cc:918: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:919: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc: In function `int mio_ssl_starttls(mio_st*, int, const char*)': mio_tls.cc:1392: warning: cast to pointer from integer of different size mio_tls.cc: In function `int mio_tls_check_x509(mio_st*, const char*, const std::string&)': mio_tls.cc:1676: error: `ASN1_TYPE' was not declared in this scope mio_tls.cc:1676: error: expected `;' before "subjectAltName_element" mio_tls.cc:1685: error: `mio_tls_asn1_tree' was not declared in this scope mio_tls.cc:1685: error: `subjectAltName_element' was not declared in this scope mio_tls.cc:1685: error: `asn1_create_element' was not declared in this scope mio_tls.cc:1686: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1687: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1692: error: `asn1_der_decoding' was not declared in this scope mio_tls.cc:1693: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1694: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1695: error: `asn1_delete_structure' was not declared in this scope mio_tls.cc:1709: error: `asn1_read_value' was not declared in this scope mio_tls.cc:1710: error: `ASN1_ELEMENT_NOT_FOUND' was not declared in this scope mio_tls.cc:1714: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1715: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1734: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1735: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1774: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1775: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1787: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1788: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1794: error: expected `;' before "directoryString_element" mio_tls.cc:1800: error: `directoryString_element' was not declared in this scope mio_tls.cc:1801: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1802: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1803: error: `asn1_delete_structure' was not declared in this scope mio_tls.cc:1808: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1809: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1810: error: `asn1_delete_structure' was not declared in this scope mio_tls.cc:1815: error: `ASN1_SUCCESS' was not declared in this scope mio_tls.cc:1816: error: `libtasn1_strerror' was not declared in this scope mio_tls.cc:1817: error: `asn1_delete_structure' was not declared in this scope mio_tls.cc:1823: error: `asn1_delete_structure' was not declared in this scope mio_tls.cc:1857: error: `asn1_delete_structure' was not declared in this scope mio_tls.cc:1865: error: `asn1_delete_structure' was not declared in this scope make-3.79.1-p7[3]: *** [mio_tls.lo] Error 1 I have installed the following (from sources): jabberd14-1.6.1.1 gnutls-2.8.6 libgcrypt-1.4.5 libgpg-error-1.8 libidn-1.19 pth-2.0.7 expat-2.0.1 If these are incompatible, please suggest me the correct versions. I am using 64-bit 2.6 Linux Thanks. -- Ani