Re: [squid-users] Error making squid-3.1.0.7-20090412 on Mac OS X 10.4

From: <vollkommen_at_gmx.net>
Date: Mon, 11 May 2009 05:11:56 +0200

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
Received on Mon May 11 2009 - 03:12:07 MDT

This archive was generated by hypermail 2.2.0 : Mon May 11 2009 - 12:00:02 MDT