[xml] libXml 2.6.19 and mingw
- From: Ben Greear <greearb candelatech com>
- To: xml gnome org
- Subject: [xml] libXml 2.6.19 and mingw
- Date: Thu, 28 Apr 2005 13:24:42 -0700
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 <greearb candelatech com>
Candela Technologies Inc http://www.candelatech.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]