Search squid archive

Error building 2.6STABLE15

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

 




I tried building 2.6.STABLE15 from source on a CentOS/Virtuozzo VPS (CentOS Enterprise 4.5 i686 and cPanel 11.11.0, if this is relevant) and received the following error during the "make all" step...

____________________

if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid-2.6/etc/ squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../ include -Wall -g -O2 -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c - o tools.o tools.c; \ then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/ tools.Tpo"; exit 1; fi
tools.c:49:28: sys/capability.h: No such file or directory
tools.c: In function `restoreCapabilities':
tools.c:1338: error: `cap_user_header_t' undeclared (first use in this function)
tools.c:1338: error: (Each undeclared identifier is reported only once
tools.c:1338: error: for each function it appears in.)
tools.c:1338: error: syntax error before "head"
tools.c:1339: error: `cap_user_data_t' undeclared (first use in this function)
tools.c:1341: error: `head' undeclared (first use in this function)
tools.c:1341: error: `_LINUX_CAPABILITY_VERSION' undeclared (first use in this function)
tools.c:1342: warning: implicit declaration of function `capget'
tools.c:1342: error: `cap' undeclared (first use in this function)
tools.c:1353: error: `CAP_NET_BIND_SERVICE' undeclared (first use in this function)
tools.c:1360: warning: implicit declaration of function `capset'
make[3]: *** [tools.o] Error 1
make[3]: Leaving directory `/opt/squid-2.6.STABLE15/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/squid-2.6.STABLE15/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/squid-2.6.STABLE15/src'
make: *** [all-recursive] Error 1

______________________


So I reverted to 2.6.STABLE14 and it builds with no error.

Ric




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

  Powered by Linux