64-bit compilation broken today

Ben Hodgetts ben at atomnet.co.uk
Sat May 26 13:16:43 CDT 2007


Clinton Stimpson 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
>> 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
>>   
>
> I had the same compile error until I installed the libxml2-devel.i386
> package.
> I had libxml2-devel.x86_64 already installed.
>
> Clint
>
>
>
I've not had any compilation errors, so unless I just happened to have
the needed packages installed and managed to sidestep this issue...

Ben H.



More information about the wine-devel mailing list