Hello,
current cvs does not compile for me. Im on SuSE 9.0.
gcc -c -I../../../wine/dlls/msxml3 -I. -I../../../wine/include -I../../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 msxml3.dll.dbg.o msxml3.dll.dbg.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ../../../wine/ dlls/msxml3/msxml3.spec domdoc.o element.o factory.o main.o node.o nodemap.o msxml3.dll.dbg.o -o msxml3.dll.so -L../../dlls -L../../dlls/ oleaut32 -L../../dlls/advapi32 -L../../dlls/kernel32 -L../../dlls/ntdll -loleaut32 -ladvapi32 -lkernel32 -lntdll -L../../libs/wine -lwine -luuid -L../../libs/unicode -lwine_unicode -L../../libs/port -lwine_port domdoc.o(.text+0xfd2): In function `domdoc_get_documentElement': /usr/src/wine/wine-build2/dlls/msxml3/../../../wine/dlls/msxml3/domdoc.c:518: undefined reference to `xmlDocGetRootElement' domdoc.o(.text+0x1457): In function `doread': /usr/src/wine/wine-build2/dlls/msxml3/../../../wine/dlls/msxml3/domdoc.c:671: undefined reference to `xmlParseMemory' main.o(.text+0x77): In function `DllMain': /usr/src/wine/wine-build2/dlls/msxml3/../../../wine/dlls/msxml3/main.c:54: undefined reference to `xmlCleanupParser' main.o(.text+0x88):/usr/src/wine/wine-build2/dlls/msxml3/../../../wine/dlls/ msxml3/main.c:48: undefined reference to `xmlInitParser' node.o(.text+0x21e): In function `xmlnode_Release': /usr/src/wine/wine-build2/dlls/msxml3/../../../wine/dlls/msxml3/node.c:128: undefined reference to `xmlFreeDoc' nodemap.o(.text+0x388): In function `xmlnodemap_getNamedItem': /usr/src/wine/wine-build2/dlls/msxml3/../../../wine/dlls/msxml3/nodemap.c:158: undefined reference to `xmlHasNsProp' collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [msxml3.dll.so] Fehler 2 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
My installed xml rpm are:
libxml2-2.5.10-36 libxml-1.8.17-372 libxml2-devel-2.5.10-36
Bye Stefan
Stefan Leichter wrote:
current cvs does not compile for me. Im on SuSE 9.0.
Hi Stefan,
Could you please try running "./configure && make depend && make" again, and if that doesn't work, let me know what the output of the following command is:
grep XML2 config.status
For me it looks like this:
s,@XML2LIBS@,-lxml2 -lpthread -lz -lm ,;t t s,@XML2INCL@,-I/usr/include/libxml2 ,;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}
thanks,
Mike
Am Donnerstag, 11. August 2005 10:30 schrieb Mike McCormack:
Stefan Leichter wrote:
current cvs does not compile for me. Im on SuSE 9.0.
Hi Stefan,
Could you please try running "./configure && make depend && make" again, and if that doesn't work, let me know what the output of the following command is:
grep XML2 config.status
For me it looks like this:
s,@XML2LIBS@,-lxml2 -lpthread -lz -lm ,;t t s,@XML2INCL@,-I/usr/include/libxml2 ,;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}
Hi Mike,
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,@XML2LIBS@,,;t t s,@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}
Thanks Stefan
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,@XML2LIBS@,,;t t s,@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
thanks,
Mike
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,@XML2LIBS@,,;t t s,@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
Stefan Leichter wrote:
pkg-config --libs libxml-2.0 Package libxml-2.0 was not found in the pkg-config search path.
I'm not really sure why your pkg-config doesn't know about libxml2, and I'm not sure why you have /usr/include/libxml/parser.h... maybe you added a symlink to /usr/include/libxml -> libxml2/libxml to solve a earlier compile problem? If so, maybe deleting it will solve the problem.
In anycase, does the following patch fix the problem?
Mike
Am Freitag, 12. August 2005 08:50 schrieb Mike McCormack:
I'm not really sure why your pkg-config doesn't know about libxml2, and I'm not sure why you have /usr/include/libxml/parser.h... maybe you added a symlink to /usr/include/libxml -> libxml2/libxml to solve a earlier compile problem? If so, maybe deleting it will solve the problem.
In anycase, does the following patch fix the problem?
Hello Mike,
you are right, i created the symlink some days ago. With your patch i am able to build wine with the symlink.
If i remove the symlink i can build wine too. Either without libxml2 or with libxml2 by adding /usr/lib/pkgconfig to the environment variable PKG_CONFIG_PATH .
Thanks for your support
Bye Stefan