* [-mm patch] DLM must depend on IPV6 || IPV6=n
@ 2005-07-30 14:12 Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2005-07-30 14:12 UTC (permalink / raw)
To: Dave Teigland; +Cc: Patrick Caulfield, linux-kernel
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_vmlinux1
net/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 -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig.old 2005-07-30 14:07:12.000000000 +0200
+++ linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig 2005-07-30 14:07:41.000000000 +0200
@@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [-mm patch] DLM must depend on IPV6 || IPV6=n
@ 2005-08-09 15:50 Adrian Bunk
2005-08-09 15:58 ` Jan-Benedict Glaw
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2005-08-09 15:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: Dave Teigland, Patrick Caulfield, linux-kernel
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_vmlinux1
net/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 -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 30 Jul 2005
--- linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig.old 2005-07-30 14:07:12.000000000 +0200
+++ linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig 2005-07-30 14:07:41.000000000 +0200
@@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [-mm patch] DLM must depend on IPV6 || IPV6=n
2005-08-09 15:50 Adrian Bunk
@ 2005-08-09 15:58 ` Jan-Benedict Glaw
2005-08-12 0:50 ` Adrian Bunk
0 siblings, 1 reply; 4+ messages in thread
From: Jan-Benedict Glaw @ 2005-08-09 15:58 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
On Tue, 2005-08-09 17:50:01 +0200, Adrian Bunk <bunk@stusta.de> wrote:
> This patch fixes the following compile error with CONFIG_DLM=y and
> CONFIG_IPV6=m:
[...]
> --- linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig.old 2005-07-30 14:07:12.000000000 +0200
> +++ linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig 2005-07-30 14:07:41.000000000 +0200
> @@ -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
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +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));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [-mm patch] DLM must depend on IPV6 || IPV6=n
2005-08-09 15:58 ` Jan-Benedict Glaw
@ 2005-08-12 0:50 ` Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2005-08-12 0:50 UTC (permalink / raw)
To: Jan-Benedict Glaw, linux-kernel
On Tue, Aug 09, 2005 at 05:58:27PM +0200, Jan-Benedict Glaw wrote:
> On Tue, 2005-08-09 17:50:01 +0200, Adrian Bunk <bunk@stusta.de> wrote:
> > This patch fixes the following compile error with CONFIG_DLM=y and
> > CONFIG_IPV6=m:
>
> [...]
>
> > --- linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig.old 2005-07-30 14:07:12.000000000 +0200
> > +++ linux-2.6.13-rc3-mm3-modular/drivers/dlm/Kconfig 2005-07-30 14:07:41.000000000 +0200
> > @@ -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?
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.
> MfG, JBG
cu
Adrian
BTW: Please don't strip people from replies.
--
"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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-12 0:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30 14:12 [-mm patch] DLM must depend on IPV6 || IPV6=n Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-08-09 15:50 Adrian Bunk
2005-08-09 15:58 ` Jan-Benedict Glaw
2005-08-12 0:50 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox