compile error in current cvs

Stefan Leichter Stefan.Leichter at camLine.com
Fri Aug 12 01:29:54 CDT 2005


Am Freitag, 12. August 2005 07:12 schrieb Mike McCormack:
> > nothing changed. Here is the output of the grep on my config.status after
> > doing "../wine/configure && make depend && make" (i am doing "out of
> > tree" builds)
> >
> > s, at XML2LIBS@,,;t t
> > s, at XML2INCL@,,;t t
> > ${ac_dA}HAVE_LIBXML2${ac_dB}HAVE_LIBXML2${ac_dC}1${ac_dD}
> > ${ac_uA}HAVE_LIBXML2${ac_uB}HAVE_LIBXML2${ac_uC}1${ac_uD}
>
> Something strange seems to be happening with pkg-config. What is the
> output of the following commands?
>
> pkg-config --libs libxml-2.0
> pkg-config --cflags libxml-2.0
>
> Additionally, which of the following files exist on your machine?
>
> /usr/include/libxml/parser.h
> /usr/include/libxml2/libxml/parser.h
> /usr/lib/libxml2.so
>

pkg-config --libs libxml-2.0
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found

pkg-config --cflags libxml-2.0
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found

ll /usr/include/libxml/parser.h /usr/include/libxml2/libxml/parser.h /usr/lib/
libxml2.so /usr/lib/libxml2.so.2.5.10
-rw-r--r--    1 root     root        27787 2003-09-23 19:52 /usr/include/
libxml2/libxml/parser.h
-rw-r--r--    1 root     root        27787 2003-09-23 19:52 /usr/include/
libxml/parser.h
lrwxrwxrwx    1 root     root           17 2004-02-28 17:35 /usr/lib/
libxml2.so -> libxml2.so.2.5.10
-rwxr-xr-x    1 root     root      1152830 2004-12-20 16:44 /usr/lib/
libxml2.so.2.5.10

executing
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
../wine/configure && make depend && make

gives me now a new error. The bad thing is this error happens before the one 
we are tracking currently:

gcc -c -I../../../wine/dlls/msxml3 -I. -I../../../wine/include -I../../include 
-I/usr/include/libxml2   -D__WINESRC__  -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC 
-Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wpointer-arith  -g -O2  -o domdoc.o ../../../wine/dlls/msxml3/domdoc.c
../../../wine/dlls/msxml3/domdoc.c: In function `doread':
../../../wine/dlls/msxml3/domdoc.c:677: Warnung: implicit declaration of 
function `xmlReadMemory'
../../../wine/dlls/msxml3/domdoc.c:678: error: `XML_PARSE_NOERROR' undeclared 
(first use in this function)
../../../wine/dlls/msxml3/domdoc.c:678: error: (Each undeclared identifier is 
reported only once
../../../wine/dlls/msxml3/domdoc.c:678: error: for each function it appears 
in.)
../../../wine/dlls/msxml3/domdoc.c:678: error: `XML_PARSE_NOWARNING' 
undeclared (first use in this function)
../../../wine/dlls/msxml3/domdoc.c:678: Warnung: assignment makes pointer from 
integer without a cast
../../../wine/dlls/msxml3/domdoc.c: In function `domdoc_loadXML':
../../../wine/dlls/msxml3/domdoc.c:836: error: `XML_PARSE_NOERROR' undeclared 
(first use in this function)
../../../wine/dlls/msxml3/domdoc.c:836: error: `XML_PARSE_NOWARNING' 
undeclared (first use in this function)
../../../wine/dlls/msxml3/domdoc.c:836: Warnung: assignment makes pointer from 
integer without a cast
make[2]: *** [domdoc.o] Fehler 1
make[2]: Leaving directory `/usr/src/wine/wine-build2/dlls/msxml3'
make[1]: *** [msxml3] Fehler 2
make[1]: Leaving directory `/usr/src/wine/wine-build2/dlls'
make: *** [dlls] Fehler 2

Thanks, Stefan



More information about the wine-devel mailing list