failing to make OSX

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Thu May 24 00:32:17 UTC 2001


	It sounds like 10.0.3 has IPv6 support.
	Add a "#define HAS_INET6_STRUCTS 1" to port_after.h before the
	#ifndef HAS_INET6_STRUCTS.


	Mark
> 
> I have attempted to compile bind 8.2.4 on a Mac running OSX ver 10.0.3, 
> and am getting an error that indicates and issue with IPv6. (error 
> pasted below). Can anyone help. I've tried going in and editing line 52 
> of port_after, and adding in a semicolon, but no joy there. Any ideas, 
> anyone done this successfully?
> 
> thanks,
> stmodell
> 
> [localhost:local/src/bind8] root# make
> Making /usr/local/src/bind8/.systype
> Making .settings
> /usr/local/src/bind8/include
> /usr/local/src/bind8/include/arpa
> make[2]: Nothing to be done for `all'.
> /usr/local/src/bind8/include/isc
> make[2]: Nothing to be done for `all'.
> /usr/local/src/bind8/port
> /usr/local/src/bind8/port/darwin
> /usr/local/src/bind8/port/darwin/include
> /usr/local/src/bind8/port/darwin/include/sys
> make[4]: Nothing to be done for `all'.
> cc  -O2 -g -I../../port/darwin/include -I../../include -c noop.c
> ld -x -r noop.o &&  mv a.out noop.o
> ar cru ../../lib/libbind.a  noop.o
> ranlib  ../../lib/libbind.a
> /usr/local/src/bind8/lib
> /usr/local/src/bind8/lib/resolv
> if test ! -d threaded ; then mkdir threaded ; else true ; fi
> cc -I../../port/darwin/include -I../../include -O2 -g  -D_REENTRANT -c 
> herror.c \
>   -o threaded/herror.o
> ../../port/darwin/include/port_after.h:52: undefined type, found 
> `__u6_addr'
> ../../port/darwin/include/port_after.h:52: illegal member declaration, 
> missing name, found `.'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> In file included from herror.c:71:
> ../../port/darwin/include/port_after.h:51: redefinition of `struct 
> in6_addr'
> /usr/include/netinet6/in6.h:126: previous definition of `struct in6_addr'
> ../../port/darwin/include/port_after.h:52: warning: useless keyword or 
> type name in empty declaration
> ../../port/darwin/include/port_after.h:52: warning: empty declaration
> ../../port/darwin/include/port_after.h:52: parse error before `__u6_addr'
> ../../port/darwin/include/port_after.h:52: warning: no semicolon at end 
> of struct or union
> ../../port/darwin/include/port_after.h:56: redefinition of `struct 
> sockaddr_in6'
> /usr/include/netinet6/in6.h:145: previous definition of `struct 
> sockaddr_in6'
> make[2]: *** [herror.o] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list