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

From: Yuuichi Ikeda \(SKLC\) <yuichi_at_sklc.co.jp>
Date: Mon, 29 Aug 2011 23:36:07 +0900

Hi, I'm Yuuichi Ikeda from Japan User.

Can't compile Squid3.2.0.11., The person who knows the cause, please teach.

OS:Solaris 10 9/10 s10x_u9wos_14a X86
gcc:gcc (GCC) 4.1.2

configure:./configure --with-openssl=/unsupported/openssl

Build on Squid3.2.11 Solaris10 error occurred while compiling TypedMsgHdr.cc
and it was not possible to compile though the compilation failed.

When someone knowing the solution comes, could you teach?

# gmake
/usr/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -DDEFAULT_STATEDIR=\"/unsupported/squid3/var/run/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/unsupported/openssl/include -I/usr/include/libxml2 -I/unsupported/gcc/include -I/unsupported/cyrus-sasl/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -pthreads -D_FILE_OFFSET_BITS=64 -g -O2 -MT TypedMsgHdr.lo -MD -MP -MF .deps/TypedMsgHdr.Tpo -c -o TypedMsgHdr.lo TypedMsgHdr.cc
libtool: compile: g++ -DHAVE_CONFIG_H -DDEFAULT_STATEDIR=\"/unsupported/squid3/var/run/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/unsupported/openssl/include -I/usr/include/libxml2 -I/unsupported/gcc/include -I/unsupported/cyrus-sasl/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -pthreads -D_FILE_OFFSET_BITS=64 -g -O2 -MT TypedMsgHdr.lo -MD -MP -MF .deps/TypedMsgHdr.Tpo -c TypedMsgHdr.cc -fPIC -DPIC -o .libs/TypedMsgHdr.o
TypedMsgHdr.cc: In member function 'void Ipc::TypedMsgHdr::address(const sockaddr_un&)':
TypedMsgHdr.cc:78: error: 'SUN_LEN' was not declared in this scope
gmake[3]: *** [TypedMsgHdr.lo] Error 1
gmake[3]: Leaving directory `/work/squid-'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/work/squid-'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/work/squid-'
gmake: *** [all-recursive] Error 1

  Information-system part.
  Sankei-Koumuten Co.,Ltd.
  Yuuichi Ikeda
  Tel.+81-3-3623-6474 Fax.+81-3-3623-6475
  Our company promotes "Team minus 6 percent"
  jus, Hatena Joined member.
  LPIC-2 Certified.
Received on Mon Aug 29 2011 - 14:36:14 MDT

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