On 5/26/07, <b class="gmail_sendername">Evil Jay</b> <<a href="mailto:wine@eternaldusk.com">wine@eternaldusk.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The confusing thing to me is that I *do* have the libxml2-dev package<br>installed, and see no errors about a missing header...<br><br>If it didn't recognize the xmlNodePtr type, shouldn't it have choked on<br>line 52 first?
<br><br>-J<br><br><br>Bryan DeGrendel wrote:<br>> A couple of libxml2 externs were recently added to<br>> dlls/msxml3/msxml_private.h Both functions have a xmlNodePtr as a<br>> parameter, which is defined in the libxml2 header. However, both
<br>> externs were added outside msxml_private.h's libxml2 preprocessor<br>> check, so I believe it causes a compilation error if you don't have<br>> the libxml header. I have sent a patch which should fix it.
<br>><br>> Bryan DeGrendel<br>><br>> On 5/25/07, *Evil Jay* <<a href="mailto:wine@eternaldusk.com">wine@eternaldusk.com</a><br>> <mailto:<a href="mailto:wine@eternaldusk.com">wine@eternaldusk.com</a>>> wrote:
<br>><br>> This might already be known, but sometime in the last eight hours<br>> or so,<br>> git seems to have broken:<br>><br>> gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__
<br>> -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe<br>> -fno-strict-aliasing<br>> -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g<br>> -O2 -o<br>> attribute.o attribute.c
<br>> In file included from attribute.c:32:<br>> msxml_private.h:67: error: expected declaration specifiers or '...'<br>> before 'xmlNodePtr'<br>> msxml_private.h:68: error: expected declaration specifiers or '...'
<br>> before 'xmlNodePtr'<br>> make[2]: *** [attribute.o] Error 1<br>> make[2]: Leaving directory `/data/install/wine/dlls/msxml3'<br>> make[1]: *** [msxml3] Error 2<br>> make[1]: Leaving directory `/data/install/wine/dlls'
<br>> make: *** [dlls] Error 2<br>><br>> This is when trying to build under Gutsy Gibbon (Kubuntu 7.10) w/ gcc<br>> gcc (GCC) 4.1.3 20070518 (prerelease) (Ubuntu 4.1.2-8ubuntu1 )<br>><br>> Compilation worked fine yesterday, so it must be related to a very
<br>> recent update.<br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>><br>><br><br></blockquote></div><br>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.
<br><br>Bryan DeGrendel<br>