Re: [xml] undefined reference to `_imp__xmlFree' error on mingw with msys for 2.6.5



mgrushinskiy comcast net wrote:

Hello,

I get

undefined reference to `_imp__xmlFree' error on mingw with msys for 2.6.5

for xmllint.

This is a regression from last version in 2.5.* branch (and even from 2.6.2)


Making all in .
make[2]: Entering directory `/home/mg/libxml2-2.6.5'
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall   -o xmllint.exe  xmllint.o ./libxml2.la     -lws2_32
gcc -g -O2 -Wall -o xmllint.exe xmllint.o  ./.libs/libxml2.a -lws2_32
xmllint.o: In function `xmlHTMLEncodeSend':
C:/msys/1.0/home/mg/libxml2-2.6.5/xmllint.c:318: undefined reference to `_imp__xmlFree'
make[2]: *** [xmllint.exe] Error 1
make[2]: Leaving directory `/home/mg/libxml2-2.6.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mg/libxml2-2.6.5'
make: *** [all] Error 2

Just checked the current CVS with mingw without msys. Apart of gcc 3.2.3 being the slowest compiler I've ever seen, it works.

It seems that the stuff in include/libxml/xmlexports.h doesn't go well when msys is involved. I don't know what to fix. It will take someone with msys.

Ciao,
Igor





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