[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libvirt / GNULIB failures using Mingw64 toolchain
From: |
Daniel P. Berrange |
Subject: |
Libvirt / GNULIB failures using Mingw64 toolchain |
Date: |
Fri, 15 Jun 2012 17:31:03 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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/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
CC stat.lo
../../../gnulib/lib/stat.c:32:0: warning: "stat" redefined [enabled by default]
In file included from ./sys/stat.h:32:0,
from ../../../gnulib/lib/stat.c:27:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this is
the location of the previous definition
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
../../../gnulib/lib/stdio-read.c:108:1: error: redefinition of 'vfscanf'
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:384:7: note: previous
definition of 'vfscanf' was here
make[3]: *** [stdio-read.lo] Error 1
make[3]: Leaving directory `/home/berrange/src/virt/libvirt/build/gnulib/lib'
While on x86_64-w64-mingw32 only I see:
In file included from ../../../gnulib/lib/regex.c:69:0:
../../../gnulib/lib/regcomp.c: In function 'parse_dup_op':
../../../gnulib/lib/regcomp.c:2624:39: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
../../../gnulib/lib/regcomp.c: In function 'mark_opt_subexp':
../../../gnulib/lib/regcomp.c:3859:19: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
Regards,
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 :|
- Libvirt / GNULIB failures using Mingw64 toolchain,
Daniel P. Berrange <=
- 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, 2012/06/18
- 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