You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Li Zonghai <id...@163.com> on 2012/11/23 08:12:50 UTC

complie error

Hi,
os: ubuntu 12.04
gcc & g++ 4.6.3
ld 2.22
xerces-c 2.70
When I complie xalan-c-1.80 or xalan-c-1.10, the error is:
g++ -DLINUX -fPIC  -DXALAN_INMEM_MSG_LOADER -Wl,-rpath,/opt/icu/lib  \
          -L/opt/xerces-c-src_2_7_0/lib -lxerces-c ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator
../../../../obj/InMemHandler.o: In function `InMemHandler::endElement(unsigned short const*, unsigned short const*, unsigned short const*)':
InMemHandler.cpp:(.text+0x5db): undefined reference to `xercesc_2_7::XMLString::compareString(unsigned short const*, unsigned short const*)'

I can complie xalan-c-1.11 sucessfully, but I can't found xalanc/XMLSupport/FormatterToDOM.hpp, my code included it, and I don't know how to do.
 So can anybody  help me.
Thanks.
                                                                                -- lzh