<div dir="ltr"><div><div><div><div>Just like Christophe noticed, I was missing libtool - after installng it and running:<br><br></div>mingw32-configure<br></div>make<br><br></div>the building process finished successfully.<br>
<br></div>Many thanks to Christophe and Richard for their great help!<br><div><div><br><br><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 12:12 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, Jun 23, 2014 at 07:51:28PM +0300, cyber python wrote:<br>
</div><div class="">> Hi Cristophe,<br>
><br>
> Using mingw32-configure seems to have the same effect - linking fails with<br>
> undefined references.<br>
> Here is the log:<br>
><br>
> <a href="http://pastebin.com/qbS8q71w" target="_blank">http://pastebin.com/qbS8q71w</a><br>
<br>
</div>I've just done a build of virt-viewer from git (eaaa4f5106) using the<br>
mingw32-* packages from Fedora 20 and it worked for me.<br>
<br>
$ file ./src/virt-viewer.exe<br>
./src/virt-viewer.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows<br>
$ ls -l ./src/virt-viewer.exe<br>
-rwxrwxr-x. 1 rjones rjones 32256 Jun 23 22:08 ./src/virt-viewer.exe<br>
<br>
Can you make sure that you have done 'make distclean', to ensure there<br>
are no odd files hanging around from a previous build.<br>
<br>
Apart from that I'm not sure what to suggest.  Could be a missing<br>
dependency, but the output of mingw32-configure in your paste looked<br>
OK to me.<br>
<br>
Also you could use `make V=1' which will display the full compiler<br>
command lines.  That might make any omissions more obvious.<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
Fedora Windows cross-compiler. Compile Windows programs, test, and<br>
build Windows installers. Over 100 libraries supported.<br>
<a href="http://fedoraproject.org/wiki/MinGW" target="_blank">http://fedoraproject.org/wiki/MinGW</a><br>
</font></span></blockquote></div><br></div>