DLM must depend on IPV6 || IPV6=n
PATCH 1/1 DLM must depend on IPV6 || IPV6=n
If you select something, you have to ensure that the dependencies of what you are selecting are fulfilled.
This patch fixes the following compile error with CONFIG_DLM=y and CONFIG_IPV6=m:
<-- snip -->
...
LD .tmp_vmlinux1net/built-in.o: In function `sctp_v6_err':
ipv6.c:(.text+0x8cb67): undefined reference to icmpv6_err_convert' ipv6.c:(.text+0x8cbad): undefined reference to in6_dev_finish_destroy' ipv6.c:(.text+0x8cc4b): undefined reference to icmpv6_statistics' net/built-in.o: In function sctp_v6_xmit':
ipv6.c:(.text+0x8ccfc): undefined reference to ipv6_addr_type' ipv6.c:(.text+0x8cfca): undefined reference to ip6_xmit'net/built-in.o: In function `sctp_v6_get_dst':
ipv6.c:(.text+0x8d031): undefined reference to ipv6_addr_type' ipv6.c:(.text+0x8d083): undefined reference to ip6_route_output' ipv6.c:(.text+0x8d4a7): undefined reference to ip6_route_output' net/built-in.o: In function sctp_v6_get_saddr':
ipv6.c:(.text+0x8d7a1): undefined reference to ipv6_get_saddr' net/built-in.o: In function sctp_v6_cmp_addr':
ipv6.c:(.text+0x8ddc0): undefined reference to ipv6_addr_type' ipv6.c:(.text+0x8de0d): undefined reference to ipv6_addr_type' ipv6.c:(.text+0x8de41): undefined reference to ipv6_addr_type' net/built-in.o: In function sctp_v6_available':
ipv6.c:(.text+0x8dee8): undefined reference to ipv6_addr_type' net/built-in.o: In function sctp_v6_addr_valid':
ipv6.c:(.text+0x8dfa2): undefined reference to ipv6_addr_type' net/built-in.o:ipv6.c:(.text+0x8e014): more undefined references to ipv6_addr_type' follow net/built-in.o: In function `sctp_v6_init':
: undefined reference to `inet6_add_protocol'net/built-in.o: In function `sctp_v6_init':
: undefined reference to `inet6_register_protosw'net/built-in.o: In function `sctp_v6_init':
: undefined reference to `inet6_register_protosw'net/built-in.o: In function `sctp_v6_init':
: undefined reference to `register_inet6addr_notifier'net/built-in.o: In function `sctp_v6_exit':
: undefined reference to `inet6_del_protocol'net/built-in.o: In function `sctp_v6_exit':
: undefined reference to `inet6_unregister_protosw'net/built-in.o: In function `sctp_v6_exit':
: undefined reference to `inet6_unregister_protosw'net/built-in.o: In function `sctp_v6_exit':
: undefined reference to `unregister_inet6addr_notifier'net/built-in.o: In function `sctp_v6_available':
ipv6.c:(.text+0x8df2a): undefined reference to ipv6_chk_addr' net/built-in.o:(.data+0x5e48): undefined reference to inet6_release' net/built-in.o:(.data+0x5e4c): undefined reference to inet6_bind' net/built-in.o:(.data+0x5e5c): undefined reference to inet6_getname' net/built-in.o:(.data+0x5e64): undefined reference to inet6_ioctl' net/built-in.o:(.data+0x5f04): undefined reference to ipv6_setsockopt' net/built-in.o:(.data+0x5f08): undefined reference to `ipv6_getsockopt'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
---
This patch was already sent on:
- 30 Jul 2005
drivers/dlm/Kconfig renamed from drivers/dlm/Kconfig.old +1 -0
@@ -3,6 +3,7 @@ config DLM tristate "Distributed Lock Manager (DLM)" + depends on IPV6 || IPV6=n select IP_SCTP help A general purpose distributed lock manager for kernel or userspace
Quoted 2 lines · Adrian Bunk
This patch fixes the following compile error with
CONFIG_DLM=yandCONFIG_IPV6=m:
[...]
drivers/dlm/Kconfig line 9
Quoted 10 lines
drivers/dlm/Kconfig renamed from drivers/dlm/Kconfig.old +1
-0@@ -3,6 +3,7 @@ config DLM tristate "Distributed Lock Manager (DLM)" + depends on IPV6 || IPV6=n select IP_SCTP help A general purpose distributed lock manager for kernel or userspace
Why don't you allow modular builds of both? ...or aren't the IPv6 symbols exported?
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 10 lines · Jan-Benedict Glaw
Quoted 2 lines · Adrian Bunk
This patch fixes the following compile error with
CONFIG_DLM=yandCONFIG_IPV6=m:[...]
Quoted 4 lines
drivers/dlm/Kconfig renamed from drivers/dlm/Kconfig.old +0
-0@@ -3,6 +3,7 @@
Quoted 9 lines
drivers/dlm/Kconfig line 9
Quoted 6 lines
drivers/dlm/Kconfig renamed from drivers/dlm/Kconfig.old +1
-0config DLM tristate "Distributed Lock Manager (DLM)" + depends on IPV6 || IPV6=n select IP_SCTP help A general purpose distributed lock manager for kernel or userspaceWhy don't you allow modular builds of both? ...or aren't the IPv6 symbols exported?
Modular builds of both are supported.
CONFIG_DLM=y and CONFIG_IPV6=m is the evil combination since CONFIG_IP_SCTP=y and CONFIG_IPV6=m doesn't compile.
Quoted 1 line
MfG, JBG
cu
Adrian
BTW: Please don't strip people from replies.
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed