[squid-users] Re: Squid and Splash page

From: ming <mingpun_at_gmail.com>
Date: Sat, 31 Dec 2011 00:12:37 -0800 (PST)

when I compiled 3.1.17 on ubuntu 10.04 64bit, I got the following error. is
it a known issue?

        g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I.. -I../include
-I../src -I../include -I../src -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Werror -D_REENTRANT -g -O2 -MT fqdncache.o -MD -MP -MF
$depbase.Tpo -c -o fqdncache.o fqdncache.cc &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo ftp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I.. -I../include
-I../src -I../include -I../src -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Werror -D_REENTRANT -g -O2 -MT ftp.o -MD -MP -MF $depbase.Tpo
-c -o ftp.o ftp.cc &&\
        mv -f $depbase.Tpo $depbase.Po
ftp.cc: In member function ‘void FtpStateData::ftpAcceptDataConnection(const
CommAcceptCbParams&)’:
ftp.cc:3124: error: redeclaration of ‘char ntoapeer [75]’
ftp.cc:3076: error: ‘char ntoapeer [75]’ previously declared here
make[3]: *** [ftp.o] Error 1
make[3]: Leaving directory `/home/ubuntu/squid-3.1.17/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/squid-3.1.17/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/squid-3.1.17/src'
make: *** [all-recursive] Error 1

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-and-Splash-page-tp3473302p4247868.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sat Dec 31 2011 - 08:12:39 MST

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