[xml] compile problems

very strange indeed... while compiling on windows (cygwin) I get these

gcc -g -O2 -Wall -o xmllint.exe xmllint.o  ./.libs/libxml2.a -lz
xmllint.o: In function `xmlHTMLEncodeSend':
/export/home/davids/libxml2-2.4.24/xmllint.c:273: undefined reference to
`_imp__ xmlGenericError'
/export/home/davids/libxml2-2.4.24/xmllint.c:273: undefined reference to
`_imp__ xmlGenericErrorContext'
/export/home/davids/libxml2-2.4.24/xmllint.c:274: undefined reference to
`_imp__ xmlFree'

but ... loading it into MS Visual Studio 6, setting the appropriate include
directory and compiling..:


xmllint.exe - 0 error(s), 0 warning(s)

It seems under cygwin that "globals.h" isn't #included. I'm going to poke
around a bit more but thought someone here might have a quicker answer. I
did run configure but only set the --prefix option.

version: 2.4.24

thanks in advance, David

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