gnutls-devel
[Top][All Lists]
Advanced

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

Gnutls 3.0.16 fails due to autoopts header mismatch


From: Kris Karas
Subject: Gnutls 3.0.16 fails due to autoopts header mismatch
Date: Fri, 16 Mar 2012 18:25:35 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120315 Thunderbird/11.0

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.

FWIW, I compiled and installed autogen-5.15 and re-built the src/*.{h,c} from the src/*.def and everything worked OK, a gratuitous install of /usr/lib/libopts.so notwithstanding.

Kris Karas


reply via email to

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