[gnutls-help] Build issue with 3.1.26

Mike Fox mike.fox at messagesystems.com
Mon Sep 15 22:18:21 CEST 2014


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:

 From srptool-args.h:

/#define AO_TEMPLATE_VERSION 163842
#//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
/

//
//

And then from the packaged autoopts/options.h:

#define OPTIONS_STRUCT_VERSION      163842

This check fails in a few other places..

Thanks,
Mike.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140915/600f49ed/attachment.html>


More information about the Gnutls-help mailing list