[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU Shishi fails to build
From: |
Nikita Karetnikov |
Subject: |
GNU Shishi fails to build |
Date: |
Wed, 21 Nov 2012 23:05:02 +0300 |
Hi,
I'm trying to package GNU Shishi.
I fixed the "'gets' undeclared here (not in a function)" error using
the attached patch (I used this [1] as a reference). Then Shishi
failed with these errors:
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)
I tried the following:
- removed all references to "MAX_ERROR_DESCRIPTION_SIZE";
- replaced "MAX_ERROR_DESCRIPTION_SIZE" with
"ASN1_MAX_ERROR_DESCRIPTION_SIZE".
The above returned "collect2: error: ld returned 1 exit status".
How to fix it?
By the way, "MAX_ERROR_DESCRIPTION_SIZE is deprecated and should not
be used in newly-written code." [2]
Nikita
[1]
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blobdiff;f=lib/stdio.in.h;h=c377b6e0296209d665183c228e0d8b3416d25962;hp=aa7b599d19cad0d29f51519f257e3a4de25cc61e;hb=66712c23388e93e5c518ebc8515140fa0c807348;hpb=3d0ba3fe7865e7030b4d2097f122e64b16f0a5c9
[2]
https://www.gnu.org/software/libtasn1/reference/libtasn1-libtasn1.html#ASN1-MAX-ERROR-DESCRIPTION-SIZE:CAPS
shishi.scm
Description: Binary data
shishi-gets-undeclared.patch
Description: Text Data
- GNU Shishi fails to build,
Nikita Karetnikov <=
- Re: GNU Shishi fails to build, Ludovic Courtès, 2012/11/21
- Re: GNU Shishi fails to build, Nikita Karetnikov, 2012/11/21
- Re: GNU Shishi fails to build, Ludovic Courtès, 2012/11/21
- Re: GNU Shishi fails to build, Nikita Karetnikov, 2012/11/21
- Re: GNU Shishi fails to build, Ludovic Courtès, 2012/11/22
- Re: GNU Shishi fails to build, Nikita Karetnikov, 2012/11/22
- Re: GNU Shishi fails to build, Ludovic Courtès, 2012/11/22
- Re: GNU Shishi fails to build, Nikita Karetnikov, 2012/11/22
- Re: GNU Shishi fails to build, Ludovic Courtès, 2012/11/23