I am havin a problem compiling bind 9.2.4 on freebsd,


My ./configure line

../configure --datadir=/var/named --sysconfdir=/etc --disable-ipv6
--enable-libbind --enable-shared --with-openssl=yes


This is the errors i am getting.

making all in /usr/home/oneeye/downloads/bind-9.2.4/lib/bind/bsd
gcc -pthread -g -O2 -I/home/oneeye/downloads/bind-9.2.4/lib/bind
-I/home/oneeye/downloads/bind-9.2.4/lib/bind/make/../port/freebsd/include
-I.. -I./../include -D_REENTRANT -D_THREAD_SAFE -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -c daemon.c
In file included from daemon.c:45:
/home/oneeye/downloads/bind-9.2.4/lib/bind/port_after.h:253: conflicting
types for `getgrouplist'
/usr/include/unistd.h:142: previous declaration of `getgrouplist'
/home/oneeye/downloads/bind-9.2.4/lib/bind/port_after.h:364: warning:
`struct _TIMEZONE' declared inside parameter list
/home/oneeye/downloads/bind-9.2.4/lib/bind/port_after.h:364: warning: its
scope is only this definition or declaration, which is probably not what
you want.
*** Error code 1

Stop in /usr/home/oneeye/downloads/bind-9.2.4/lib/bind/bsd.
*** Error code 1

Stop in /usr/home/oneeye/downloads/bind-9.2.4/lib/bind.
*** Error code 1

Stop in /usr/home/oneeye/downloads/bind-9.2.4.
#