RE: [squid-users] Squid No Longer Compiles on RedHat enterprise 5

From: Bradley, Stephen W. Mr. <bradlesw_at_muohio.edu>
Date: Tue, 20 Apr 2010 09:55:48 -0400

./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

It dies the same way on three different systems.

thx

-----Original Message-----
From: John Doe [mailto:jdmls_at_yahoo.com]
Sent: Tuesday, April 20, 2010 5:57 AM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Squid No Longer Compiles on RedHat enterprise 5

From: "Bradley, Stephen W. Mr." <bradlesw_at_muohio.edu>
> 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

      
Received on Tue Apr 20 2010 - 13:56:06 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 21 2010 - 12:00:05 MDT