気まぐれSE日記

地方でエンジニアしてます

squid-3.1.18がmakeできない

CentOS5.7 x64で gcc 4.1.2 なんだけど
こんなエラーになってmakeが終了してしまう。これ、3.1.17から発生していて解決しないんだけどなぁ。

g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../src -I../include -I../libltdl -I../src -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o store_io.o store_io.cc

store.cc: In member function 'void StoreEntry::deferProducer(const RefCount&)':
store.cc:376: error: no match for 'operator<<' in 'std::operator<< [with _Traits = std::char_traits]
〜省略〜
mem_node.h:67: note: std::ostream& operator<<(std::ostream&, mem_node&)
make[3]: *** [store.o] Error 1


探したところ、バグっぽいです。
http://bugs.squid-cache.org/show_bug.cgi?id=3440
バグ3440のパッチでてますね。
Squid 3.1 changes