Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-21 Thread Paul Eggert
On 06/21/2012 03:42 AM, Bruno Haible wrote: > +/* Enable this function definition only of gnulib's has prepared > it. only of -> only if I pushed a fix for this (and for the other occurrences of the problem).

Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-21 Thread Daniel P. Berrange
On Thu, Jun 21, 2012 at 12:42:17PM +0200, Bruno Haible wrote: > Daniel P. Berrange wrote: > > Here's what i see in config.status for my libvirt build: > > > > $ grep -i vscanf config.status > > S["GNULIB_VSCANF"]="0" > > > > $ grep STDIO config.status > > S["NEXT_AS_FIRST_DIRECTIVE_STDIO_H"]="" >

Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-21 Thread Bruno Haible
Daniel P. Berrange wrote: > Here's what i see in config.status for my libvirt build: > > $ grep -i vscanf config.status > S["GNULIB_VSCANF"]="0" > > $ grep STDIO config.status > S["NEXT_AS_FIRST_DIRECTIVE_STDIO_H"]="" > S["NEXT_STDIO_H"]="" > S["REPLACE_STDIO_WRITE_FUNCS"]="1" > S["REPLACE_STDIO_

Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-20 Thread Daniel P. Berrange
On Wed, Jun 20, 2012 at 02:11:32AM +0200, Bruno Haible wrote: > Daniel P. Berrange wrote: > > > > CC stdio-read.lo > > > > ../../../gnulib/lib/stdio-read.c:102:1: error: redefinition of 'vscanf' > > > > In file included from ./stdio.h:43:0, > > > > from ../../../gnulib/lib/st

Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-19 Thread Bruno Haible
Daniel P. Berrange wrote: > Attaching the stdio.h & sys/stat.h that I have Thanks. > > > CC fstat.lo > > > ../../../gnulib/lib/fstat.c:27:0: warning: "stat" redefined [enabled by > > > default] > > > In file included from ./sys/stat.h:32:0, > > > from ../../../gnulib/lib/f

Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-18 Thread Daniel P. Berrange
On Sun, Jun 17, 2012 at 04:28:02PM +0200, Bruno Haible wrote: > Hello Daniel, > > > CC fstat.lo > > ../../../gnulib/lib/fstat.c:27:0: warning: "stat" redefined [enabled by > > default] > > In file included from ./sys/stat.h:32:0, > > from ../../../gnulib/lib/fstat.c:25: > >

Re: Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-17 Thread Bruno Haible
Hello Daniel, > CC fstat.lo > ../../../gnulib/lib/fstat.c:27:0: warning: "stat" redefined [enabled by > default] > In file included from ./sys/stat.h:32:0, > from ../../../gnulib/lib/fstat.c:25: > /usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this

Libvirt / GNULIB failures using Mingw64 toolchain

2012-06-15 Thread Daniel P. Berrange
With current Libvirt master + GNULIB (77cef20) I can successfully compile using the Mingw32 toolchain. If attempting to use the alternative Mingw64 toolchain, however, I get a number of errors. On both x86_64-w64-mingw32 and i686-w64-mingw32 I see the following: CC fstat.lo ../../../gnulib/