* BUG: build fail due to dependency issue (LIB80211_CRYPT_* failed to depend on LIB80211)
@ 2014-01-06 14:01 Andreas Mohr
2014-01-06 14:09 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mohr @ 2014-01-06 14:01 UTC (permalink / raw)
To: linux-wireless; +Cc: linux-kernel
Hi,
just had the following non-satisfactory build result here
(read: caused sizeable waste of time):
SORTEX vmlinux
SYSMAP System.map
Building modules, stage 2.
MODPOST 210 modules
ERROR: "lib80211_unregister_crypto_ops" [net/wireless/lib80211_crypt_wep.ko] undefined!
ERROR: "lib80211_register_crypto_ops" [net/wireless/lib80211_crypt_wep.ko] undefined!
ERROR: "lib80211_unregister_crypto_ops" [net/wireless/lib80211_crypt_tkip.ko] undefined!
ERROR: "lib80211_register_crypto_ops" [net/wireless/lib80211_crypt_tkip.ko] undefined!
ERROR: "lib80211_unregister_crypto_ops" [net/wireless/lib80211_crypt_ccmp.ko] undefined!
ERROR: "lib80211_register_crypto_ops" [net/wireless/lib80211_crypt_ccmp.ko] undefined!
make[5]: *** [__modpost] Error 1
make[4]: *** [modules] Error 2
This is due to net/wireless/Kconfig:
config LIB80211
tristate
default n
help
This options enables a library of common routines used
by IEEE802.11 wireless LAN drivers.
Drivers should select this themselves if needed.
config LIB80211_CRYPT_WEP
tristate
config LIB80211_CRYPT_CCMP
tristate
config LIB80211_CRYPT_TKIP
tristate
config LIB80211_DEBUG
bool "lib80211 debugging messages"
depends on LIB80211
default n
---help---
You can enable this if you want verbose debugging messages
from lib80211.
A
make menuconfig
showed these three crypt options rather very prominently,
yet with entry of LIB80211 proper nowhere to be seen,
thus it was very easy to fall into the trap of "enabling"
various crypto options, thereby "enabling" nice ultimate build failure.
And as you can see above as well, LIB80211_DEBUG decided to be
a law-abiding citizen, by caring to announce a proper dependency on LIB80211.
Happened on OpenWrt's 3.10.24, and verified Kconfig status to still be identical on linux trunk.
Thanks,
Andreas Mohr
--
GNU/Linux. It's not the software that's free, it's you.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG: build fail due to dependency issue (LIB80211_CRYPT_* failed to depend on LIB80211)
2014-01-06 14:01 BUG: build fail due to dependency issue (LIB80211_CRYPT_* failed to depend on LIB80211) Andreas Mohr
@ 2014-01-06 14:09 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2014-01-06 14:09 UTC (permalink / raw)
To: Andreas Mohr; +Cc: linux-wireless, linux-kernel
On Mon, 2014-01-06 at 15:01 +0100, Andreas Mohr wrote:
> config LIB80211
> tristate
> config LIB80211_CRYPT_WEP
> tristate
>
> config LIB80211_CRYPT_CCMP
> tristate
>
> config LIB80211_CRYPT_TKIP
> tristate
> make menuconfig
> showed these three crypt options rather very prominently,
Well, then your 'make menuconfig' is somehow broken - on mainline
options that have no prompt are not shown, and indeed 'make menuconfig'
on the current mainline kernel confirms that those options are not
possible to select manually.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-06 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06 14:01 BUG: build fail due to dependency issue (LIB80211_CRYPT_* failed to depend on LIB80211) Andreas Mohr
2014-01-06 14:09 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome