[squid-users] compilation error

From: benjamin fernandis <benjo11111_at_gmail.com>
Date: Wed, 23 Nov 2011 10:04:18 +0530

Hi,

I am trying to compile squid code on Linux, compilation is done
properly but after that when i checked config.log , i can see some
errors and warning.So i wonder that does it related with OS side or
from squid side ?

my squid configuration paramters while compilation process:

Squid Cache: Version 3.1.16
configure options: '--prefix=/opt/squid/'
'--with-logdir=/var/log/squid/' '--with-pidfile=/var/run/squid.pid'
'--enable-icmp' '--enable-cache-digest' '--enable-forward-log'
'--enable-follow-x-forwarded-for' '--enable-snmp'
'--enable-linux-netfilter' '--enable-wccp2' '--enable-http-violations'
'--enable-storeio=aufs,ufs' '--with-large-files'
'--with-filedescriptors=22400' '--enable-async-io=128'
'--enable-removal-policies=lru,heap' '--enable-useragent-log'
'--enable-referer-log' '--enable-err-languages=English'
'--enable-default-err-language=English' '--enable-zph-qos'
'--enable-icap-client' --with-squid=/opt/squid-3.1.16
--enable-ltdl-convenience

cat config.log | grep -i warning

cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++
but not for C
configure:20134: WARNING: cppunit does not appear to be installed.
squid does not require this, but code testing with 'make check' will
fail.
conftest.c:246: warning: conflicting types for built-in function 'rint'
conftest.c:246: warning: conflicting types for built-in function 'rint'
conftest.c:246: warning: conflicting types for built-in function 'log'
/opt/squid-3.1.16/conftest.cpp:334: warning: the use of `tempnam' is
dangerous, better use `mkstemp'

cat config.log | grep -i error

conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
conftest.cpp:24:28: error: ac_nonexistent.h: No such file or directory
conftest.cpp:24:28: error: ac_nonexistent.h: No such file or directory
| /* Override any GCC internal prototype to avoid an error.
configure:15646: checking for dlerror
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
configure:16099: checking for error_t
conftest.cpp:38: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| if (sizeof ((error_t)))
conftest.cpp:76:18: error: ltdl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
conftest.cpp:76:16: error: dl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
conftest.cpp:76:20: error: sys/dl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
conftest.cpp:76:17: error: dld.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
conftest.cpp:76:25: error: mach-o/dyld.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| /* Override any GCC internal prototype to avoid an error.
configure:16646: checking for dlerror
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
conftest.cpp:110:25: error: sys/devpoll.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:77:25: error: sys/devpoll.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:78:25: error: sys/devpoll.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| perror("devpoll_create:");
conftest.c:88:28: error: ac_nonexistent.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:126:21: error: bstring.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:93:21: error: bstring.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:137:23: error: gnumalloc.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:104:23: error: gnumalloc.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:141:23: error: ip_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:108:23: error: ip_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:141:27: error: ip_fil_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:108:27: error: ip_fil_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:141:20: error: ip_fil.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:108:20: error: ip_fil.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:141:20: error: ip_nat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:108:20: error: ip_nat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:141:17: error: ipl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:108:17: error: ipl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:141:18: error: libc.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:108:18: error: libc.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:147:31: error: machine/byte_swap.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:114:31: error: machine/byte_swap.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:152:19: error: mount.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:119:19: error: mount.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:155:35: error: netinet/ip_fil_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:122:35: error: netinet/ip_fil_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:170:31: error: security/pam_appl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:137:31: error: security/pam_appl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:181:23: error: sys/bswap.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:148:23: error: sys/bswap.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:181:24: error: sys/endian.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:148:24: error: sys/endian.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:185:21: error: sys/md5.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:152:21: error: sys/md5.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/include/varargs.h:4:2: error:
#error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/include/varargs.h:5:2: error:
#error "Revise your code to use <stdarg.h>."
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/include/varargs.h:4:2: error:
#error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/include/varargs.h:5:2: error:
#error "Revise your code to use <stdarg.h>."
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:203:18: error: glib.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:170:18: error: glib.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:206:16: error: db.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:173:16: error: db.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:206:20: error: db_185.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:173:20: error: db_185.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:209:44: error: linux/netfilter_ipv4/ip_tproxy.h: No such
file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:233:31: error: netinet/ip_compat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:233:28: error: netinet/ip_fil.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:234:25: error: netinet/ipl.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:234:28: error: netinet/ip_nat.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:234:26: error: net/pf/pfvar.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:234:23: error: net/pfvar.h: No such file or directory
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:184: error: expected unqualified-id before '!' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:190: error: 'big' was not declared in this scope
conftest.cpp:190: error: expected ';' before 'endian'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:195: error: expected primary-expression before 'struct'
conftest.cpp:195: error: expected ')' before 'struct'
conftest.cpp:196: error: expected ')' before ';' token
conftest.cpp:196: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:197: error: 'struct mallinfo' has no member named 'mxfast'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:197: error: 'struct mallinfo' has no member named 'mxfast'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:196: error: expected primary-expression before 'struct'
conftest.cpp:196: error: expected ')' before 'struct'
conftest.cpp:197: error: expected ')' before ';' token
conftest.cpp:197: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:218: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:220: error: expected primary-expression before 'char'
conftest.cpp:220: error: expected ')' before 'char'
conftest.cpp:221: error: expected ')' before ';' token
conftest.cpp:221: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:222: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:224: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:226: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:228: error: expected primary-expression before 'short'
conftest.cpp:228: error: expected ')' before 'short'
conftest.cpp:229: error: expected ')' before ';' token
conftest.cpp:229: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:230: error: expected primary-expression before 'int'
conftest.cpp:230: error: expected ')' before 'int'
conftest.cpp:231: error: expected ')' before ';' token
conftest.cpp:231: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:232: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:234: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:236: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:238: error: expected primary-expression before 'long'
conftest.cpp:238: error: expected ')' before 'long'
conftest.cpp:239: error: expected ')' before ';' token
conftest.cpp:239: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:240: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:242: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:244: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:246: error: '__int64' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:246: error: expected primary-expression before 'long'
conftest.cpp:246: error: expected ')' before 'long'
conftest.cpp:247: error: expected ')' before ';' token
conftest.cpp:247: error: expected ')' before ';' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:248: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:250: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:254: error: 'pad128_t' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:254: error: 'upad128_t' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:254: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:255: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:257: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:258: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:260: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:261: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:262: error: 'uchar' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:245: error: expected primary-expression before ')' token
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:245: error: 'mtyp_t' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
conftest.cpp:248: error: 'struct sockaddr_in6' has no member named 'sin6_len'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:249: error: 'struct sockaddr_storage' has no member named 'ss_len'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:250: error: 'struct sockaddr_in' has no member named 'sin_len'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:261: error: 'dbopen' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
conftest.cpp:258: error: 'DB_HASH' was not declared in this scope
conftest.cpp:258: error: 'dbopen' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| /* Override any GCC internal prototype to avoid an error.
configure:25919: checking for strerror
conftest.cpp:306: error: 'setresuid' was not declared in this scope
conftest.cpp:307: error: 'perror' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_STRERROR 1
| perror("setresuid:");
conftest.cpp:312: error: invalid conversion from 'void*' to 'char*'
conftest.cpp:314: error: 'strnstr' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_STRERROR 1
conftest.cpp:317: error: cannot convert 'const char* const*' to
'char*' in initialization
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_STRERROR 1
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_STRERROR 1
conftest.cpp:335: error: '_res_ext' was not declared in this scope
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_STRERROR 1
conftest.cpp:339: error: 'struct __res_state' has no member named 'ns_list'
| #define HAVE_DLERROR 1
| #define HAVE_ERROR_T 1
| #define HAVE_DLERROR 1
| #define HAVE_STRERROR 1
config.status:1646: creating errors/Makefile
ac_cv_func_dlerror=yes
ac_cv_func_strerror=yes
ac_cv_type_error_t=yes
SQUID_CFLAGS='-Wall -Wpointer-arith -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror
-D_REENTRANT'
SQUID_CXXFLAGS='-Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Werror -D_REENTRANT'
#define HAVE_DLERROR 1
#define HAVE_ERROR_T 1
#define HAVE_DLERROR 1
#define HAVE_STRERROR 1

While configuring cache_dir option in squid.conf, what is the proper
value for L1 and L2.We are using aufs thread and we will using squid
box in heavy traffic ( concurrent users are 2000-2500). Is there any
formula or something to define L1 and L2 for cache_dir.

squid version: 3.1.16
os : centos 6 64 bit

Regards,
Benjamin
Received on Wed Nov 23 2011 - 04:34:26 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 23 2011 - 12:00:04 MST