Search squid archive

Re: Compile error Squid 3.2.1 CpuAffinitySet

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

 



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*)’
make[3]: *** [CpuAffinitySet.o] Error 1
make[3]: Leaving directory `/root/install/squid/src/squid-3.2.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/install/squid/src/squid-3.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/install/squid/src/squid-3.2.1/src'
make: *** [all-recursive] Error 1

The configure options are:

'--prefix=/usr' '--sysconfdir=/etc/squid' '--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--localstatedir=/var' '--libexecdir=/usr/sbin' '--datadir=/usr/share/squid' '--mandir=/usr/share/man' '--with-dl' '--with-maxfd=4096' '--with-valgrind-debug' '--enable-snmp' '--enable-carp' '--enable-auth-basic' '--enable-auth-digest' '--enable-auth-negotiate' '--enable-auth-ntlm' '--enable-external-acl-helpers=ip_user ldap_group session unix_group wbinfo_group' '--enable-ntlm-fail-open' '--enable-htcp' '--enable-underscores' '--enable-stacktraces' '--enable-delay-pools' '--enable-forward-log' '--enable-multicast-miss' '--enable-ssl' '--enable-cache-digests' '--enable-auth-on-acceleration' '--enable-storeio=aufs,diskd,ufs' '--enable-linux-netfilter' '--enable-removal-policies=heap,lru' '--enable-icmp' '--with-samba-sources=/usr/include/samba' '--enable-large-cache-files' '--enable-x-accelerator-vary' '--enable-follow-x-forwarded-for' '--with-default-user=squid' '--with-logdir=/var/log/squid' 'CFLAGS=-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -fPIE -DLDAP_DEPRECATED -fno-strict-aliasing' --with-squid=/root/install/squid/src/squid-3.2.1 --enable-ltdl-convenience

What's wrong ?

Let me know I you need more information.

Thanks a lot.

Alex
... no idea ?


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

  Powered by Linux