[Help-gnutls] Re: libtasn1 compile issue in ANS1.c
Simon Josefsson
simon at josefsson.org
Wed May 27 07:41:56 CEST 2009
Didier Godefroy <dg at ulysium.net> writes:
> on 5/26/09 11:11 AM, Simon Josefsson at simon at josefsson.org 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
More information about the Gnutls-help
mailing list