[squid-users] Fwd: Squid 3.5.2 Compile Error

Kinkie gkinkie at gmail.com
Sat Mar 7 18:33:31 UTC 2015


Could you please attach your config.log file?

Thanks

On Sat, Mar 7, 2015 at 5:27 AM, Michel Peterson
<michel.petterson at gmail.com> wrote:
> 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
>
>
>
> Help me plz.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



-- 
    Francesco


More information about the squid-users mailing list