Gnutls 3.0.16 fails due to autoopts header mismatch

Bruce Korb bkorb at
Fri Mar 16 23:35:27 CET 2012

On 03/16/12 15:25, Kris Karas wrote:
> Just tried compiling the new gnutls 3.0.16:
> 	serv-args.h:62:3: error: #error option template version mismatches autoopts/options.h header
> 	serv-args.h:63:3: error: unknown type name 'Choke'
> 	serv-args.h:63:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
> Poking around, it seems that the version of GNU autogen used to convert src/serv-args.def into src/serv-args.h has placed
> 	#define AO_TEMPLATE_VERSION 147460
> into that header, whereas in src/libopts/autoopts/options.h there is
> 	#define OPTIONS_STRUCT_VERSION 147459
> which is what triggers the version mismatch and error.

gnutls should just always link to the one it is built with and
the one it is built with needs to be the same one used to generate
the .[ch] files.  I've tried to minimize the rough edges....

More information about the Gnutls-devel mailing list