Re: [squid-users] building 3.1.12

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 19 Apr 2011 21:39:16 +1200

On 19/04/11 21:19, cc wrote:
> 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'
<snip many repetitions on the problem>
>
> Am I missing something?

Some required header is not being found.

What operating system and compiler is this happening with please?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.6
Received on Tue Apr 19 2011 - 09:39:25 MDT

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