Looks that the only way to fix all this problems is to setup a CentOS
5.3 machine and fix it here.
It is to disappointing :-(
On 02/03/2011 06:12 PM, [email protected] wrote:
See<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/1130/changes>
Changes:
[Christos Tsantilas<[email protected]>] SMP SNMP
The attached patch implements aggregation of SNMP responses, similar to how
we aggregate some cache manager stats.
The code contains changes that allow us to share some of the classes between
Cache Manager and SNMP code:
* implement the following base classes under the ipc directory/module:
- Ipc::Forwarder (ipc/Forwarder{.cc,.h} files)
- Ipc::Inquirer (ipc/Inquirer{.cc,.h} files)
- Ipc::Request (ipc/Request{.cc,.h} files)
- Ipc::Response (ipc/Response{.cc,.h} files)
* fix the Mgr::Forwarder, Mgr::Inquirer, Mgr::Request and Mgr::Response
classes to be implemented as kid classes of the equivalent Icp::* classes.
Also implements for the SNMP the same mechanism used for cache manager:
The SNMP requests forwarder to coordinator which collects the statistics from
kids and aggregate them.
This is a Measurement Factory project
[Automatic source maintenance<[email protected]>] SourceFormat
Enforcement
....................
<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp/../../../src/snmp/Pdu.cc>:119:
undefined reference to `snmp_var_free'
<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp/../../../src/snmp/Pdu.cc>:63:
undefined reference to `snmpAggrType(unsigned int*, int)'
<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp/../../../src/snmp/Pdu.cc>:44:
undefined reference to `xmemset'
<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp/../../../src/snmp/Session.cc>:41:
undefined reference to `xmemset'
<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/snmp/../../../src/snmp/Var.cc>:42:
undefined reference to `xmemset'
make[5]: *** [tests/testACLMaxUserIP] Error 1
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [distcheck] Error 2
Build FAILED.