Re: [squid-users] compilation errors on rhel 5

From: Christos Tsantilas <christos_at_chtsanti.net>
Date: Wed, 26 Nov 2008 10:14:30 -0500 (EST)

Hi Remy,

> ............
> 2nd any idea where am i failing to compile it in ubuntu 8.10
>
> errors
>
> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I.
> -I. -I../include -I. -I. -I../include -I../include
> -I../lib/libTrie/include -I../lib -I../lib -I/usr/include/libxml2
> -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments
> -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -DDEFAULT_SQUID_DATA_DIR=
> \"/share/squid\" -g -O2 -MT ICAP/AsyncJob.lo -MD -MP -MF
> ICAP/.deps/AsyncJob.Tpo -c ICAP/AsyncJob.cc -fPIC -DPIC -o
> ICAP/.libs/AsyncJob.o
> cc1plus: warnings being treated as errors
> ICAP/AsyncJob.cc: In member function â&#65533;&#65533;virtual const char*
> AsyncJob::status() constâ&#65533;&#65533;:
> ICAP/AsyncJob.cc:158: error: format not a string literal and no format
> arguments
> make[1]: *** [ICAP/AsyncJob.lo] Error 1
> make[1]: Leaving directory `/home/remy/rnd/squid-3.1.0.2/src'
> make: *** [all-recursive] Error 1

I think this is the bug 2527:
    http://www.squid-cache.org/bugs/show_bug.cgi?id=2527
There is a small patch for this bug can you try it?

Regards,
     Christos
>
> Regards,
> Remy
>
Received on Wed Nov 26 2008 - 15:14:41 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 27 2008 - 12:00:03 MST