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.
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.
Any ideas?
Thanks
Steve
Received on Thu Apr 15 2010 - 14:26:24 MDT
This archive was generated by hypermail 2.2.0 : Thu Apr 15 2010 - 12:00:04 MDT