> 22 окт. 2014 г., в 12:14, Jon bae <[email protected]> написал(а): > > Hello all, > a long time I was able to build gnutls static, but now it don't want > anymore. I get this message: > > 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' > > > msys2 has also gnutls, but shared, is there the same problem? > This problem is from the last ming-w64 runtime changes. Need to fix it in gnutls sources. From mingw-w64 winpthreads headers was removed legacy functions localtime_r and etc. Need check if time.h included in gunnels sources as this functions are declared there.
Regards, Alexey. > Regards > > Jonathan > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Msys2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/msys2-users ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
