On 07/15/2010 01:20 AM, Amos Jeffries wrote: > n...@squid-cache.org wrote: >> See >> <http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/327/changes> >> >> >> Changes: >> >> [Amos Jeffries <amosjeffr...@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.
Interesting (and thank you for checking!). I thought it is not defined there at all. My plan was to disable SMP support in that environment (see Subject: SMP portability). I should be able to work on that in a few days. Alex.