Hi,
 
The problem is that I am getting a lot of multiply defined symbol errors while linking.
A few errors are reported below.
 
ld: fatal: symbol `xercesc_2_6::chLatin_f' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_e' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_d' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_c' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_b' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_a' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_Z' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
ld: fatal: symbol `xercesc_2_6::chLatin_Y' is multiply-defined:
        (file SOLARIS/ASCIIRangeFactory.o and file SOLARIS/MemoryManagerArrayImpl.o);
Please help,
 
Regards,
Nirdesh Chahal
 
 
.
List:       xerces-c-dev
Subject:    Re: Solaris Forte Compiler Problem
From:       david_n_bertoni () us ! ibm ! com
Date:       2005-05-16 17:17:46
Message-ID: <OF409B1F86.E3991D94-ON88257003.005AC407-88257003.005EC7C8 () lotus ! com>
[Download message RAW]

> I need to know the version of Xerces C++ parser which can be  build
using -compat=4 option on Solaris Sparc.
> I have a library that works only with the old compiler.

Did you try building the current version with that switch?  It may work,
and your problems will be solved.  Otherwise, I suspect you will need to
fix any problems with the current version, or keep trying earlier versions
until you find one that works.

There are some Jira issues regarding Workshop 4.2 in the Jira database:

http://issues.apache.org/jira/browse/XERCESC-1384
http://issues.apache.org/jira/browse/XERCESC-1383
http://issues.apache.org/jira/browse/XERCESC-1382
http://issues.apache.org/jira/browse/XERCESC-1380
http://issues.apache.org/jira/browse/XERCESC-1379

Dave
----- Original Message -----
Sent: Saturday, May 14, 2005 8:26 PM
Subject: Solaris Forte Compiler Problem

Hi,
 
I need to know the version of Xerces C++ parser which can be  build using -compat=4 option on Solaris Sparc.
I have a library that works only with the old compiler.
The Forte compiler i have is 5.4 but I need to build with Comaptibility mode.
 
Regards and Thanks,
 
Nirdesh Chahal

Reply via email to