[squid-users] Squid 3.5.2 Compile Error

Michel Peterson michel.petterson at gmail.com
Thu Mar 5 00:07:34 UTC 2015


Hi friends,

I'm trying to compile squid 3.5.2 on debian wheezy and I am getting
the following error after running the command "make all":

Making all in compat
make[1]: Entrando no diretório `/root/squid-3.5.2/compat'
depbase=`echo assert.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H   -I.. -I../include -I../lib -I../src -I../include
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror
-pipe -D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g
-O2 -march=native -std=c++11 -MT assert.lo -MD -MP -MF $depbase.Tpo -c
-o assert.lo assert.cc &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I../include -I../lib
-I../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Wshadow -Werror -pipe -D_REENTRANT -m32 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -march=native -std=c++11 -MT assert.lo
-MD -MP -MF .deps/assert.Tpo -c assert.cc  -fPIC -DPIC -o
.libs/assert.o
In file included from ../include/squid.h:43:0,
                 from assert.cc:9:
../compat/compat.h:49:57: error: operator '&&' has no right operand
make[1]: ** [assert.lo] Erro 1
make[1]: Saindo do diretório `/root/squid-3.5.2/compat'
make: ** [all-recursive] Erro 1

-- 
Michel Peterson
Analista de Sistemas Linux
Linux Certifications (LPI-101, LPI-102, LPI-201, LPI-202)
Cel: 71 9952-0767


More information about the squid-users mailing list