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

Reply via email to