Search squid archive

RE: Squid No Longer Compiles on RedHat enterprise 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 20 Apr 2010 09:55:48 -0400, "Bradley, Stephen W. Mr."
<bradlesw@xxxxxxxxxx> wrote:
> ./configure  --prefix=/usr --includedir=/usr/include
--datadir=/usr/share
> --bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var
> --sysconfdir=/etc/squid --enable-wccpv2 --enable-linux-netfilter
> --enable-default-err-language=English --enable-err-languages=English
> --enable-async-io --enable-removal-policies=lru,heap --disable-auth
> 

Thanks.

Somehow the definitions of %PRId64 and int64_t are getting disconnected.

Squid pulls in all the possible OS type headers then tries to define a
missing %PRId64 based on the int64_t size (include/squid_types.h), but if
we can find the header where RHEL defines them both and make sure its
included that would be better. Or second best, what code RHEL5 should be
using instead of %lld.

PS: The --enable-default-err-language and --enable-err-languages configure
options are dead. Squid does automatic l10n negotiation with the browser in
3.1.

Amos

> 
> It dies the same way on three different systems.
> 
> thx
> 
> -----Original Message-----
> From: John Doe [mailto:jdmls@xxxxxxxxx] 
> Sent: Tuesday, April 20, 2010 5:57 AM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  Squid No Longer Compiles on RedHat enterprise
5
> 
> From: "Bradley, Stephen W. Mr." <bradlesw@xxxxxxxxxx>
>> This is my second time posting this with no answers yet.
>> I have probably compiled Squid with various options over 
>> 100 times in the last two months and after a two week 
>> break I tried compiling last night to add SNMP support 
>> and it fails with this:
>> util.c: In function âxint64toaâ:
>> util.c:929: warning: format â%lldâ 
>> expects type âlong long intâ, but argument 4 has type âint64_tâ
>> util.c:929: 
>> warning: format â%lldâ expects type âlong long intâ, but argument 4 has
>> type
>> âint64_tâ
> 
> I just tested and succesfully compiled 3.1.1 on an up to date Centos 5.4
> (equivalent to RH 5.4)...
> ...
> gcc -DHAVE_CONFIG_H  -I.. -I../include -I../src -I../include    -Wall
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations
> -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -MT util.o -MD -MP -MF
> .deps/util.Tpo -c -o util.o util.c
> mv -f .deps/util.Tpo .deps/util.Po
> ...
> 
> What configure options did you use?
> 
> JD

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux