All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Dave Teigland <teigland@redhat.com>
Cc: Patrick Caulfield <pcaulfie@redhat.com>, linux-kernel@vger.kernel.org
Subject: [-mm patch] DLM must depend on IPV6 || IPV6=n
Date: Sat, 30 Jul 2005 16:12:50 +0200	[thread overview]
Message-ID: <20050730141250.GH5590@stusta.de> (raw)

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


             reply	other threads:[~2005-07-30 14:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-30 14:12 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-09 15:50 [-mm patch] DLM must depend on IPV6 || IPV6=n Adrian Bunk
2005-08-09 15:58 ` Jan-Benedict Glaw
2005-08-12  0:50   ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050730141250.GH5590@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pcaulfie@redhat.com \
    --cc=teigland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.