[gnutls-devel] gnutls and the actual mingw-w64

Jon bae jonbae77 at gmail.com
Wed Oct 22 11:25:52 CEST 2014


Hello gnutls team,
I use gnutls for my automatic build system witch use msys2 and mingw-w64:
https://github.com/jb-alvarado/media-autobuild_suite

Since some days I can not compile gnutls anymore. First I contact the 
developer from msys2, but they tell me is a bug in gnutls with the new 
mingw-w64 Version.

Here is the message what I get:

*make[4]: Entering directory '/build32/gnutls-3.3.9/lib/x509'
   CC       common.lo
In file included from ./../../gl/time.h:39:0,
                  from ./../../gl/sys/stat.h:44,
                  from ./../gnutls_int.h:52,
                  from common.c:23:
./../../gl/time.h:461:1: error: expected identifier or '(' before '{' token
  _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict
__timer,
  ^
./../../gl/time.h:483:1: error: expected identifier or '(' before '{' token
  _GL_FUNCDECL_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer,
  ^
Makefile:1372: recipe for target 'common.lo' failed
make[4]: *** [common.lo] Error 1
make[4]: Leaving directory '/build32/gnutls-3.3.9/lib/x509'*



Regards

Jonathan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20141022/750880a8/attachment.html>


More information about the Gnutls-devel mailing list