DNS Workshop

Saturday Feb 08, 2014

Compiling BIND 9.9.5 on OpenBSD

while compiling BIND 9 Version 9.9.5 on OpenBSD, I've got

making all in /usr/src/bind-9.9.5/lib/lwres/unix/include/lwres
gcc  -I/usr/src/bind-9.9.5 -I./unix/include  -I. -I./include -I./include
- -I/usr/src/bind-9.9.5/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
- -g -O2   -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings
- -Wformat -Wpointer-arith -fno-strict-aliasing  -c gethost.c
gethost.c: In function `copytobuf':
gethost.c:307: error: `uintptr_t' undeclared (first use in this function)
gethost.c:307: error: (Each undeclared identifier is reported only once
gethost.c:307: error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/bind-9.9.5/lib/lwres.
*** Error code 1

Stop in /usr/src/bind-9.9.5/lib (line 103 of Makefile).
*** Error code 1

Stop in /usr/src/bind-9.9.5 (line 107 of Makefile).
adding
#ifdef HAVE_INTTYPES_H
#include <inttypes.h> /* uintptr_t */
#endif

to the file <bind9-source>/lib/lwres/gethost.c fixes this issue (type "uintptr_t" not known). This issue has been reported upstream to ISC and will be fixed in the next BIND 9 release.

Comments:

Post a Comment:
  • HTML Syntax: Allowed

Calendar

Feeds

Search

Links

Navigation