Or, maybe another case of OS X's case-insensitiveness?

find . -iname 'asn*'
./include/asn1.h
./snmplib/asn1.c
./src/acl/Asn.cc
./src/acl/Asn.h
./src/asn.cc

less src/acl/Asn.h
...
private:
    static ACL::Prototype SourceRegistryProtoype;
    static ACLStrategised<IpAddress> SourceRegistryEntry_;
    static ACL::Prototype DestinationRegistryProtoype;
    static ACLStrategised<IpAddress> DestinationRegistryEntry_;
    CbDataList<int> *data;
};

-------- Original-Nachricht --------
>From my untrained eyes, it seems to be the following files

/usr/libexec/gcc/i686-apple-darwin8/4.2.1/ld: multiple definitions of symbol 
CbDataList<int>::CBDATA_CbDataList
asn.o definition of CbDataList<int>::CBDATA_CbDataList      in section 
(__DATA,__data)
acl/.libs/libacls.a(SslErrorData.o) definition of 
CbDataList<int>::CBDATA_CbDataList      in section (__DATA,__data)
collect2: ld returned 1 exit status

1.
./include/CbDataList.h

/** \cond AUTODOCS-IGNORE */
template <class C>
cbdata_type CbDataList<C>::CBDATA_CbDataList = CBDATA_UNKNOWN;
/** \endcond */

2.
./src/asn.cc

/// \cond AUTODOCS-IGNORE
template cbdata_type CbDataList<int>::CBDATA_CbDataList;
/// \endcond

3.
./src/acl/SslErrorData.cc

/* explicit instantiation required for some systems */
/** \cond AUTODOCS-IGNORE */
template cbdata_type CbDataList<ssl_error_t>::CBDATA_CbDataList;
/** \endcond */


-------- Original-Nachricht --------
> > 2. In src/asn.cc, comment out:
> > template cbdata_type CbDataList<int>::CBDATA_CbDataList;
> 
> I can't see how or what is clashing with CbDataList<int> though, is there
> any better info when just the (1) above is done?
> 
> Amos
> 

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* 
http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a

Reply via email to