[squid-users] error compile squid2.6.stable1

From: tino <tino.kriswanto@dont-contact.us>
Date: Mon, 10 Jul 2006 12:04:44 +0700

Hi,
I just configure squid.2.6.stable1, (fedora4 & kernel 2.6.15.7 with cttproxy
patch) & get the following error :

tools.c:40:28: error: sys/capability.h: No such file or directory
tools.c: In function āleave_suidā:
tools.c:636: error: ācap_user_header_tā undeclared (first use in this
function)
tools.c:636: error: (Each undeclared identifier is reported only once
tools.c:636: error: for each function it appears in.)
tools.c:636: error: syntax error before āheadā
tools.c:637: error: ācap_user_data_tā undeclared (first use in this
function)
tools.c:639: error: āheadā undeclared (first use in this function)
tools.c:639: error: ā_LINUX_CAPABILITY_VERSIONā undeclared (first use in
this function)
tools.c:641: error: ācapā undeclared (first use in this function)
tools.c:641: error: āCAP_NET_ADMINā undeclared (first use in this function)
tools.c:641: error: āCAP_NET_BIND_SERVICEā undeclared (first use in this
function)
tools.c:641: error: āCAP_NET_BROADCASTā undeclared (first use in this
function)
tools.c:642: warning: implicit declaration of function ācapsetā

solved after copy capability.h from /usr/include/linux/ to
/usr/include/sys/

regards,
Tino
Received on Sun Jul 09 2006 - 23:04:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT