Re: [squid-users] error build squid-3.1.17 with gcc-4.5.3

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 03 Dec 2011 15:50:26 +1300

On 3/12/2011 12:45 p.m., Jose-Marcio Martins da Cruz wrote:
> Pedro Correia Sardinha wrote:
>> Hello,
>>
>> When I try to build the last version as usual, "make all" it's giving
>> me this output (my compiler is gcc-4.5.3):
>>
>> ftp.cc: In member function 'void
>> FtpStateData::ftpAcceptDataConnection(const CommAcceptCbParams&)':
>> ftp.cc:3124:38: error: redeclaration of 'char ntoapeer [75]'
>> ftp.cc:3076:31: error: 'char ntoapeer [75]' previously declared here
>> make[3]: *** [ftp.o] Error 1
>> make[3]: Leaving directory `/usr/local/src/SQUID/squid-3.1.17/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/usr/local/src/SQUID/squid-3.1.17/src'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/usr/local/src/SQUID/squid-3.1.17/src'
>> make: *** [all-recursive] Error 1
>>
>> Anyone has this issue or have a sugestion to fix it?
>
> I saw it here. Just comment the second declaration : file src/ftp.cc,
> line 3124
>

Sorrry folks. Bumping 3.1.18 out in a few hours instead with that
regression fixed.

Amos
Received on Sat Dec 03 2011 - 02:50:42 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 03 2011 - 12:00:02 MST