[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


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";

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]



Attachment: shishi.scm
Description: Binary data

Attachment: shishi-gets-undeclared.patch
Description: Text Data

reply via email to

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