[squid-users] Error compiling Squid-3.0.PRE6

From: Raymond A. Meijer <raymond@dont-contact.us>
Date: Mon, 4 Jun 2007 10:25:36 +0300

Hello,

I cannot compile Squid-3.0.PRE6:

g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include -I/usr/include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -Wall -O2 -c -o helper.o helper.cc
cc1plus: warnings being treated as errors
helper.cc: In function ‘void helperStatefulReleaseServer(helper_stateful_server*)’:
helper.cc:489: warning: suggest parentheses around assignment used as truth value
make[3]: *** [helper.o] Error 1
make[3]: Leaving directory `/usr/src/squid-3.0.PRE6/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/src/squid-3.0.PRE6/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/squid-3.0.PRE6/src'
make: *** [install-recursive] Error 1

kernel: 2.6.21-cks2
gcc: 4.1.1-15

CFLAGS='-g -Wall -O2'
CXXFLAGS='-g -Wall -O2'
build_alias='i686-linux-gnu'

./configure --build=i686-linux-gnu --prefix=/usr --includedir=/include --mandir=/share/man --infodir=/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib/squid --disable-maintainer-mode --disable-dependency-tracking --srcdir=. --datadir=/usr/share/squid --sysconfdir=/etc/squid --mandir=/usr/share/man --with-cppunit-basedir=/usr --enable-inline --enable-async-io=8 --enable-storeio=ufs,aufs,coss --enable-diskio=AIO,Blocking,DiskDaemon,DiskThreads --enable-removal-policies=lru,heap --enable-poll --enable-digest-pools --enable-snmp --enable-htcp --enable-select --enable-carp --enable-large-files --enable-underscores --enable-auth=basic,digest,ntlm --enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM --enable-ntlm-auth-helpers=SMB --enable-digest-auth-helpers=ldap,password --enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group --with-filedescriptors=8192 --enable-epoll --enable-linux-netfilter --enable-delay-pools

Do you need more info?

Squid-3.0.PRE5 compiles perfectly with these settings.

Thank you,

Raymond A. Meijer

-- 
You cannot discover new oceans unless
you have the courage to lose sight of
the shore
Received on Mon Jun 04 2007 - 01:25:47 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:03 MDT