From: Chris S. <spe...@go...> - 2010-01-27 13:28:38
|
-----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----- |