-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I'm having a bit of a problem with my networking code. Specifically, the
linker can't find gai_strerror().
To provide a very simple test case:
#include
int main() {
gai_strerror(0);
return 0;
}
This compiles without issue in mingw3
On 1/26/2010 21:50, Chris Spencer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all,
>
> I'm having a bit of a problem with my networking code. Specifically, the
> linker can't find gai_strerror().
>
> To provide a very simple test case:
>
> #include
> int main() {
> gai_stre
2010/1/26 Chris Spencer :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all,
>
> I'm having a bit of a problem with my networking code. Specifically, the
> linker can't find gai_strerror().
>
> To provide a very simple test case:
>
> #include
> int main() {
> gai_strerror(0);
> re
-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 as