compile error in current cvs

Stefan Leichter Stefan.Leichter at camLine.com
Sat Aug 6 03:12:11 CDT 2005


Am Freitag, 5. August 2005 09:05 schrieben Sie:
> >>>>current cvs does not compile for me. Im on SuSE 9.0
> >>
> >>In Gentoo you need to create link:
> >>/usr/include/libxml -> /usr/include/libxml2/libxml
>
> Please try the attached fix, and let me know if it works...
>
> Also check your config.log is as follows:
>
> bash-3.00$ grep ac_cv_lib_xml2_xmlReadIO config.log
> ac_cv_lib_xml2_xmlReadIO=yes
>
> I guess it will be "no", as some older versions of libxml2 don't have
> xmlReadIO.
>
> thanks,
>
> Mike

Hello Mike,

after removing the link /usr/include/libxml

my config.log has
ac_cv_lib_xml2_xmlReadIO=no

the patch fixes the problem with the missing header but compiling fails still 
with:

gcc -c -I. -I../../../wine/dlls/msxml3 -I../../include -I../../../wine/include  
-D__WINESRC__  -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  
-g -O2 -o element.o ../../../wine/dlls/msxml3/element.c
../../../wine/dlls/msxml3/element.c:45: error: parse error before "xmlDocPtr"
../../../wine/dlls/msxml3/element.c:45: Warnung: no semicolon at end of struct 
or union
../../../wine/dlls/msxml3/element.c:46: Warnung: type defaults to `int' in 
declaration of `domelem'
../../../wine/dlls/msxml3/element.c:46: Warnung: data definition has no type 
or storage class
../../../wine/dlls/msxml3/element.c:48: error: parse error before '*' token
../../../wine/dlls/msxml3/element.c:49: Warnung: return type defaults to `int'
../../../wine/dlls/msxml3/element.c: In function `impl_from_IXMLDOMElement':
../../../wine/dlls/msxml3/element.c:50: error: parse error before ')' token
../../../wine/dlls/msxml3/element.c:50: error: parse error before ')' token
../../../wine/dlls/msxml3/element.c: In function `domelem_AddRef':
../../../wine/dlls/msxml3/element.c:78: error: `This' undeclared (first use in 
this function)
../../../wine/dlls/msxml3/element.c:78: error: (Each undeclared identifier is 
reported only once
../../../wine/dlls/msxml3/element.c:78: error: for each function it appears 
in.)
../../../wine/dlls/msxml3/element.c: In function `domelem_Release':
../../../wine/dlls/msxml3/element.c:85: error: `This' undeclared (first use in 
this function)
../../../wine/dlls/msxml3/element.c: At top level:
../../../wine/dlls/msxml3/element.c:553: error: parse error before "xmlDocPtr"
../../../wine/dlls/msxml3/element.c: In function `DOMElement_create':
../../../wine/dlls/msxml3/element.c:555: error: `elem' undeclared (first use 
in this function)
../../../wine/dlls/msxml3/element.c:562: error: `xmldoc' undeclared (first use 
in this function)
../../../wine/dlls/msxml3/element.c:565: error: `DOMElement' undeclared (first 
use in this function)
make[2]: *** [element.o] Fehler 1
make[2]: Leaving directory `/usr/src/wine/wine-build/dlls/msxml3'
make[1]: *** [msxml3] Fehler 2
make[1]: Leaving directory `/usr/src/wine/wine-build/dlls'
make: *** [dlls] Fehler 2

Bye Stefan



More information about the wine-devel mailing list