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

From: Jose-Marcio Martins da Cruz <Jose-Marcio.Martins_at_mines-paristech.fr>
Date: Sat, 03 Dec 2011 00:45:50 +0100

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
Received on Fri Dec 02 2011 - 23:45:52 MST

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