Hi there

I'm trying to build Xalan on Debian but I get a "multiple definition" build error. I've built Xerces in advance and setup the environment varibles XERCESCROOT and XALANCROOT then ran "./runConfigure -p linux -c gcc -x g++" and finally "make".

The error is the following:

g++ -DLINUX -fPIC  -DXALAN_INMEM_MSG_LOADER   \
-L/root/libs/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 /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
../../../../obj/MsgFileOutputStream.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [../../../../bin/MsgCreator] Error 1
make[3]: Leaving directory `/root/libs/xml-xalan/c/src/xalanc/Utils/MsgCreator'
make[2]: *** [../../../bin/MsgCreator] Error 2
make[2]: Leaving directory `/root/libs/xml-xalan/c/src/xalanc/Utils'
make[1]: *** [locale] Error 2
make[1]: Leaving directory `/root/libs/xml-xalan/c/src/xalanc'
make: *** [all] Error 2

Hope someone has experienced the same build error and knows how to resolve it.

-- Bjoern


Reply via email to