[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03159) IPv6 over IPv4 tunneling when IPv6 is configured as a module
- To: USAGI Users <usagi-users@xxxxxxxxxxxxxx>
- Subject: (usagi-users 03159) IPv6 over IPv4 tunneling when IPv6 is configured as a module
- From: Tushar Gohad <tgohad@xxxxxxxxxx>
- Date: Wed, 15 Dec 2004 11:09:42 -0700
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- User-agent: Mozilla Thunderbird 0.8 (X11/20041020)
Kernel build fails when IPv6 over IPv4 tunneling option is built
into the kernel and IPv6 is configured as a module.
Error Log:
net/network.o(.text+0x50092): In function `ipip_tunnel_xmit':
: undefined reference to `icmpv6_send'
net/network.o(.data+0x4180): undefined reference to `ipip6_rcv'
net/network.o(.data+0x4184): undefined reference to `ipip6_err'
make: *** [vmlinux] Error 1
net/ipv4/Config.in should use dep_tristate directive in place of
bool for CONFIG_NET_IPIP_IPV6 option to make sure tunneling is
built as a module when IPv6 is a module.
Suggested fix:
--- net/ipv4/Config.in 13 Nov 2003 00:29:09 -0000 1.3
+++ net/ipv4/Config.in 13 Dec 2004 21:34:26 -0000
@@ -28,9 +28,7 @@
fi
tristate ' IP: tunneling' CONFIG_NET_IPIP
if [ "$CONFIG_NET_IPIP" = "y" ]; then
- if [ "$CONFIG_IPV6" != "n" ]; then
- bool ' IP: IPv6 over IPv4 tunneling support (replaces sitXX
devices)' CONFIG_NET_IPIP_IPV6
- fi
+ dep_tristate ' IP: IPv6 over IPv4 tunneling support (replaces
sitXX devices)' CONFIG_NET_IPIP_IPV6 $CONFIG_IPV6
fi
tristate ' IP: GRE tunnels over IP' CONFIG_NET_IPGRE
if [ "$CONFIG_IP_MULTICAST" = "y" ]; then
- Tushar