[virt-tools-list] Linking error trying to cross compile virt-viewer for windows using mingw32 on Fedora 20

cyber python cyberpython at gmail.com
Tue Jun 24 16:44:29 UTC 2014


Just like Christophe noticed, I was missing libtool - after installng it
and running:

mingw32-configure
make

the building process finished successfully.

Many thanks to Christophe and Richard for their great help!





On Tue, Jun 24, 2014 at 12:12 AM, Richard W.M. Jones <rjones at redhat.com>
wrote:

> On Mon, Jun 23, 2014 at 07:51:28PM +0300, cyber python wrote:
> > Hi Cristophe,
> >
> > Using mingw32-configure seems to have the same effect - linking fails
> with
> > undefined references.
> > Here is the log:
> >
> > http://pastebin.com/qbS8q71w
>
> I've just done a build of virt-viewer from git (eaaa4f5106) using the
> mingw32-* packages from Fedora 20 and it worked for me.
>
> $ file ./src/virt-viewer.exe
> ./src/virt-viewer.exe: PE32 executable (console) Intel 80386 (stripped to
> external PDB), for MS Windows
> $ ls -l ./src/virt-viewer.exe
> -rwxrwxr-x. 1 rjones rjones 32256 Jun 23 22:08 ./src/virt-viewer.exe
>
> Can you make sure that you have done 'make distclean', to ensure there
> are no odd files hanging around from a previous build.
>
> Apart from that I'm not sure what to suggest.  Could be a missing
> dependency, but the output of mingw32-configure in your paste looked
> OK to me.
>
> Also you could use `make V=1' which will display the full compiler
> command lines.  That might make any omissions more obvious.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> Fedora Windows cross-compiler. Compile Windows programs, test, and
> build Windows installers. Over 100 libraries supported.
> http://fedoraproject.org/wiki/MinGW
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140624/c9ab9ac5/attachment.htm>


More information about the virt-tools-list mailing list