> 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
>
I wonder.
Lets experiment then. If you would please:
1. comment out the annoying line:
template cbdata_type CbDataList<int>::CBDATA_CbDataList;
2. add this to src/asn.cc:
class FubarA {
public:
char a;
}
template cbdata_type CbDataList<FubarA>::CBDATA_CbDataList;
3. add this to acl/Asn.cc:
class FubarB {
public:
char b;
}
template cbdata_type CbDataList<FubarB>::CBDATA_CbDataList;
4. rebuild and see what happens...
Amos
> 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
>
Received on Mon May 11 2009 - 04:26:50 MDT
This archive was generated by hypermail 2.2.0 : Tue May 12 2009 - 12:00:02 MDT