[virt-tools-list] Linking error trying to cross compile virt-viewer for windows using mingw32 on Fedora 20
Christophe Fergeau
cfergeau at redhat.com
Mon Jun 23 07:27:12 UTC 2014
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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140623/55eaf4ef/attachment.sig>
More information about the virt-tools-list
mailing list