help-shishi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error building Shishi version 1.0.1, undeclared MAX_ERROR_DESCRIPTIO


From: Simon Josefsson
Subject: Re: error building Shishi version 1.0.1, undeclared MAX_ERROR_DESCRIPTION_SIZE
Date: Tue, 12 Mar 2013 05:12:11 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux)

Marco Maggi <address@hidden> writes:

> Ciao,
>
>   I am no expert of  crypto libraries; on my i686-pc-linux-gnu, I
> fail to build version 1.0.1 because of the error:
>
>    make[3]: Entering directory `/home/marco/var/build/lib/shishi-1.0.1/lib'
>      CC asn1.lo
>    asn1.c: In function '_shishi_asn1_init':
>    asn1.c:42:25: error: 'MAX_ERROR_DESCRIPTION_SIZE' undeclared (first use in 
> this function)
>    asn1.c:42:25: note: each undeclared identifier is reported only once for 
> each function it appears in
>    asn1.c: In function 'shishi_asn1_to_der_field':
>    asn1.c:767:25: error: 'MAX_ERROR_DESCRIPTION_SIZE' undeclared (first use 
> in this function)
>    asn1.c: In function 'der2asn1':
>    asn1.c:850:25: error: 'MAX_ERROR_DESCRIPTION_SIZE' undeclared (first use 
> in this function)
>
> it   appears  that   Libtasn1   version  3.2   does  not   define
> MAX_ERROR_DESCRIPTION_SIZE    anymore;    rather   it    defines:
> ASN1_MAX_ERROR_DESCRIPTION_SIZE.
>
>   I  dunno which  version  of Libtasn1  removed definitions,  but
> MAX_ERROR_DESCRIPTION_SIZE was already commented as deprecated in
> Libtasn1 version 2.12 (in the header file).

Right -- Shishi hasn't been updated in a while, and used now deprecated
definitions from libtasn1.  It should be easy to fix.

>   I   can    build   if   I   use    the   configuration   option
> --without-system-asn1; I do not see  this mentioned in the README
> file.

Right, that workaround will work.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]