Re: [xml] Issue building libxml2 with mingw 64bit gcc



On 02/03/2015 18:51, James Franco wrote:
-lwsock32 -lwsock32 -lkernel32
int.mingw/nanohttp.o:nanohttp.c:(.text+0x7a1): undefined reference to
`__imp_getaddrinfo'

I think you need -lws2_32 instead of -lwsock32 on 64-bit Windows.

Nick



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]