[Mingw-w64-public] Undefined reference to gai_strerror()

2010-01-26 Thread 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 ws2tcpip.h int main() { gai_strerror(0); return 0; } This compiles without

Re: [Mingw-w64-public] Undefined reference to gai_strerror()

2010-01-26 Thread JonY
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: #includews2tcpip.h int main() {

Re: [Mingw-w64-public] Undefined reference to gai_strerror()

2010-01-26 Thread Kai Tietz
2010/1/26 Chris Spencer spence...@googlemail.com: -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 ws2tcpip.h int main() {