<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 12 (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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal">Having a very interesting error compiling BIND 9.9.4-rc1 on a Fedora Core 10 device:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">bind-9.9.4rc1/lib/isc/include -I../../../lib/isc -I../../../lib/isc/include -I../../../lib/isc/unix/include -I../../../lib/isc/pthreads/include -I../../../lib/isc/x86_32/include 
 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -D_GNU_SOURCE -march=native -O3  -I/usr/include/libxml2  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c os.c<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:166: error: expected ‘)’ before ‘caps’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c: In function ‘linux_initialprivs’:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:242: error: ‘cap_t’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:242: error: (Each undeclared identifier is reported only once<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:242: error: for each function it appears in.)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:242: error: expected ‘;’ before ‘caps’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:244: error: expected ‘;’ before ‘curcaps’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:245: error: ‘cap_value_t’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:245: error: expected ‘;’ before ‘capval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:255: error: ‘caps’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:255: warning: implicit declaration of function ‘cap_init’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:255: error: ‘curcaps’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:255: warning: implicit declaration of function ‘cap_get_proc’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: ‘capval’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: ‘cap_flag_value_t’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: warning: implicit declaration of function ‘cap_get_flag’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: ‘CAP_PERMITTED’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: ‘curval’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: warning: implicit declaration of function ‘cap_set_flag’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: ‘CAP_EFFECTIVE’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:260: error: ‘CAP_SET’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:265: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:274: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:280: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:286: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:295: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:301: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:303: warning: implicit declaration of function ‘linux_setcaps’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:306: warning: implicit declaration of function ‘cap_free’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c: In function ‘linux_minprivs’:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:312: error: ‘cap_t’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:312: error: expected ‘;’ before ‘caps’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:314: error: expected ‘;’ before ‘curcaps’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:315: error: ‘cap_value_t’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:315: error: expected ‘;’ before ‘capval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:320: error: ‘caps’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:320: error: ‘curcaps’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: ‘capval’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: ‘cap_flag_value_t’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: ‘CAP_PERMITTED’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: ‘curval’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: ‘CAP_EFFECTIVE’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:329: error: ‘CAP_SET’ undeclared (first use in this function)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">os.c:338: error: expected ‘;’ before ‘curval’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make[3]: *** [os.o] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make[3]: Leaving directory `/home/luther/bind-9.9.4rc1/bin/named/unix'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make[2]: *** [subdirs] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make[2]: Leaving directory `/home/luther/bind-9.9.4rc1/bin/named'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make[1]: *** [subdirs] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make[1]: Leaving directory `/home/luther/bind-9.9.4rc1/bin'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">make: *** [subdirs] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Configure was:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;
font-family:"Courier New"">env CFLAGS="-march=native -O3 $CFLAGS" ./configure --prefix=/usr/local/dns \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="font-size:8.0pt;font-family:"Courier New"">--sbindir=/usr/local/dns/bin --libexecdir=/usr/local/dns/bin \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="font-size:8.0pt;font-family:"Courier New"">--includedir=/usr/local/include --docdir=/usr/local/man --datarootdir=/usr/local \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="font-size:8.0pt;font-family:"Courier New"">--enable-largefile --enable-threads<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone encountered this before? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Arial","sans-serif";
color:#CC3333">Dan Luther</span></b><span style="color:#1F497D"><br>
</span><b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";
color:#7A7A7A">Level 3 Communications<br>
<br>
</span></b><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>