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

From: Yuuichi Ikeda \(SKLC\) <yuichi_at_sklc.co.jp>
Date: Mon, 22 Aug 2011 10:49:28 +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
Mem:8GB
HDD:3TB
gcc:gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

configure:./configure

Build on Squid3.2.10 Solaris10 error occurred while compiling gnuRegex next,
and it was not possible to compile though the compilation failed at first
because of the Kerberos library.

When someone knowing the solution comes, could you teach?

# gmake
Making all in compat
gmake[1]: Entering directory `/work/squid-3.2.0.10/compat'
gcc -DHAVE_CONFIG_H -I.. -I../include -I../lib -I../src -I../include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -pipe -D_REENTRANT -pthreads -MT GnuRegex.o -MD -MP -MF .deps/GnuRegex.Tpo -c -o GnuRegex.o GnuRegex.c
In file included from ../compat/compat_shared.h:218,
                 from ../compat/compat.h:85,
                 from ../include/config.h:68,
                 from GnuRegex.c:35:
../compat/xstrto.h:24: error: syntax error before "xstrtoul"
../compat/xstrto.h:25: warning: type defaults to `int' in declaration of `xstrtoul'
../compat/xstrto.h:25: warning: data definition has no type or storage class
../compat/xstrto.h:27: error: syntax error before "xstrtoui"
../compat/xstrto.h:28: warning: type defaults to `int' in declaration of `xstrtoui'
../compat/xstrto.h:28: warning: data definition has no type or storage class
gmake[1]: *** [GnuRegex.o] Error 1
gmake[1]: Leaving directory `/work/squid-3.2.0.10/compat'
gmake: *** [all-recursive] Error 1

=============================================================
  Information-system part.
  Sankei-Koumuten Co.,Ltd.
  Yuuichi Ikeda
  Mail:yuichi_at_sklc.co.jp
  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 22 2011 - 01:49:31 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 22 2011 - 12:00:02 MDT