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

From: Bradley, Stephen W. Mr. <bradlesw_at_muohio.edu>
Date: Mon, 19 Apr 2010 10:08:12 -0400

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:
 
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
cc1: warnings being treated as errors
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â
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/home/bradlesw/squid-3.1.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bradlesw/squid-3.1.1/lib'
make: *** [all-recursive] Error 1
 
 
Using:
Linux xxx.xxx.xxx 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
 
It does this with 3.0.24 or 3.1.1.
 
3.0.24 is my normal production code.
 
I tried stripping out anything I have added and even went back into bash history and used the exact configure command that was working two weeks.
 
I suspect RHEL5 updated something and now this is failing.
 
It does this on both of my test servers and I do not want to try the production boxes until I get this resolved.  (Actually I did try one of my production systems and it fails the same way.)
 
 
Any ideas?
 
Thanks
Steve
 
 
Received on Mon Apr 19 2010 - 14:08:25 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 20 2010 - 12:00:05 MDT