Why the --disable-ipv6 option does not work?

won seok wsbaek at empal.com
Thu Jun 10 07:54:09 UTC 2004


Dear Edvard

Thank you for your advice. 
According to your opinion, I tried to compile the kernel again to
exclude the IPv6 function.
But unfortunately it gave me another problem. I must have more skill
to compile the kernel.
So, I decided to modify the configure file of the Bind9 so as not to
detect the ipv6 functionality. It seemed to succeed. It shows "no" at
checking ipv6 releated function. But the compilation of the bind9
still showed any errors.
..........................
gmake[4]: Enter `/root/bind-9.3.0beta4/lib/isc/unix/include' directory
/export/ADM5120/mipsel-linux-uclibc/bin/mipsel-uclibc-gcc  -g -O2
-I/root/bind-9.3.0beta4 -I./include -I./../nothreads/include
-I../include -I./../include -I./..      -W -Wall -Wmissing-prototypes
-Wcast-qual -Wwrite-strings -Wformat  -c interfaceiter.c
In file included from include/isc/net.h:90,
                 from ../include/isc/netaddr.h:24,
                 from ../include/isc/interfaceiter.h:46,
                 from interfaceiter.c:33:
../include/isc/ipv6.h:63: redefinition of `struct in6_addr'
../include/isc/ipv6.h:81: redefinition of `struct sockaddr_in6'
In file included from ../include/isc/netaddr.h:24,
                 from ../include/isc/interfaceiter.h:46,
                 from interfaceiter.c:33:
include/isc/net.h:172: redefinition of `struct in6_pktinfo'
gmake[3]: *** [interfaceiter.o] error 1
gmake[3]: Exit `/root/bind-9.3.0beta4/lib/isc/unix' directory
gmake[2]: *** [subdirs] error 1
gmake[2]: Exit `/root/bind-9.3.0beta4/lib/isc' directory
gmake[1]: *** [subdirs] error 1
gmake[1]: Exit `/root/bind-9.3.0beta4/lib' directory
gmake: *** [subdirs] error 1
[~/bind-9.3.0beta4]
........................
What's the problem? 

I appreciate your help. 


Best Regards. 




Edvard Tuinder <listbind at lunytune.nl> wrote in message news:<ca8da8$3qp$1 at sf1.isc.org>...
> According to won seok:
> > Hi. 
> > 
> > I think my linux pc is able to operate ipv6. 
> > But I want to build the bind9 without ipv6 support. 
> > I tried several ways to do it like following. 
> > 
> > # ./configure --enable-ipv6=no
> > or
> > # ./configure --disable-ipv6
> > 
> > But both of the results are not my expected thing. 
> > ....................
> > checking for IPv6 structures... yes
> > checking for Kame IPv6 support... no
> > checking for in6_addr... yes
> > checking for in6addr_any... yes
> > checking for in6addr_loopback... yes
> > checking for sin6_scope_id in struct sockaddr_in6... yes
> > checking for in6_pktinfo... yes
> > ....................
> > 
> > What shall I do? 
> > 
> > Please response to me. 
> 
> You should do nothing. --disable-ipv6 is not a valid option, so the
> configuration script will ignore it.
> 
> If you do not want to use IPv6, make sure that your system has no
> IPv6 interfaces. Bind will then not do anything with IPv6. You can
> also specifically disable all IPv6 support by using listen-on-v6 {  none; };
> within the options field in your named.conf.
> 
> -Ed


More information about the bind-users mailing list