This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem - compiling Xerces -C++ by GCC 3.4.6 on HPUX
- From: "Kithsiri Lekamge" <kithsiri dot lekamge at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 10 Aug 2006 11:41:35 +0530
- Subject: Problem - compiling Xerces -C++ by GCC 3.4.6 on HPUX
Hi All,
I was trying to compile Xerces-C++ source code by GCC 3.4.6 compiler
on HP-UX 11.11 platform.
I received the following error messages from hp linker. I don't know
this is a problem with hplinker , gcc or Xerces.
Please see the part of the error message:
HPUX/ASCIIRangeFactory.o and HPUX/sax2Dummy.o
/usr/ccs/bin/ld: Duplicate symbol "typeinfo name for XMLAttDefList" in
files HPUX/AbstractDOMParser.o and HPUX/sax2Dummy.o
/usr/ccs/bin/ld: Duplicate symbol "typeinfo name for DTDEntityDecl" in
files HPUX/AbstractDOMParser.o and HPUX/sax2Dummy.o
/usr/ccs/bin/ld: Duplicate symbols are not allowed in shared libraries
collect2: ld returned 1 exit status
gmake[1]: *** [/vobs/Apache/XercesC2_1/lib/libxerces-c2_1.sl] Error 1
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/vobs/Apache/XercesC2_1/obj'
gmake: *** [/vobs/Apache/XercesC2_1/lib/libxerces-c2_1] Error 2
Please see the error "Duplicate symbols are not allowed in shared libraries
"
please send me your ideas regarding this.
Thanks a lot
-Kithsiri