Re: [squid-users] can't compile 3.1.0.15

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 06 Dec 2009 23:47:09 +1300

Landy Landy wrote:
> I'm trying to upgrade from 3.1.0.14 to 3.1.0.15 but I'm getting an error when compiling:
>
> c MessageRep.cc -fPIC -DPIC -o .libs/MessageRep.o
> cc1plus: warnings being treated as errors
> MessageRep.cc: In member function âlibecap::Name Adaptation::Ecap::FirstLineRep::protocol() constâ:
> MessageRep.cc:120: warning: enumeration value âPROTO_ICYâ not handled in switch
> make[4]: *** [MessageRep.lo] Error 1
> make[4]: Leaving directory `/workingdir/squid-3.1.0.15/src/adaptation/ecap'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/workingdir/squid-3.1.0.15/src/adaptation'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/workingdir/squid-3.1.0.15/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/workingdir/squid-3.1.0.15/src'
> make: *** [all-recursive] Error 1
>
>
> These are the options I'm using:
> ./configure --prefix=/usr/local/squid \
> --sysconfdir=/etc/squid3.1 \
> --enable-delay-pools \
> --enable-kill-parent-hack \
> --disable-htcp \
> --enable-default-err-language=Spanish \
> --enable-linux-netfilter \
> --disable-ident-lookups \
> --localstatedir=/var/log/squid3.1 \
> --enable-stacktraces \
> --with-default-user=proxy \
> --with-large-files \
> --enable-icap-client \
> --enable-ecap \
> --enable-async-io \
> --enable-storeio="aufs" \
> --enable-removal-policies="heap,lru" \
> --with-maxfd=16384
>
>
> These options worked with 3.1.0.14 don't know why is not compiling 3.1.0.15.
>

3.1.0.15 add support for SHOUTcast traffic. eCAP does not have the code
to handle it yet.

Band-aid patch just applied to 3.1:
http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-9822.patch

This should get it building, though I'm not sure of what will happen to
eCAP when ICY passes through it.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Sun Dec 06 2009 - 10:47:20 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 06 2009 - 12:00:02 MST