Re: [squid-users] Compile error Squid 3.2.1 CpuAffinitySet

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 30 Aug 2012 02:44:36 +1200

On 30/08/2012 2:30 a.m., Alexander Busam wrote:
> Alexander Busam schrieb:
>> Hello!
>>
>> I got the following compile error on my OpenSuSE 10.3 machine:
>>
>> make[3]: Leaving directory
>> `/root/install/squid/src/squid-3.2.1/src/snmp'
>> make[3]: Entering directory `/root/install/squid/src/squid-3.2.1/src'
>> depbase=`echo CpuAffinitySet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
>> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\"
>> -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\"
>> -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../lib
>> -I../src -I../include -I../libltdl -I../src -I../libltdl -Wall
>> -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
>> -g -O2 -MT CpuAffinitySet.o -MD -MP -MF $depbase.Tpo -c -o
>> CpuAffinitySet.o CpuAffinitySet.cc &&\
>> mv -f $depbase.Tpo $depbase.Po
>> CpuAffinitySet.cc: In member function ‘bool CpuAffinitySet::applied()
>> const’:
>> CpuAffinitySet.cc:73: error: invalid conversion from ‘const
>> cpu_set_t*’ to ‘cpu_set_t*’
>> CpuAffinitySet.cc:73: error: initializing argument 2 of ‘int
>> __sched_cpucount(size_t, cpu_set_t*)’

The problem is clear.

>> What's wrong ?
>>
>> Let me know I you need more information.
>>
>> Thanks a lot.
>>
>> Alex
> ... no idea ?

The developers expect reports through the squid-dev mailing list or
bugzilla ...

Amos
Received on Wed Aug 29 2012 - 14:44:53 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 29 2012 - 12:00:08 MDT