[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select self-tests causes build failures under mingw
From: |
Paolo Bonzini |
Subject: |
Re: select self-tests causes build failures under mingw |
Date: |
Mon, 17 Nov 2008 13:50:47 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Simon Josefsson wrote:
> GnuTLS fails to build under mingw (see output below), and the reason is
> that the select-tests module depends on gettimeofday module, which under
> mingw does this:
>
> AC_DEFINE([localtime], [rpl_localtime],
> [Define to rpl_localtime if the replacement function should be used.])
>
> This re-definition causes the link failure, because gettimeofday.c is
> not build as part of the replacement gnulib library, so there is no
> rpl_localtime symbol. It is only built in the gnulib self-test
> directory (gl/tests/ in gnutls).
>
> Does anyone see a clean solution to this problem?
First of all, would this be fixed by moving the define into lib/time.in.h?
Here is a list of files that do AC_DEFINE([foo], [rpl_foo]):
m4/calloc.m4
m4/canonicalize-lgpl.m4
m4/free.m4
m4/getgroups.m4
m4/getopt.m4
m4/gettimeofday.m4
m4/memcmp.m4
m4/mktime.m4
m4/openat.m4
m4/poll.m4
m4/regex.m4
m4/rename-dest-slash.m4
m4/rename.m4
m4/strnlen.m4
m4/timegm.m4
m4/tmpfile.m4
m4/tzset.m4
m4/utime.m4
Paolo
- select self-tests causes build failures under mingw, Simon Josefsson, 2008/11/17
- Re: select self-tests causes build failures under mingw,
Paolo Bonzini <=
- Re: select self-tests causes build failures under mingw, Simon Josefsson, 2008/11/17
- Re: select self-tests causes build failures under mingw, Paolo Bonzini, 2008/11/17
- Re: select self-tests causes build failures under mingw, Simon Josefsson, 2008/11/17
- Re: select self-tests causes build failures under mingw, Paolo Bonzini, 2008/11/17
- Re: select self-tests causes build failures under mingw, Simon Josefsson, 2008/11/18
- Re: select self-tests causes build failures under mingw, Bruno Haible, 2008/11/18
- Re: select self-tests causes build failures under mingw, Simon Josefsson, 2008/11/18
- Re: distributing self-tests, Bruno Haible, 2008/11/18
- Re: distributing self-tests, Simon Josefsson, 2008/11/18
- Re: select self-tests causes build failures under mingw, Bruno Haible, 2008/11/18