All of lore.kernel.org
 help / color / mirror / Atom feed
* Build error v3.9-rc when CONFIG_IPV6 configured as module
@ 2013-04-14  9:45 Tomas Melin
  2013-04-15  9:02 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Melin @ 2013-04-14  9:45 UTC (permalink / raw)
  To: johannes, davem; +Cc: netdev

It seems CONFIG_IPV6 cannot be built as a module, using "m"-option
leads to to the following linking error:

net/built-in.o: In function `ieee80211_unregister_hw':
(.text+0x10f0e1): undefined reference to `unregister_inet6addr_notifier'
net/built-in.o: In function `ieee80211_register_hw':
(.text+0x10f610): undefined reference to `register_inet6addr_notifier'
make: *** [vmlinux] Error 1

This happens since the caller net/mac80211/main.c is statically built
in but net/ipv6/addrconf.c is then built as a module. Is this expected
behaviour or should it be fixed?

Configuration:  v3.9-rc6 with defconfig but ipv6 set to be a module
instead of built in.

-Tomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-15 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14  9:45 Build error v3.9-rc when CONFIG_IPV6 configured as module Tomas Melin
2013-04-15  9:02 ` Johannes Berg
2013-04-15  9:04   ` Johannes Berg
2013-04-15  9:05     ` Johannes Berg
2013-04-15 17:30       ` David Miller
2013-04-15 18:12         ` Johannes Berg

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.