<div dir="ltr"><div><div><div><div><div>i have problem with compiling squid<br><br></div>generaly i use <br>./boos....<br></div>./configure<br></div>make<br><br></div>but it fail <br></div>what wrong<br><div><br>-pipe -D_REENTRANT -g -O2 -march=native -std=c++11 -MT StoreSwapLogData.o -MD -MP -MF $depbase.Tpo -c -o StoreSwapLogData.o StoreSwapLogData.cc &&\<br>mv -f $depbase.Tpo $depbase.Po<br>StoreSwapLogData.cc: In member function ‘std::ostream& SwapChecksum24::print(std::ostream&) const’:<br>StoreSwapLogData.cc:47:15: error: no match for ‘operator<<’ (operand types are ‘std::ostream {aka std::basic_ostream<char>}’ and ‘const uint8_t {aka const unsigned char}’)<br>     return os << raw[0] << '-' << raw[1] << '-' << raw[2];<br>               ^<br>StoreSwapLogData.cc:47:15: note: candidate is:<br>In file included from StoreSwapLogData.cc:12:0:<br>StoreSwapLogData.h:70:1: note: std::ostream& operator<<(std::ostream&, const SwapChecksum24&)<br> operator <<(std::ostream &os, const SwapChecksum24 &sum)<br> ^<br>StoreSwapLogData.h:70:1: note:   no known conversion for argument 2 from ‘const uint8_t {aka const unsigned char}’ to ‘const SwapChecksum24&’<br>StoreSwapLogData.cc:48:1: error: control reaches end of non-void function [-Werror=return-type]<br> }<br> ^<br>At global scope:<br>cc1plus: error: unrecognized command line option "-Wno-deprecated-register" [-Werror]<br>cc1plus: all warnings being treated as errors<br>Makefile:6823: recipe for target 'StoreSwapLogData.o' failed<br>make[3]: *** [StoreSwapLogData.o] Error 1<br>make[3]: Leaving directory '/root/squid-4.0.0-20150929-r14330/src'<br>Makefile:6945: recipe for target 'all-recursive' failed<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory '/root/squid-4.0.0-20150929-r14330/src'<br>Makefile:5974: recipe for target 'all' failed<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory '/root/squid-4.0.0-20150929-r14330/src'<br>Makefile:569: recipe for target 'all-recursive' failed<br>make: *** [all-recursive] Error 1<br>root@UK-CDN:~/squid-4.0.0-20150929-r14330#<br><div><div><div><div><br></div></div></div></div></div></div>