[squid-users] Fwd: Squid 3.5.2 Compile Error
Kinkie
gkinkie at gmail.com
Sun Mar 8 07:02:52 UTC 2015
Yes, and I thought that as well. My reaction would be to make sure
that the secondo variable is guaranteed defined as 0.
On Sun, Mar 8, 2015 at 6:26 AM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 8/03/2015 7:33 a.m., Kinkie wrote:
>> Could you please attach your config.log file?
>
> FYI: This appears to be the precompiler not treating undefined macros as
> 0/false. Which is kind of weird in Wheezy since that compiler version
> was in use during the test development.
>
> Amos
>
>>
>> Thanks
>>
>> On Sat, Mar 7, 2015 at 5:27 AM, Michel Peterson 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
>>
>>
>>
>
> _______________________________________________
> 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