Re: [squid-users] Failed Compile squid3.2.0.11 for Solaris10

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 30 Aug 2011 17:28:17 +1200

On 30/08/11 02:36, Yuuichi Ikeda (SKLC) wrote:
> Hi, I'm Yuuichi Ikeda from Japan User.
>
> Can't compile Squid3.2.0.11., The person who knows the cause, please teach.

Squid Beta release compile problems to bugzilla or the squid-dev mailing
list please.

Bugzilla is probably the best place for this report.

>
> OS:Solaris 10 9/10 s10x_u9wos_14a X86
> Mem:8GB
> HDD:3TB
> gcc:gcc (GCC) 4.1.2
> gcc-prefix:/unsupported/gcc
>
> configure:./configure --with-openssl=/unsupported/openssl
>
> Build on Squid3.2.11 Solaris10 error occurred while compiling TypedMsgHdr.cc
> next,
> and it was not possible to compile though the compilation failed.
>
> When someone knowing the solution comes, could you teach?
>

The problems is exactly what the compiler stated:

> TypedMsgHdr.cc:78: error: 'SUN_LEN' was not declared in this scope

Solaris does not provide SUN_LEN via any of the system headers Squid is
expecting it.

Please run:
    grep -R "define SUN_LEN" /usr/include

changing /usr/include to whatever folder your system header files are
located in.

If there is anything found please add it to your bug report.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.10
Received on Tue Aug 30 2011 - 05:28:24 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 30 2011 - 12:00:02 MDT