On 5/26/07, <b class="gmail_sendername">Evil Jay</b> &lt;<a href="mailto:wine@eternaldusk.com">wine@eternaldusk.com</a>&gt; 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&#39;t recognize the xmlNodePtr type, shouldn&#39;t it have choked on<br>line 52 first?
<br><br>-J<br><br><br>Bryan DeGrendel wrote:<br>&gt; A couple of libxml2 externs were recently added to<br>&gt; dlls/msxml3/msxml_private.h&nbsp;&nbsp;Both functions have a xmlNodePtr as a<br>&gt; parameter, which is defined in the libxml2 header.&nbsp;&nbsp;However, both
<br>&gt; externs were added outside msxml_private.h&#39;s libxml2 preprocessor<br>&gt; check, so I believe it causes a compilation error if you don&#39;t have<br>&gt; the libxml header.&nbsp;&nbsp;I have sent a patch which should fix it.
<br>&gt;<br>&gt; Bryan DeGrendel<br>&gt;<br>&gt; On 5/25/07, *Evil Jay* &lt;<a href="mailto:wine@eternaldusk.com">wine@eternaldusk.com</a><br>&gt; &lt;mailto:<a href="mailto:wine@eternaldusk.com">wine@eternaldusk.com</a>&gt;&gt; wrote:
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; This might already be known, but sometime in the last eight hours<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; or so,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; git seems to have broken:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -fno-strict-aliasing<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -O2 -o<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; attribute.o attribute.c
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; In file included from attribute.c:32:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; msxml_private.h:67: error: expected declaration specifiers or &#39;...&#39;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; before &#39;xmlNodePtr&#39;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; msxml_private.h:68: error: expected declaration specifiers or &#39;...&#39;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; before &#39;xmlNodePtr&#39;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; make[2]: *** [attribute.o] Error 1<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; make[2]: Leaving directory `/data/install/wine/dlls/msxml3&#39;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; make[1]: *** [msxml3] Error 2<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; make[1]: Leaving directory `/data/install/wine/dlls&#39;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; make: *** [dlls] Error 2<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; This is when trying to build under Gutsy Gibbon (Kubuntu 7.10) w/ gcc<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; gcc (GCC) 4.1.3 20070518 (prerelease) (Ubuntu 4.1.2-8ubuntu1 )<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Compilation worked fine yesterday, so it must be related to a very
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; recent update.<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt;<br>&gt;<br><br></blockquote></div><br>I also have the libxml2-dev package installed, however HAVE_LIBXML2 was not defined.&nbsp; Therefore lines 28-60 were not compiled.&nbsp; I suspect this is the same quirk in your case.
<br><br>Bryan DeGrendel<br>