Search squid archive

Failed Compile squid3.2.0.10 under Solaris10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Mem:8GB
HDD:3TB
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
:
<snip>
:
/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-3.2.0.10/src/ipc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/work/squid-3.2.0.10/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/work/squid-3.2.0.10/src'
gmake: *** [all-recursive] Error 1

=============================================================
  Information-system part.
  Sankei-Koumuten Co.,Ltd.
  Yuuichi Ikeda
  Mail:yuichi@xxxxxxxxxx
  Tel.+81-3-3623-6474  Fax.+81-3-3623-6475
  Our company promotes "Team minus 6 percent"
  jus, Hatena Joined member.
  LPIC-2 Certified.
=============================================================




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux