From: Rodolfo M. <rod...@gm...> - 2006-09-15 12:45:57
|
Rodolfo Medina <rod...@gm...> writes: >> when I do `make' to install wbxml2-0.9.0-src.tar.gz, >> it stops giving the following error message: >> >> [...] >> >> . Can anyone suggest how to fix that? >> Both libexpat1-dev and libexpat1 are installed. "Alberto Saez" <alb...@gm...> writes: > As you have pointed, the problem is the lost to libexpat1 library. This step > is usually made during the creation of Makefiles (accomplish by ./configure > command) This kind of problems are usually because a different version of > automake. > > > BTW, You can look at the Makefike and add to the compilation order the access > to libexpat1 .so file (located in /usr/lib). You can test it without touching > makefile: locate the gcc command which stop and add the libexapt1 lib > location . > > > Or plese, send the full make output > > pd: > AFAIK, the wbxml2-0.9.0-src.tar.gz doesn't come with a configure script, and > you have to create it with bootstrap. But I don't have this package to check > it. I don't manage to fix the problem myself. Here the whole `make' output, and many thanks for your help. Rodolfo ----------------------------------------------------------------------- $ make make all-recursive make[1]: Entering directory `/home/rodolfo/tmp/wbxml2-0.9.0' Making all in src make[2]: Entering directory `/home/rodolfo/tmp/wbxml2-0.9.0/src' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/rodolfo/tmp/wbxml2-0.9.0/src' Making all in tools make[2]: Entering directory `/home/rodolfo/tmp/wbxml2-0.9.0/tools' /bin/sh ../libtool --mode=link gcc -DHAVE_CONFIG_H -DHAVE_EXPAT -D_REENTRANT -DWBXML_ENCODER_USE_STRTBL -DWBXML_SUPPORT_WML -DWBXML_SUPPORT_WTA -DWBXML_SUPPORT_SI -DWBXML_SUPPORT_SL -DWBXML_SUPPORT_CO -DWBXML_SUPPORT_PROV -DWBXML_SUPPORT_EMN -DWBXML_SUPPORT_DRMREL -DWBXML_SUPPORT_OTA_SETTINGS -DWBXML_SUPPORT_SYNCML -DWBXML_SUPPORT_WV -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes -O3 -g -o wbxml2xml wbxml2xml_tool.o attgetopt.o ../src/libwbxml2.la -lnsl gcc -DHAVE_CONFIG_H -DHAVE_EXPAT -D_REENTRANT -DWBXML_ENCODER_USE_STRTBL -DWBXML_SUPPORT_WML -DWBXML_SUPPORT_WTA -DWBXML_SUPPORT_SI -DWBXML_SUPPORT_SL -DWBXML_SUPPORT_CO -DWBXML_SUPPORT_PROV -DWBXML_SUPPORT_EMN -DWBXML_SUPPORT_DRMREL -DWBXML_SUPPORT_OTA_SETTINGS -DWBXML_SUPPORT_SYNCML -DWBXML_SUPPORT_WV -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes -O3 -g -o .libs/wbxml2xml wbxml2xml_tool.o attgetopt.o ../src/.libs/libwbxml2.so -lnsl -Wl,--rpath -Wl,/usr/local/lib ../src/.libs/libwbxml2.so: undefined reference to `XML_GetCurrentByteIndex' ../src/.libs/libwbxml2.so: undefined reference to `XML_SetElementHandler' ../src/.libs/libwbxml2.so: undefined reference to `XML_Parse' ../src/.libs/libwbxml2.so: undefined reference to `XML_ParserFree' ../src/.libs/libwbxml2.so: undefined reference to `XML_SetCharacterDataHandler' ../src/.libs/libwbxml2.so: undefined reference to `XML_ParserCreate' ../src/.libs/libwbxml2.so: undefined reference to `XML_SetCdataSectionHandler' ../src/.libs/libwbxml2.so: undefined reference to `XML_SetStartDoctypeDeclHandler' ../src/.libs/libwbxml2.so: undefined reference to `XML_SetUserData' ../src/.libs/libwbxml2.so: undefined reference to `XML_SetProcessingInstructionHandler' collect2: ld returned 1 exit status make[2]: *** [wbxml2xml] Error 1 make[2]: Leaving directory `/home/rodolfo/tmp/wbxml2-0.9.0/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rodolfo/tmp/wbxml2-0.9.0' make: *** [all] Error 2 |