[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libvirt / GNULIB failures using Mingw64 toolchain
From: |
Daniel P. Berrange |
Subject: |
Re: Libvirt / GNULIB failures using Mingw64 toolchain |
Date: |
Mon, 18 Jun 2012 09:53:27 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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:
> > /usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this
> > is the location of the previous definition
> > ../../../gnulib/lib/fstat.c:28:0: warning: "fstat" 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:259:0: note: this
> > is the location of the previous definition
>
> In the copy of mingw64 that I have, <sys/stat.h> does not have a
> "#define stat ..." or "#define fstat ...". Can you please point us,
> where to find the <sys/stat.h> that you are using?
>
> > 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/stdio-read.c:21:
> > /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:397:7: note:
> > previous definition of 'vscanf' was here
>
> Likewise for <stdio.h>. The mingw64 <stdio.h> that I have contains a
> declaration, not a definition, of vscanf. Yours must be different. Can
> you please show it?
Looks like the Fedora 17 version might be taken from the Mingw64 upstream
GIT master, rather than an official release:
mingw32-headers-2.0.999-0.5.trunk.20120224.fc17.noarch
Attaching the stdio.h & sys/stat.h that I have
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
stdio.h
Description: Text document
stat.h
Description: Text document
- Libvirt / GNULIB failures using Mingw64 toolchain, Daniel P. Berrange, 2012/06/15
- Re: regcomp warnings using Mingw64 toolchain, Bruno Haible, 2012/06/17
- Re: Libvirt / GNULIB failures using Mingw64 toolchain, Bruno Haible, 2012/06/17
- Re: Libvirt / GNULIB failures using Mingw64 toolchain,
Daniel P. Berrange <=
- Re: Libvirt / GNULIB failures using Mingw64 toolchain, Bruno Haible, 2012/06/19
- Re: Libvirt / GNULIB failures using Mingw64 toolchain, Daniel P. Berrange, 2012/06/20
- Re: Libvirt / GNULIB failures using Mingw64 toolchain, Bruno Haible, 2012/06/21
- Re: Libvirt / GNULIB failures using Mingw64 toolchain, Daniel P. Berrange, 2012/06/21
- Re: Libvirt / GNULIB failures using Mingw64 toolchain, Paul Eggert, 2012/06/21