Re: Build failed in Hudson: 3.HEAD-i386-opensolaris-SunStudioCc #327

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 15 Jul 2010 19:20:34 +1200

noc_at_squid-cache.org wrote:
> See <http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/327/changes>
>
> Changes:
>
> [Amos Jeffries <amosjeffries_at_squid-cache.org>] Remove .so from SASL build checks
>
> We definitely require the .a and .la files to build against SASL libraries.
> The run-time .so is only relevant later.
>
> ------------------------------------------
> [...truncated 3622 lines...]
<snip>
> libtool: compile: ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H "-DDEFAULT_PREFIX=\"<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst\""> -I../../.. -I../../../include -I../../../src -I../../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I/usr/include/gssapi -I/usr/include/kerberosv5 -D_REENTRANT -g -c ../../../src/ipc/Kids.cc -o Kids.o >/dev/null 2>&1
> "../../../src/ipc/TypedMsgHdr.h", line 66: Error: The function "CMSG_SPACE" must have a prototype.
> "../../../src/ipc/TypedMsgHdr.h", line 66: Error: An integer constant expression is required within the array subscript operator.
> 2 Error(s) detected.
<snip>

There is something a little funky going on here.

Ive confirmed that CMSG_SPACE macro is defined in
/usr/include/sys/socket.h on the build OS, but for some reason it is not
being included, or the define of HAVE_ is not working.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.5
Received on Thu Jul 15 2010 - 07:20:48 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 15 2010 - 12:00:09 MDT