[gnutls-devel] gnutls-3.3.17: compilation error due to autoopts

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Aug 14 09:58:59 CEST 2015


On Fri, Aug 14, 2015 at 6:55 AM, mancha <mancha1 at zoho.com> wrote:

>> In file included from certtool-args.c:43:0: certtool-args.h:61:3:
>> error: #error option template version mismatches autoopts/options.h
>> header # error option template version mismatches autoopts/options.h
>> header ^ certtool-args.h:62:3: error: unknown type name 'Choke' Choke
>> Me.  ^ certtool-args.h:62:11: error: expected '=', ',', ';', 'asm' or
>> '__attribute__' before '.' token Choke Me.
> Hi. The issue is the bundled autogen'd files (src/*.bak) were generated
> using autogen-5.18.5 while the bundled autoopts is from autogen-5.18.4.
> Nikos, this problem is happening often (I recently had to fix the same
> thing on 3.1.28). It might be easiest to bundle the same libopts version
> in all releases and make sure the autogen where you build the .bak files
> matches.

That's much easier said than done. Autogen is often updated on my systems
without me realizing it. I've now added hooks to prevent a release if there is a
mismatch.

> Thomas, as for a fix, you can install autogen 5.18.5 and have GnuTLS
> 3.3.17 use that to autogen some of its files instead of using the
> bundled .bak files or you might get away with:

You can also try 3.3.17.1 and 3.4.4.1 which fix the issue.

regards,
Nikos



More information about the Gnutls-devel mailing list