ipv6 only host - problems (5.2-current)

From: Eugene <eugene3_at_web.de>
Date: Thu, 18 Dec 2003 18:12:14 +0100
hi,

i try to set up an ipv6 only freebsd 5.2-current system.

the fist issue is with the kernel:

i dont want an ip dual-stack, i want an ipv6-only ip stack...

so i confed my kernel like this:

#options        INET
options         INET6

and goit the following error when build kernel with

make kernel KERNCONF=... (world and kernel were up to date before):

[...]
cc -c -O -pipe -march=pentium2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/
sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/
src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/
sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  /usr/src/sys/net/if.c
cc -c -O -pipe -march=pentium2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/
sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/
src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/
sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  /usr/src/sys/net/
if_ethersubr.c
/usr/src/sys/net/if_ethersubr.c: In function `ether_resolvemulti':
/usr/src/sys/net/if_ethersubr.c:960: warning: unused variable `sin'
*** Error code 1

Stop in /usr/obj/usr/src/sys/DIANA.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-- possible bugfix : --

so i went on, and tried a work around by fixing: if_ethersubr.c
i just did #ifdef INET / #endif around the declaration of *sin
as it seems logical ?!

--

then i tried to compile the kernel again...
well it compiled everything,
but after that in the link-phase (99% finished) it went wrong...

[...]
/usr/src/sys/netinet6/udp6_usrreq.c:695: undefined reference to `inetsw'
udp6_usrreq.o: In function `udp6_send':
/usr/src/sys/netinet6/udp6_usrreq.c:750: undefined reference to `ip_protox'
/usr/src/sys/netinet6/udp6_usrreq.c:750: undefined reference to `inetsw'
udp6_usrreq.o:/usr/src/sys/netinet6/udp6_usrreq.c:147: undefined reference to 
`udp_shutdown'
udp6_usrreq.o: In function `udp6_input':
/usr/src/sys/netinet6/udp6_usrreq.c:154: undefined reference to 
`in_pcbsosetlabel'
*** Error code 1

Stop in /usr/obj/usr/src/sys/DIANA.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

--------

the other issue is that cvsup doesnt support ipv6, seems as no one likes 
modula source code, including me ;-)

syncvs supports it, but cant handle module checkouts... and i only wanna fetch 
src and ports, not the whole cvs server up and down ;-)

i dont know if this should be placed in this mailinglist, but where should i 
place it then?

so i still must find a good way to stay in sync with cvs with ipv6-only 
config... lets see...

Eugene
Received on Thu Dec 18 2003 - 08:10:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:34 UTC