[virt-tools-list] Linking error trying to cross compile virt-viewer for windows using mingw32 on Fedora 20
cyber python
cyberpython at gmail.com
Mon Jun 23 16:51:28 UTC 2014
Hi Cristophe,
Using mingw32-configure seems to have the same effect - linking fails with
undefined references.
Here is the log:
http://pastebin.com/qbS8q71w
On Mon, Jun 23, 2014 at 10:27 AM, Christophe Fergeau <cfergeau at redhat.com>
wrote:
> On Sat, Jun 21, 2014 at 08:36:45PM +0300, cyber python wrote:
> > Hello everyone,
> >
> > I am trying to build virt-viewer for MS Windows on Fedora 20.
> >
> > I have installed:
> > mingw32-* pkgconfig intltool icoutils dos2unix msitools gtk2-devel
> > libxml2-devel
> > (link to text file with full list of installed packages
> > <
> https://dl.dropboxusercontent.com/u/599926/fedora_20_installed_packages.txt
> >
> > )
> >
> > I also have cloned the virt-viewer repository from:
> > https://git.fedorahosted.org/git/virt-viewer.git to
> ~/projects/virt-viewer.
> >
> > The current git commit id is 687b9e0bfa679b8ba7576025fbf34517b0d65e21.
> >
> > Initially, I tried building virt-viewer with:
> > ./autobuild.sh
> > but this fails while executing ./configure (which is expected since I am
> > missing the dependencies to build the Linux binaries).
> >
> > Then, I tried to build with:
> >
> > ./autogen.sh --help
> > rm -rf build-mingw
> > mkdir build-mingw
> > cd build-mingw
> > ../configure
> >
> PKG_CONFIG_LIBDIR="/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig:/usr/i686-w64-mingw32/sys-root/mingw/share/pkgconfig"
> >
> PKG_CONFIG_PATH="$HOME/builder/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig"
> > CC="i686-w64-mingw32-gcc" --build=$(uname -m)-w64-linux
> > --host=i686-w64-mingw32
> > --prefix="$HOME/builder/i686-w64-mingw32/sys-root/mingw" --with-gtk=2.0
> > --without-gtk-vnc
> > make
>
> I've generally had success with mingw builds using
> $ minw32-configure
> $ make
>
> Can you paste the full build log if this fails ?
>
> Christophe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140623/3828ec78/attachment.htm>
More information about the virt-tools-list
mailing list