[squid-users] building 3.1.12

From: cc <cc_at_belfordhk.com>
Date: Tue, 19 Apr 2011 17:19:36 +0800

Hi,

I tried building 3.1.12 today and came across the following
errors:

make[3]: Leaving directory `/st/always/squid-3.1.12/src/ip'
Making all in icmp
make[3]: Entering directory `/st/always/squid-3.1.12/src/icmp'
g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=NULL -I../.. -I../../include
-I../../src -I../../include -I../../libltdl -I/usr/local/ssl/include
-I../ipfilter -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror
-D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT
Icmp4.o -MD -MP -MF .deps/Icmp4.Tpo -c -o Icmp4.o Icmp4.cc
Icmp4.cc: In member function `virtual void Icmp4::SendEcho(IpAddress&,
int,const char*, int)':
Icmp4.cc:96: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:100: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:103: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:116: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:117: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:118: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:119: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:120: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:123: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:138: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:96: error: forward declaration of `struct icmphdr'
Icmp4.cc:142: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc: In member function `virtual void Icmp4::Recv()':
Icmp4.cc:179: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:184: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:223: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:167: error: forward declaration of `struct icmphdr'
Icmp4.cc:226: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:167: error: forward declaration of `struct icmphdr'
Icmp4.cc:229: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:167: error: forward declaration of `struct icmphdr'
Icmp4.cc:239: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:241: error: invalid application of `sizeof' to an incomplete type
Icmp4.cc:243: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:167: error: forward declaration of `struct icmphdr'
Icmp4.cc:243: error: invalid use of undefined type `struct icmphdr'
Icmp4.cc:167: error: forward declaration of `struct icmphdr'
make[3]: *** [Icmp4.o] Error 1
make[3]: Leaving directory `/st/always/squid-3.1.12/src/icmp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/st/always/squid-3.1.12/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/st/always/squid-3.1.12/src'
make: *** [all-recursive] Error 1
st_at_sapphire:~/always/squid-3.1.12#

Am I missing something?

Ed
Received on Tue Apr 19 2011 - 09:19:55 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 19 2011 - 12:00:04 MDT