[gnutls-help] Build issue with 3.1.26

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Sep 16 13:01:59 CEST 2014


On Mon, Sep 15, 2014 at 10:18 PM, Mike Fox <mike.fox at messagesystems.com> wrote:
> Hi,
> I ran into an issue building the latest 3.1.26:
> make[4]: Entering directory
> `/var/tmp/pkgbuild-500/gnutls/default/gnutls-3.1.26/src'
>   CC       libcmd_srp_la-srptool-args.lo
> In file included from srptool-args.c:43:
> srptool-args.h:61:3: error: #error option template version mismatches
> autoopts/options.h header
> In file included from srptool-args.c:43:
> srptool-args.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'Me'
> srptool-args.h:80: warning: data definition has no type or storage class
> srptool-args.h:80: warning: type defaults to 'int' in declaration of
> 'teOptIndex'
> srptool-args.c:369: error: 'INDEX_OPT_VERSION' undeclared here (not in a
> function)
> srptool-args.c:383: error: 'INDEX_OPT_HELP' undeclared here (not in a
> function)
> srptool-args.c:395: error: 'INDEX_OPT_MORE_HELP' undeclared here (not in a
> function)
> make[4]: *** [libcmd_srp_la-srptool-args.lo] Error 1
> The 3.1.26 source bundle is packaged with a libopts source that is not
> version compatible:

It seems there is an issue with the included libopts (see
http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7653
)

You may either apply the patches there, or use an external libopts from autogen.

regards,
Nikos



More information about the Gnutls-help mailing list