[squid-users] Build issues with squid 3.1 and 3.2

From: <gewehre_at_gmx.net>
Date: Mon, 22 Aug 2011 23:05:54 +0200

On Mac OS X 10.4.11, squid-3.1.14 from July 4 doesn't have this problem, but the last nightly release (squid-3.1.14-20110804) complains about "Bungled Default Configuration line 8: miss_access allow all" with the exact same config. Line 8 in my squid.conf is "acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1".

A second issue is "--enable-ssl" always has to be left out of my ./configure, in order for any squid-3.1.14 to compile. Had no such issue with much older 3.1.x releases, as far as I can recall. I don't use squid as a reverse-proxy, so it's no big loss.

With squid 3.2, I got the following a few months ago:

cc1plus: warnings being treated as errors
Address.cc: In member function 'bool Ip::Address::IsSlaac() const':
Address.cc:274: warning: comparison is always false due to limited range of data type
Address.cc:275: warning: comparison is always false due to limited range of data type
make[3]: *** [Address.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

With recent 3.2 nightlies, I encounter another issue that I can get around by explicitly specifying "--disable-auth-negotiate":
...
cc1plus: warnings being treated as errors
negotiate_wrapper.cc: In function 'int main(int, char* const*)':
negotiate_wrapper.cc:113: warning: 'length' may be used uninitialized in this function
make[3]: *** [negotiate_wrapper.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I'm then confronted with the old nemesis:
...
cc1plus: warnings being treated as errors
Address.cc: In member function 'bool Ip::Address::IsSlaac() const':
Address.cc:279: warning: comparison is always false due to limited range of data type
Address.cc:280: warning: comparison is always false due to limited range of data type
 
Some googling seems to suggest this is rather common with certain UNIX source codes and OS X (x86 little endian hardware).

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Received on Mon Aug 22 2011 - 21:06:04 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 26 2011 - 12:00:02 MDT