[squid-users] Failed Compile squid3.2.0.10 under Solaris10

From: Yuuichi Ikeda \(SKLC\) <yuichi_at_sklc.co.jp>
Date: Tue, 23 Aug 2011 23:10:21 +0900

Hi, I'm Yuuichi Ikeda from Japan User.
Can't compile Squid3.2.0.10., The person who knows the cause, please teach.

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

configure:env CC=/unsupported/gcc/bin/gcc CXX=/unsupported/gcc/bin/g++ ./configure --with-openssl=/unsupported/openssl

Build on Squid3.2.10 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?

# gmake
/bin/bash ../../libtool --tag=CXX --mode=compile /unsupported/gcc/bin/g++ -DHAVE_CONFIG_H -DDEFAULT_STATEDIR=\"/usr/local/squid/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/gssapi -I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -fhuge-objects -pipe -D_REENTRANT -pthreads -g -O2 -MT TypedMsgHdr.lo -MD -MP -MF .deps/TypedMsgHdr.Tpo -c -o TypedMsgHdr.lo TypedMsgHdr.cc
libtool: compile: /unsupported/gcc/bin/g++ -DHAVE_CONFIG_H -DDEFAULT_STATEDIR=\"/usr/local/squid/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/gssapi -I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -fhuge-objects -pipe -D_REENTRANT -pthreads -g -O2 -MT TypedMsgHdr.lo -MD -MP -MF .deps/TypedMsgHdr.Tpo -c TypedMsgHdr.cc -fPIC -DPIC -o .libs/TypedMsgHdr.o
g++: warning: switch '-fhuge-objects' is no longer supported
TypedMsgHdr.cc: In member function 'void Ipc::TypedMsgHdr::address(const sockaddr_un&)':
TypedMsgHdr.cc:78:32: 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 Tue Aug 23 2011 - 14:10:25 MDT

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