Jeff Pang wrote:
Hello,
when making squid-3.0.stable8 on slackware I got the errors:
neighbors.cc: In function 'void dump_peer_options(StoreEntry*, peer*)':
neighbors.cc:1612: error: 'struct _peer::<anonymous>' has no member named 'carp'
make[3]: *** [neighbors.o] Error 1
make[3]: Leaving directory `/root/squid-3.0.STABLE8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.0.STABLE8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.0.STABLE8/src'
make: *** [all-recursive] Error 1
This is the gcc version:
gcc -v
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.3/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.2.3/configure --prefix=/usr --enable-shared
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose
--with-arch=i486 --target=i486-slackware-linux
--host=i486-slackware-linux
Thread model: posix
gcc version 4.2.3
The Linux kernel is 2.6.24.5.
How to fixup it. thanks.
You have hit a minor regression in the stable bundle. Fixed shortly after.
You can pull the 3.0 daily snapshot with the fix and a few more bug fixes.
Amos
--
Please use Squid 2.7.STABLE3 or 3.0.STABLE8