[gnutls-devel] gnutls-3.3.17: compilation error due to autoopts
Thomas Klausner
wiz at NetBSD.org
Mon Aug 10 15:53:52 CEST 2015
Hi!
I just tried compiling gnutls-3.3.17 on NetBSD-7.99.20/amd64.
It failed with
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.
^
The header at this point looks like this:
/**
* Ensure that the library used for compiling this generated header is at
* least as new as the version current when the header template was released
* (not counting patch version increments). Also ensure that the oldest
* tolerable version is at least as old as what was current when the header
* template was released.
*/
#define AO_TEMPLATE_VERSION 167937
#if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \
|| (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION)
# error option template version mismatches autoopts/options.h header
Choke Me.
#endif
grepping for the symbols gives me:
gnutls-3.3.17/src/libopts/autoopts/options.h.orig:#define OPTIONS_MINIMUM_VERSION 102400
gnutls-3.3.17/src/libopts/autoopts/options.h:#define OPTIONS_STRUCT_VERSION 167936
So it looks like the included is not new enough.
Thomas
More information about the Gnutls-devel
mailing list