On 5/26/07, Evil Jay <wine@eternaldusk.com> wrote:
The confusing thing to me is that I *do* have the libxml2-dev package
installed, and see no errors about a missing header...

If it didn't recognize the xmlNodePtr type, shouldn't it have choked on
line 52 first?

-J


Bryan DeGrendel wrote:
> A couple of libxml2 externs were recently added to
> dlls/msxml3/msxml_private.h  Both functions have a xmlNodePtr as a
> parameter, which is defined in the libxml2 header.  However, both
> externs were added outside msxml_private.h's libxml2 preprocessor
> check, so I believe it causes a compilation error if you don't have
> the libxml header.  I have sent a patch which should fix it.
>
> Bryan DeGrendel
>
> On 5/25/07, *Evil Jay* <wine@eternaldusk.com
> <mailto:wine@eternaldusk.com>> wrote:
>
>     This might already be known, but sometime in the last eight hours
>     or so,
>     git seems to have broken:
>
>     gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__
>     -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe
>     -fno-strict-aliasing
>     -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g
>     -O2 -o
>     attribute.o attribute.c
>     In file included from attribute.c:32:
>     msxml_private.h:67: error: expected declaration specifiers or '...'
>     before 'xmlNodePtr'
>     msxml_private.h:68: error: expected declaration specifiers or '...'
>     before 'xmlNodePtr'
>     make[2]: *** [attribute.o] Error 1
>     make[2]: Leaving directory `/data/install/wine/dlls/msxml3'
>     make[1]: *** [msxml3] Error 2
>     make[1]: Leaving directory `/data/install/wine/dlls'
>     make: *** [dlls] Error 2
>
>     This is when trying to build under Gutsy Gibbon (Kubuntu 7.10) w/ gcc
>     gcc (GCC) 4.1.3 20070518 (prerelease) (Ubuntu 4.1.2-8ubuntu1 )
>
>     Compilation worked fine yesterday, so it must be related to a very
>     recent update.
>
>
>
> ------------------------------------------------------------------------
>
>
>


I also have the libxml2-dev package installed, however HAVE_LIBXML2 was not defined.  Therefore lines 28-60 were not compiled.  I suspect this is the same quirk in your case.

Bryan DeGrendel