I thought I'd take another try at getting libxml to compile using
mingw today...

I tried these commands with libxml 2.6.19:
cross-configure.sh --enable-static=yes --enable-shared=no --without-threads 
--without-python
cross-make.sh

Unfortunately, it died trying to link xmlint:

xmllint.c:378: warning: unused parameter 'tzp'
/bin/sh ./libtool --mode=link --tag=CC i386-mingw32msvc-gcc  -g -O2 -pedantic 
-W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs 
-Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow 
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline 
-Wredundant-decls   -o xmllint.exe  xmllint.o ./libxml2.la  -lz   -lws2_32
i386-mingw32msvc-gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit 
-Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts 
-Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Winline -Wredundant-decls -o xmllint.exe xmllint.o  
./.libs/libxml2.a -lz -lws2_32
xmllint.o(.text+0xd2): In function `xmllintExternalEntityLoader':
/home/greear/btbits/mingw/btbits/3plibs/libxml2-2.6.19/xmllint.c:290: undefined 
reference to `__imp__xmlFree'
xmllint.o(.text+0x204):/home/greear/btbits/mingw/btbits/3plibs/libxml2-2.6.19/xmllint.c:287:
 undefined reference to `__imp__xmlFree'
xmllint.o(.text+0x354): In function `myStrdupFunc':
/home/greear/btbits/mingw/btbits/3plibs/libxml2-2.6.19/xmllint.c:359: undefined 
reference to `__imp__xmlFree'
....


Is there some magic incantation to the configure script that I am missing?

Thanks,
Ben


-- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to