-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26/01/10 13:50, JonY wrote: > you forgot to add -lws2_32, "x86_64-w64-mingw32-gcc test.c -lws2_32".
No difference. On 26/01/10 14:06, Kai Tietz wrote: > Well, the symbol is part of the import-libary libws2_32.a. For me it > works to link, but I assume you are using an older version of our > runtime headers and crt, which could be the underlying issue. In our > trunk version we moved those function out exactly for this reason as > the inline versions can make troubles. > For fixing you issue, I would suggest to update mingw-w64 headers/crt, > or to take function gai_strerrorA and put it directly into your source > (of course without the WS2TCPIP_INLINE). Ok, I'll try updating it. Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktgPi4ACgkQ6iqRtkAADZglagCgxMjE0gutv7l4lJY/NUGM4jeN qkkAoM/ffC28hT6PB+hrfzjYIorrAH1D =OOpj -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
