gnutls-devel
[Top][All Lists]
Advanced

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

Re: Gnutls 3.0.16 fails due to autoopts header mismatch


From: Bruce Korb
Subject: Re: Gnutls 3.0.16 fails due to autoopts header mismatch
Date: Fri, 16 Mar 2012 15:35:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2

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....



reply via email to

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