[squid-users] Compiling suiqd 3.1.0.6

From: Sébastien WENSKE <sebastien_at_wenske.fr>
Date: Sun, 1 Mar 2009 21:38:58 +0100

Hi All,

I get error when try to built squid 3.1.0.6:

./configure --localstatedir=/var --prefix=/usr --includedir=/usr/include --datadir=/usr/share --bindir=/usr/sbin --libexecdir=/usr/lib/squid --exec-prefix=/usr --sysconfdir=/etc/squid --enable-icmp --enable-arp-acl --with-default-user=squid --enable-auth="basic ntlm" --enable-basic-auth-helpers="LDAP SMB NCSA multi-domain-NTLM" --enable-ntlm-auth-helpers="smb_lm" --enable-ntlm-fail-open --enable-external-acl-helpers="ip_user ldap_group session wbinfo_group" --enable-err-languages="French English" --enable-default-err-languages=French --enable-follow-x-forwarded-for --enable-storeio="ufs diskd aufs coss" --enable-removal-policies="lru heap"
[...]
make
[...]
/squid/etc\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include -I../lib -I../lib -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT globals.o -MD -MP -MF "$depbase.Tpo" -c -o globals.o globals.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo comm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include -I../lib -I../lib -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT comm.lo -MD -MP -MF "$depbase.Tpo" -c -o comm.lo comm.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include -I../lib -I../lib -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c comm.cc -fPIC -DPIC -o .libs/comm.o
cc1plus: warnings being treated as errors
comm.cc: In member function 'int ConnectStateData::commResetFD()':
comm.cc:960: warning: deprecated conversion from string constant to 'char*''
comm.cc:977: warning: deprecated conversion from string constant to 'char*''
comm.cc: In member function 'void ConnectStateData::connect()':
comm.cc:1078: warning: deprecated conversion from string constant to 'char*''
comm.cc:1083: warning: deprecated conversion from string constant to 'char*''
comm.cc:1088: warning: deprecated conversion from string constant to 'char*''
comm.cc:1104: warning: deprecated conversion from string constant to 'char*''
comm.cc:1116: warning: deprecated conversion from string constant to 'char*''
comm.cc: In function 'int commSetTimeout(int, int, void (*)(int, void*), void*)':
comm.cc:1153: warning: deprecated conversion from string constant to 'char*''
comm.cc: In function 'int commSetTimeout(int, int, RefCount<AsyncCall>&)':
comm.cc:1164: warning: deprecated conversion from string constant to 'char*''
comm.cc: In member function 'bool AcceptFD::acceptOne()':
comm.cc:2247: warning: deprecated conversion from string constant to 'char*''
comm.cc: In function 'void commStartHalfClosedMonitor(int)':
comm.cc:2384: warning: deprecated conversion from string constant to 'char*''
comm.cc: In function 'void commHalfClosedCheck(void*)':
comm.cc:2405: warning: deprecated conversion from string constant to 'char*''
comm.cc: In function 'void commStopHalfClosedMonitor(int)':
comm.cc:2433: warning: deprecated conversion from string constant to 'char*''
make[1]: *** [comm.lo] Error 1
make[1]: Leaving directory `/usr/src/squid-3.1.0.6/src'
make: *** [all-recursive] Error 1
root_at_sl05:/usr/src/squid-3.1.0.6#

I'm running

Ubuntu on a SUN Sparc64.

Thanks for your help.

Sébastien
Received on Sun Mar 01 2009 - 20:39:15 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 02 2009 - 12:00:01 MST