and this is what I do: It looks like i am getting socket based issues and that it should be using -lws2_32 however its not.
Any suggestions on how I can fix this would be appreciated.
c:\libxml2-2.6.30\win32>cscript.exe configure.js compiler=mingw prefix=c:/tester debug=yes static=yes
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
libxml2 version: 2.6.30
Created Makefile.
Created config.h.
XML processor configuration
---------------------------
Trio: no
Thread safety: native
FTP client: yes
HTTP client: yes
HTML processor: yes
C14N support: yes
Catalog support: yes
DocBook support: yes
XPath support: yes
XPointer support: yes
XInclude support: yes
iconv support: yes
iso8859x support: no
zlib support: no
Debugging module: yes
Memory debugging: no
Runtime debugging: no
Regexp support: yes
Module support: yes
Tree support: yes
Reader support: yes
Writer support: yes
Walker support: yes
Pattern support: yes
Push support: yes
Validation support: yes
SAX1 support: yes
Legacy support: yes
Output support: yes
XML Schema support: yes
Schematron support: yes
Python bindings: no
Win32 build configuration
-------------------------
Compiler: mingw
Debug symbols: yes
Static xmllint: yes
Install prefix: c:/tester
Put tools in: $(PREFIX)\bin
Put headers in: $(PREFIX)\include
Put static libs in: $(PREFIX)\lib
Put shared libs in: $(PREFIX)\lib
Include path: .
Lib path: .
c:\libxml2-2.6.30\win32>make64
...
...
gcc.exe -Wl,--major-image-version,2 -Wl,--minor-image-version,6 -Wl,-L,bin.mingw -Wl,-L,c:/tester\lib -shared -Wl,--dll -Wl,--out-implib,bin.mingw/li
bxml2.lib -o bin.mingw/libxml2.dll int.mingw/c14n.o int.mingw/catalog.o int.mingw/chvalid.o int.mingw/debugXML.o int.mingw/dict.o int.mingw/DOCBparser
.o int.mingw/encoding.o int.mingw/entities.o int.mingw/error.o int.mingw/globals.o int.mingw/hash.o int.mingw/HTMLparser.o int.mingw/HTMLtree.o int.mi
ngw/legacy.o int.mingw/list.o int.mingw/nanoftp.o int.mingw/nanohttp.o int.mingw/parser.o int.mingw/parserInternals.o int.mingw/pattern.o int.mingw/re
laxng.o int.mingw/SAX.o int.mingw/SAX2.o int.mingw/schematron.o int.mingw/threads.o int.mingw/tree.o int.mingw/uri.o int.mingw/valid.o int.mingw/xincl
ude.o int.mingw/xlink.o int.mingw/xmlIO.o int.mingw/xmlmemory.o int.mingw/xmlreader.o int.mingw/xmlregexp.o int.mingw/xmlmodule.o int.mingw/xmlsave.o
int.mingw/xmlschemas.o int.mingw/xmlschemastypes.o int.mingw/xmlunicode.o int.mingw/xmlwriter.o int.mingw/xpath.o int.mingw/xpointer.o int.mingw/xmlst
ring.o -lwsock32 -lwsock32 -liconv -lkernel32
int.mingw/nanohttp.o: In function `xmlNanoHTTPConnectHost':
c:\libxml2-2.6.30\win32/../nanohttp.c:1003: undefined reference to `__imp_getaddrinfo'
c:\libxml2-2.6.30\win32/../nanohttp.c:1013: undefined reference to `__imp_freeaddrinfo'
c:\libxml2-2.6.30\win32/../nanohttp.c:1035: undefined reference to `__imp_freeaddrinfo'
c:\libxml2-2.6.30\win32/../nanohttp.c:1041: undefined reference to `__imp_freeaddrinfo'
collect2.exe: error: ld returned 1 exit status
Makefile:313: recipe for target 'bin.mingw/libxml2.dll' failed
make64: *** [bin.mingw/libxml2.dll] Error 1
How can I fix this error. ?