error compiling bind 9.5.1 with static

mingdawang wangmd0127 at gmail.com
Mon Jan 5 09:37:58 UTC 2009


I'm trying to install bind 9.5.1 on redhat as 4.5, but i am having problems
with the configure statement:

STD_CDEFINES='-DISC_MEM_USE_INTERNAL_MALLOC=1' ./configure
--prefix=/home/named --enable-epoll --disable-threads --enable-largefile
--disable-ipv6 --with-openssl=yes CFLAGS='-static -march=pentium4 -O2 -pipe'

make[3]: Entering directory `/home/wangmd/bind-9.5.1/bin/named/unix'
gcc  -I/home/wangmd/bind-9.5.1 -I./include -I./../include
-I/home/wangmd/bind-9.5.1/lib/dns/include -I../../../lib/dns/include
-I/home/wangmd/bind-9.5.1/lib/isc/include -I../../../lib/isc
-I../../../lib/isc/include -I../../../lib/isc/unix/include
-I../../../lib/isc/nothreads/include -I../../../lib/isc/x86_32/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DISC_MEM_USE_INTERNAL_MALLOC=1
-D_GNU_SOURCE -static -march=pentium4 -O2 -pipe -I/usr/include/libxml2  -W
-Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat
-Wpointer-arith -fno-strict-aliasing  -c os.c
os.c:158: error: conflicting types for 'cap_t'
/usr/include/sys/capability.h:44: error: previous declaration of 'cap_t' was
here
os.c: In function `linux_setcaps':
os.c:184: error: `SYS_capset' undeclared (first use in this function)
os.c:184: error: (Each undeclared identifier is reported only once
os.c:184: error: for each function it appears in.)
make[3]: *** [os.o] Error 1

why?

Thanks in advance for your response!

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20090105/9ef49875/attachment.html>


More information about the bind-users mailing list