<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I was trying to upgrade BIND and suddenly ran into this error with both version of bind I was upgrading to.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>CentOS release 4.9 (Final)<o:p></o:p></p><p class=MsoNormal>2.6.9-103.ELsmp<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any help is appreciated. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>paul<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>os.c:166: error: syntax error before "caps"<o:p></o:p></p><p class=MsoNormal>os.c: In function `linux_setcaps':<o:p></o:p></p><p class=MsoNormal>os.c:185: warning: implicit declaration of function `cap_set_proc'<o:p></o:p></p><p class=MsoNormal>os.c:185: error: `caps' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:185: error: (Each undeclared identifier is reported only once<o:p></o:p></p><p class=MsoNormal>os.c:185: error: for each function it appears in.)<o:p></o:p></p><p class=MsoNormal>os.c: In function `linux_initialprivs':<o:p></o:p></p><p class=MsoNormal>os.c:242: error: `cap_t' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:242: error: syntax error before "caps"<o:p></o:p></p><p class=MsoNormal>os.c:245: error: `cap_value_t' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:255: error: `caps' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:255: warning: implicit declaration of function `cap_init'<o:p></o:p></p><p class=MsoNormal>os.c:255: error: `curcaps' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:255: warning: implicit declaration of function `cap_get_proc'<o:p></o:p></p><p class=MsoNormal>os.c:260: error: `capval' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:260: error: `cap_flag_value_t' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:260: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:260: warning: implicit declaration of function `cap_get_flag'<o:p></o:p></p><p class=MsoNormal>os.c:260: error: `CAP_PERMITTED' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:260: error: `curval' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:260: warning: implicit declaration of function `cap_set_flag'<o:p></o:p></p><p class=MsoNormal>os.c:260: error: `CAP_EFFECTIVE' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:260: error: `CAP_SET' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:265: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:274: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:280: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:286: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:295: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:301: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:306: warning: implicit declaration of function `cap_free'<o:p></o:p></p><p class=MsoNormal>os.c: In function `linux_minprivs':<o:p></o:p></p><p class=MsoNormal>os.c:312: error: `cap_t' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:312: error: syntax error before "caps"<o:p></o:p></p><p class=MsoNormal>os.c:315: error: `cap_value_t' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:320: error: `caps' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:320: error: `curcaps' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:329: error: `capval' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:329: error: `cap_flag_value_t' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:329: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>os.c:329: error: `CAP_PERMITTED' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:329: error: `curval' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:329: error: `CAP_EFFECTIVE' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:329: error: `CAP_SET' undeclared (first use in this function)<o:p></o:p></p><p class=MsoNormal>os.c:338: error: syntax error before "curval"<o:p></o:p></p><p class=MsoNormal>make[3]: *** [os.o] Error 1<o:p></o:p></p><p class=MsoNormal>make[3]: Leaving directory `/root/downloads/bind-9.9.4/bin/named/unix'<o:p></o:p></p><p class=MsoNormal>make[2]: *** [subdirs] Error 1<o:p></o:p></p><p class=MsoNormal>make[2]: Leaving directory `/root/downloads/bind-9.9.4/bin/named'<o:p></o:p></p><p class=MsoNormal>make[1]: *** [subdirs] Error 1<o:p></o:p></p><p class=MsoNormal>make[1]: Leaving directory `/root/downloads/bind-9.9.4/bin'<o:p></o:p></p><p class=MsoNormal>make: *** [subdirs] Error 1<o:p></o:p></p></div></body></html>