help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] Re: libtasn1 compile issue in ANS1.c


From: Simon Josefsson
Subject: [Help-gnutls] Re: libtasn1 compile issue in ANS1.c
Date: Wed, 27 May 2009 07:41:56 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux)

Didier Godefroy <address@hidden> writes:

> on 5/26/09 11:11 AM, Simon Josefsson at address@hidden uttered the
> following:
>
>>> I just noticed that this enumeration is auto-generated with bison from
>>> the given grammar's tokens, thus TRUE/FALSE cannot be replaced. However
>>> would adding #undef TRUE and #undef FALSE solve the compilation issue
>>> for you?
>> 
>> We can change the bison source, can't we?  Like this:
>> 
>> /Simon
>> 
>> diff --git a/lib/ASN1.y b/lib/ASN1.y
>
> Ok, I applied the patch and reverted ASN1.c to original, but configure
> doesn't cause the generation of a new ASN1.c it appears (making my patch on
> it useless).
> How do we get the new ASN1.c regenerated?

Make sure ASN1.y has a newer timestamp than ASN1.c, and it should be
re-built automatically.  E.g., try 'touch lib/ASN1.y'.  You could also
remove the built file, 'rm lib/ASN1.c', then it will be re-built for
sure.  Thanks for testing!

/Simon




reply via email to

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