Search squid archive

Re: Compile error Squid 3.2.1 CpuAffinitySet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux