[gnutls-devel] x509: common.c:51:66: error: 'ASN1_ETYPE_INVALID' undeclared here (not in a function)

.uservorname .usernachname dokumentarfilme at hotmail.com
Mon Mar 4 23:39:53 CET 2013


Greetings, when trying to compile gnutls-3.1.7 with make it breaks with:fes-a120d19nas:/backup/fes-a120d19nas/zarafa/gnutls-3.1.7#  make 2>&1 | tee build-log.txtmake  all-recursivemake[1]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7'Making all in glmake[2]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl'make  all-recursivemake[3]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl'Making all in testsmake[4]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl/tests'make  all-recursivemake[5]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl/tests'Making all in .make[6]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl/tests'make[6]: Nothing to be done for `all-am'.make[6]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl/tests'make[5]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl/tests'make[4]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl/tests'make[4]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl'make[4]: Nothing to be done for `all-am'.make[4]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl'make[3]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl'make[2]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/gl'Making all in libmake[2]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/lib'Making all in includesmake[3]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/lib/includes'make[3]: Nothing to be done for `all'.make[3]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/lib/includes'Making all in x509make[3]: Entering directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/lib/x509'  CC     common.locommon.c:51:66: error: 'ASN1_ETYPE_INVALID' undeclared here (not in a function)common.c:52:41: error: 'ASN1_ETYPE_PRINTABLE_STRING' undeclared here (not in a function)common.c:77:46: error: 'ASN1_ETYPE_IA5_STRING' undeclared here (not in a function)common.c:96:41: error: 'ASN1_ETYPE_BMP_STRING' undeclared here (not in a function)common.c:98:41: error: 'ASN1_ETYPE_OCTET_STRING' undeclared here (not in a function)common.c:101:43: error: 'ASN1_ETYPE_UTF8_STRING' undeclared here (not in a function)common.c: In function 'make_printable_string':common.c:208:13: warning: comparison between pointer and integer [enabled by default]common.c:219:21: error: 'ASN1_ETYPE_TELETEX_STRING' undeclared (first use in this function)common.c:219:21: note: each undeclared identifier is reported only once for each function it appears incommon.c:219:18: warning: comparison between pointer and integer [enabled by default]common.c:243:21: error: 'ASN1_ETYPE_UNIVERSAL_STRING' undeclared (first use in this function)common.c:243:18: warning: comparison between pointer and integer [enabled by default]common.c: In function 'decode_complex_string':common.c:277:17: error: 'ASN1_MAX_ERROR_DESCRIPTION_SIZE' undeclared (first use in this function)common.c:297:27: warning: passing argument 4 of 'asn1_der_decoding' from incompatible pointer type [enabled by default]/usr/include/libtasn1.h:162:14: note: expected 'char *' but argument is of type 'const struct oid_to_string *'common.c:321:13: error: 'ASN1_ETYPE_TELETEX_STRING' undeclared (first use in this function)common.c:321:11: warning: assignment makes integer from pointer without a cast [enabled by default]common.c:323:11: warning: assignment makes integer from pointer without a cast [enabled by default]common.c:325:13: error: 'ASN1_ETYPE_UNIVERSAL_STRING' undeclared (first use in this function)common.c:325:11: warning: assignment makes integer from pointer without a cast [enabled by default]common.c:326:14: warning: assignment makes integer from pointer without a cast [enabled by default]common.c:335:13: warning: comparison between pointer and integer [enabled by default]common.c: In function '_gnutls_x509_decode_string':common.c:915:3: warning: implicit declaration of function 'asn1_decode_simple_der' [-Wimplicit-function-declaration]common.c:944:13: warning: comparison between pointer and integer [enabled by default]common.c: In function '_gnutls_x509_read_value':common.c:971:3: warning: implicit declaration of function 'asn1_read_value_type' [-Wimplicit-function-declaration]common.c:979:16: error: 'ASN1_ETYPE_BIT_STRING' undeclared (first use in this function)common.c:979:13: warning: comparison between pointer and integer [enabled by default]common.c:1001:13: warning: comparison between pointer and integer [enabled by default]common.c: In function '_gnutls_x509_read_string':common.c:1041:16: error: 'ASN1_ETYPE_BIT_STRING' undeclared (first use in this function)common.c:1041:13: warning: comparison between pointer and integer [enabled by default]common.c:1060:13: warning: comparison between pointer and integer [enabled by default]common.c: In function '_gnutls_x509_encode_string':common.c:1088:14: error: 'ASN1_MAX_TL_SIZE' undeclared (first use in this function)common.c:1092:11: warning: assignment makes integer from pointer without a cast [enabled by default]common.c:1093:3: warning: implicit declaration of function 'asn1_encode_simple_der' [-Wimplicit-function-declaration]make[3]: *** [common.lo] Error 1make[3]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/lib/x509'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7/lib'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/c/backup/fes-a120d19nas/zarafa/gnutls-3.1.7'make: *** [all] Error 2I configured it with /configure --enable-shared --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr --sysconfdir=/etc --sbindir=/usr/sbin/The content of configure.log can be viewed here: https://gist.github.com/mfe-/5086320 
If you need more information, let me know.I appreciate any help.
Best regardsmartin  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130304/65e7ed19/attachment.htm>


More information about the Gnutls-devel mailing list