64-bit compilation broken today

Bryan DeGrendel sirnuke at gmail.com
Sat May 26 10:51:59 CDT 2007


On 5/26/07, Evil Jay <wine at 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 at eternaldusk.com
> > <mailto:wine at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20070526/bce2ab4f/attachment.html


More information about the wine-devel mailing list