Search squid archive

Re: squid-3 make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amos Jeffries schrieb:
> Florian wrote:
>> Henrik Nordstrom schrieb:
>>> fre 2008-04-25 klockan 00:03 +0200 skrev Florian:
>>>  
>>>> Ok, i hope, i've upgraded all necessary now. ;-)
>>>> I installed the latest gcc, switched off Optimization but have errors:
>>>>
>>>> IPAddress.cc: In member function 'void
>>>> IPAddress::GetAddrInfo(addrinfo*&, int) c                   onst':
>>>> IPAddress.cc:837: error: suggest parentheses around && within ||
>>>>     
>>> That's a Squid bug in the 3.0.STABLE4 release.
>>>
>>> http://www.squid-cache.org/Versions/v3/3.0/changesets/b8743.patch
>>>
>>> Regards
>>> Henrik
>> I'm using the rsync'd 3.1-sources where this patch is still applied and
>> the make fails anyway.
>> rsync -avz rsync://squid-cache.org/source/squid-3
>>
>> Building 3.0.STABLE4 works fine.
>>
>> Regards, Florian
>
> Um, those messages are in a different piece of code. The earlier fix
> was for HttpMsg.cc. I've just applyed a similar fix to IPAddress.cc now.
>
> Amos
Thanks for the patch.
Building squid with gcc 4.3.0 works now. Compiling with gcc 3.4.4 fails,
but this is ok; i'll use the newer gcc.

florian

gcc version 3.4.4 (Trustix)

 g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid310/etc/squid.conf\" -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 AuthUser.lo -MD -MP -MF .deps/AuthUser.Tpo -c
AuthUser.cc  -fPIC -DPIC -o .libs/AuthUser.o
AuthUser.cc: In member function `void AuthUser::removeIp(IPAddress)':
AuthUser.cc:264: internal compiler error: in sweep_string_variable, at
protector.c:1142
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.trustix.org/> for instructions.
make[1]: *** [AuthUser.lo] Error 1
make[1]: Leaving directory `/home/users/bai/squid-3/src'
make: *** [all-recursive] Error 1


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux