caps compiling error
Paul A
razor at meganet.net
Tue Nov 26 15:17:11 UTC 2013
I was trying to upgrade BIND and suddenly ran into this error with both
version of bind I was upgrading to.
I tried to compile, bind-9.9.4 and bind-9.8.6-P1 and I get a caps error, I
search the mailing archives and the web but didn't find much on this. As
anyone run into this and know what I'm missing.
I'm running an older kernel but I have never had issues on this machine
until now. Not sure if what header file im missing.
CentOS release 4.9 (Final)
2.6.9-103.ELsmp
Any help is appreciated.
paul
os.c:166: error: syntax error before "caps"
os.c: In function `linux_setcaps':
os.c:185: warning: implicit declaration of function `cap_set_proc'
os.c:185: error: `caps' undeclared (first use in this function)
os.c:185: error: (Each undeclared identifier is reported only once
os.c:185: error: for each function it appears in.)
os.c: In function `linux_initialprivs':
os.c:242: error: `cap_t' undeclared (first use in this function)
os.c:242: error: syntax error before "caps"
os.c:245: error: `cap_value_t' undeclared (first use in this function)
os.c:255: error: `caps' undeclared (first use in this function)
os.c:255: warning: implicit declaration of function `cap_init'
os.c:255: error: `curcaps' undeclared (first use in this function)
os.c:255: warning: implicit declaration of function `cap_get_proc'
os.c:260: error: `capval' undeclared (first use in this function)
os.c:260: error: `cap_flag_value_t' undeclared (first use in this function)
os.c:260: error: syntax error before "curval"
os.c:260: warning: implicit declaration of function `cap_get_flag'
os.c:260: error: `CAP_PERMITTED' undeclared (first use in this function)
os.c:260: error: `curval' undeclared (first use in this function)
os.c:260: warning: implicit declaration of function `cap_set_flag'
os.c:260: error: `CAP_EFFECTIVE' undeclared (first use in this function)
os.c:260: error: `CAP_SET' undeclared (first use in this function)
os.c:265: error: syntax error before "curval"
os.c:274: error: syntax error before "curval"
os.c:280: error: syntax error before "curval"
os.c:286: error: syntax error before "curval"
os.c:295: error: syntax error before "curval"
os.c:301: error: syntax error before "curval"
os.c:306: warning: implicit declaration of function `cap_free'
os.c: In function `linux_minprivs':
os.c:312: error: `cap_t' undeclared (first use in this function)
os.c:312: error: syntax error before "caps"
os.c:315: error: `cap_value_t' undeclared (first use in this function)
os.c:320: error: `caps' undeclared (first use in this function)
os.c:320: error: `curcaps' undeclared (first use in this function)
os.c:329: error: `capval' undeclared (first use in this function)
os.c:329: error: `cap_flag_value_t' undeclared (first use in this function)
os.c:329: error: syntax error before "curval"
os.c:329: error: `CAP_PERMITTED' undeclared (first use in this function)
os.c:329: error: `curval' undeclared (first use in this function)
os.c:329: error: `CAP_EFFECTIVE' undeclared (first use in this function)
os.c:329: error: `CAP_SET' undeclared (first use in this function)
os.c:338: error: syntax error before "curval"
make[3]: *** [os.o] Error 1
make[3]: Leaving directory `/root/downloads/bind-9.9.4/bin/named/unix'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/downloads/bind-9.9.4/bin/named'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/root/downloads/bind-9.9.4/bin'
make: *** [subdirs] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20131126/761335ac/attachment.html>
More information about the bind-users
mailing list