You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2001/07/23 17:48:56 UTC

FWD: symbol duplication on AIX

I have a small number of link time warnings about symbol duplications with 
AIX. The warning messages are:

===
ld: 0711-228 WARNING: Duplicate symbols were found while resolving symbols.
        The following duplicates were found:
 Symbol                    Source-File(Object) OR Import-File{Shared-object}
 ------------------------- -------------------------------------------------
 __vft20NameIdPoolEnumeratorXT14DTDElementDecl_13XMLEnumeratorXT14DTDElementDe
cl_ Xerces.C(Xerces.o)
    ** Duplicate **        
{/afs/ssd/projects/tools/perl/xerces-c-src1_5_0/lib/libxerces-c1_5.a}
 __vft20NameIdPoolEnumeratorXT15XMLNotationDecl_13XMLEnumeratorXT15XMLNotation
Decl_ Xerces.C(Xerces.o)
    ** Duplicate **        
{/afs/ssd/projects/tools/perl/xerces-c-src1_5_0/lib/libxerces-c1_5.a}
 __vft29RefHash2KeysTableOfEnumeratorXT12SchemaAttDef_13XMLEnumeratorXT12Schem
aAttDef_ Xerces.C(Xerces.o)
    ** Duplicate **        
{/afs/ssd/projects/tools/perl/xerces-c-src1_5_0/lib/libxerces-c1_5.a}
 __vft28RefHash3KeysIdPoolEnumeratorXT17SchemaElementDecl_13XMLEnumeratorXT17S
chemaElementDecl_ Xerces.C(Xerces.o)
    ** Duplicate **        
{/afs/ssd/projects/tools/perl/xerces-c-src1_5_0/lib/libxerces-c1_5.a}
 __vft20NameIdPoolEnumeratorXT13DTDEntityDecl_13XMLEnumeratorXT13DTDEntityDecl
_ Xerces.C(Xerces.o)
    ** Duplicate **        
{/afs/ssd/projects/tools/perl/xerces-c-src1_5_0/lib/libxerces-c1_5.a}
===

In the Xerces-Perl source I find, for example,

===
> find . -name "*.C" | xargs grep NameIdPoolEnumerator
./tempinc/NameIdPool.hpp.C:#pragma define(NameIdPoolEnumerator<DTDEntityDecl>)
./tempinc/NameIdPool.hpp.C:#pragma 
define(NameIdPoolEnumerator<XMLNotationDecl>)
./tempinc/NameIdPool.hpp.C:#pragma 
define(NameIdPoolEnumerator<DTDElementDecl>)
===

I have absolutely no idea what's going on here, although the warnings don't 
seem to stop anything functioning. Any clues on cleaning this up?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org