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

From: Alexander Busam <a.busam_at_hofmann-foerdertechnik.com>
Date: Wed, 29 Aug 2012 16:30:22 +0200

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 ?
Received on Wed Aug 29 2012 - 14:30:34 MDT

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