After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635123 - Can't build dynamic libxml2-2.7.8 (64-bit) using MinGW64 cross compiler
Can't build dynamic libxml2-2.7.8 (64-bit) using MinGW64 cross compiler
Status: RESOLVED INCOMPLETE
Product: libxml2
Classification: Platform
Component: general
2.7.8
Other Windows
: Normal blocker
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-17 23:08 UTC by sisyphus1
Modified: 2012-10-15 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sisyphus1 2010-11-17 23:08:34 UTC
Hi,

I'm on Windows Vista64, and this problem relates only to dynamic libraries and only to the MinGW64 cross-compiler. (The MinGW64 native 64-bit compiler has no problem).

Having successfully run configure, I always get the following part way through the make stage:

##################################
*** Warning: linker path does not have real file for library -lws2_32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libws2_32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: /c/Windows/system32/libws2_32.dll
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
libtool: link: x86_64-w64-mingw32-ar cru ......
##################################

And a static library (which fails to define some of the dynamic symbols) is built.

With version 2.7.7, I got the same message plus a similar warning regarding -lz.
Presumably, it's the changes that were made in response to https://bugzilla.gnome.org/show_bug.cgi?id=614087 that have fixed the problem with -lz, but there still seems to be a bug (that affects only the cross-compiler) in relation to -lws2_32.

Cheers,
Rob
Comment 1 André Klapper 2012-08-02 10:11:22 UTC
Does this problem still happen with 2.8.0?
Comment 2 André Klapper 2012-10-15 14:59:50 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!