Skip to contentSkip to conversation

s390 allmodconfig

DISCUSSION Andrew Morton 4 participants 9 messages Mar 2, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Not sure who to blame for all of this...

net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 'BT_HIDP' refer to undefined symbol 'HID' net/mac80211/Kconfig:17:warning: 'select' used by config symbol 'MAC80211_LEDS' refer to undefined symbol 'NEW_LEDS' net/mac80211/Kconfig:18:warning: 'select' used by config symbol 'MAC80211_LEDS' refer to undefined symbol 'LEDS_TRIGGERS' drivers/net/Kconfig:1435:warning: 'select' used by config symbol 'B44' refer to undefined symbol 'SSB' drivers/net/wireless/bcm43xx/Kconfig:5:warning: 'select' used by config symbol 'BCM43XX' refer to undefined symbol 'HW_RANDOM' drivers/net/wireless/mac80211/bcm43xx/Kconfig:13:warning: 'select' used by config symbol 'BCM43XX_MAC80211_PCI' refer to undefined symbol 'SSB_PCIHOST' drivers/net/wireless/mac80211/bcm43xx/Kconfig:14:warning: 'select' used by config symbol 'BCM43XX_MAC80211_PCI' refer to undefined symbol 'SSB_DRIVER_PCICORE' drivers/net/wireless/mac80211/bcm43xx/Kconfig:27:warning: 'select' used by config symbol 'BCM43XX_MAC80211_PCMCIA' refer to undefined symbol 'SSB_PCMCIAHOST' drivers/net/wireless/mac80211/bcm43xx/Kconfig:5:warning: 'select' used by config symbol 'BCM43XX_MAC80211' refer to undefined symbol 'SSB'

#1 lore raw

net/mac80211/ieee80211_led.c: In function 'ieee80211_led_init':
net/mac80211/ieee80211_led.c:38: error: invalid application of 'sizeof' to incomplete type 'struct led_trigger' net/mac80211/ieee80211_led.c:43: error: dereferencing pointer to incomplete type net/mac80211/ieee80211_led.c:44: warning: implicit declaration of function 'led_trigger_register' net/mac80211/ieee80211_led.c:49: error: invalid application of 'sizeof' to incomplete type 'struct led_trigger' net/mac80211/ieee80211_led.c:54: error: dereferencing pointer to incomplete type net/mac80211/ieee80211_led.c: In function 'ieee80211_led_exit':
net/mac80211/ieee80211_led.c:64: warning: implicit declaration of function 'led_trigger_unregister'

akpm2:/usr/src/25> grep LED .config
CONFIG_NF_CONNTRACK_ENABLED=m
CONFIG_MAC80211_LEDS=y

Probably related to the Kconfig problems.

#2 lore raw
Quoted 9 lines · Andrew Morton

net/mac80211/ieee80211_led.c: In function 'ieee80211_led_init':
net/mac80211/ieee80211_led.c:38: error: invalid application of 'sizeof' to incomplete type 'struct led_trigger' net/mac80211/ieee80211_led.c:43: error: dereferencing pointer to incomplete type net/mac80211/ieee80211_led.c:44: warning: implicit declaration of function 'led_trigger_register' net/mac80211/ieee80211_led.c:49: error: invalid application of 'sizeof' to incomplete type 'struct led_trigger' net/mac80211/ieee80211_led.c:54: error: dereferencing pointer to incomplete type net/mac80211/ieee80211_led.c: In function 'ieee80211_led_exit':
net/mac80211/ieee80211_led.c:64: warning: implicit declaration of function 'led_trigger_unregister'

Quoted 5 lines

akpm2:/usr/src/25> grep LED .config
CONFIG_NF_CONNTRACK_ENABLED=m
CONFIG_MAC80211_LEDS=y

Probably related to the Kconfig problems.

Almost certainly. Someone is building some LED trigger/driver without the LED core enabled which is what that Kconfig warning was about.

Nobody's ever mentioned this driver to me...

Richard
(LED Maintainer)

#3 lore raw
Quoted 14 lines · On Fri, 02 Mar 2007 10:32:32 +0000 Richard Purdie <[email protected]> wrote:
Quoted 13 lines · Andrew Morton

net/mac80211/ieee80211_led.c: In function 'ieee80211_led_init':
net/mac80211/ieee80211_led.c:38: error: invalid application of 'sizeof' to incomplete type 'struct led_trigger' net/mac80211/ieee80211_led.c:43: error: dereferencing pointer to incomplete type net/mac80211/ieee80211_led.c:44: warning: implicit declaration of function 'led_trigger_register' net/mac80211/ieee80211_led.c:49: error: invalid application of 'sizeof' to incomplete type 'struct led_trigger' net/mac80211/ieee80211_led.c:54: error: dereferencing pointer to incomplete type net/mac80211/ieee80211_led.c: In function 'ieee80211_led_exit':
net/mac80211/ieee80211_led.c:64: warning: implicit declaration of function 'led_trigger_unregister'

akpm2:/usr/src/25> grep LED .config
CONFIG_NF_CONNTRACK_ENABLED=m
CONFIG_MAC80211_LEDS=y

Quoted 7 lines
Quoted 1 line

Probably related to the Kconfig problems.

Almost certainly. Someone is building some LED trigger/driver without the LED core enabled which is what that Kconfig warning was about.

Nobody's ever mentioned this driver to me...

It's a mountain of new wireless code in the just-released 2.6.21-rc2-mm1.

maintainer
#4 lore raw
In reply to Andrew Morton
Quoted 1 line · Andrew Morton

Probably related to the Kconfig problems.

Yeah, it is. s390 is funny, it doesn't include drivers/Kconfig, I don't think anybody of us would have suspected that.

There doesn't seem to be a reason why it shouldn't have drivers/leds though. drivers/ssb I don't know about, does s390 have pci or pcmcia? And the bluetooth stuff is also plain weird, I suppose s390 really should include drivers/hid/Kconfig :)

Same with drivers/char that includes hw_random.

Is there any reason it isn't including drivers/Kconfig?

I can offer below patch to fix the LED trigger problem, it's probably cleaner to depend on LEDS_TRIGGERS rather than selecting it and NEW_LEDS.

johannes

net/mac80211/Kconfig +1 -3
@@ -13,9 +13,7 @@ config MAC80211
 
 config MAC80211_LEDS
 	bool "Enable LED triggers"
-	depends on MAC80211
-	select NEW_LEDS
-	select LEDS_TRIGGERS
+	depends on MAC80211 && LEDS_TRIGGERS
 	---help---
 	This option enables a few LED triggers for different
 	packet receive/transmit events.
#5 lore raw
Quoted 9 lines · On Fri, 02 Mar 2007 11:38:24 +0100 Johannes Berg <[email protected]>…
Quoted 1 line · Andrew Morton

Probably related to the Kconfig problems.

Yeah, it is. s390 is funny, it doesn't include drivers/Kconfig, I don't think anybody of us would have suspected that.

There doesn't seem to be a reason why it shouldn't have drivers/leds though. drivers/ssb I don't know about, does s390 have pci or pcmcia?

No, s390 doesn't have PCI.

Quoted 7 lines

And the bluetooth stuff is also plain weird, I suppose s390 really should include drivers/hid/Kconfig :)

Same with drivers/char that includes hw_random.

Is there any reason it isn't including drivers/Kconfig?

s390 is weird ;) There's no way it'll support any of the hardware which you're
working on (until they release the s390 laptop). So all we really want to do here is to avoid breaking s390 allmodconfig.

Quoted 9 lines

I can offer below patch to fix the LED trigger problem, it's probably cleaner to depend on LEDS_TRIGGERS rather than selecting it and NEW_LEDS.

johannes

net/mac80211/Kconfig config MAC80211 · line 19

Quoted 10 lines
net/mac80211/Kconfig +1 -3
@@ -13,9 +13,7 @@ config MAC80211
 
 config MAC80211_LEDS
 	bool "Enable LED triggers"
-	depends on MAC80211
-	select NEW_LEDS
-	select LEDS_TRIGGERS
+	depends on MAC80211 && LEDS_TRIGGERS
 	---help---
 	This option enables a few LED triggers for different
 	packet receive/transmit events.

OK, I'll try that, thanks.

maintainer
#6 lore raw
Quoted 1 line · Andrew Morton

No, s390 doesn't have PCI.

Ok.

Quoted 3 lines

s390 is weird ;) There's no way it'll support any of the hardware which you're
working on (until they release the s390 laptop). So all we really want to do here is to avoid breaking s390 allmodconfig.

Alright. I think we'll probably have to make bcm43xx and b44 depend on SSB instead of selecting it like the LED trigger stuff below.

But I don't see why s390 can't include hw random, led trigger or even hid, those are all software features afaict.

Quoted 1 line

OK, I'll try that, thanks.

Not that it'll actually help get the compile through... bcm43xx will drop fail and bluetooth probably as well.

johannes

#7 lore raw
Quoted 13 lines · On Fri, 02 Mar 2007 12:11:48 +0100 Johannes Berg <[email protected]>…
Quoted 1 line · Andrew Morton

No, s390 doesn't have PCI.

Ok.

Quoted 3 lines

s390 is weird ;) There's no way it'll support any of the hardware which you're
working on (until they release the s390 laptop). So all we really want to do here is to avoid breaking s390 allmodconfig.

Alright. I think we'll probably have to make bcm43xx and b44 depend on SSB instead of selecting it like the LED trigger stuff below.

Quoted 9 lines

But I don't see why s390 can't include hw random, led trigger or even hid, those are all software features afaict.

Quoted 1 line

OK, I'll try that, thanks.

Not that it'll actually help get the compile through... bcm43xx will drop fail and bluetooth probably as well.

OK, thanks.

fwiw, http://userweb.kernel.org/~akpm/cross-compilers/ has an s390 cross-compiler binary.

#8 lore raw
In reply to Johannes Berg
Quoted 4 lines · Johannes Berg
Quoted 3 lines · Andrew Morton

s390 is weird ;) There's no way it'll support any of the hardware which you're
working on (until they release the s390 laptop). So all we really want to do here is to avoid breaking s390 allmodconfig.

Well, I would not say "weird" but different. None of the usual device attachments is present on a s390. That includes memory mapped i/o (!).

Quoted 5 lines

Alright. I think we'll probably have to make bcm43xx and b44 depend on SSB instead of selecting it like the LED trigger stuff below.

But I don't see why s390 can't include hw random, led trigger or even hid, those are all software features afaict.

True. I'm still sitting on a couple of patches that make s390 use the standard drivers/Kconfig. The downside of these patches is that I have to add a lot of "depends on !S390" all over the place.

Quoted 4 lines
Quoted 1 line

OK, I'll try that, thanks.

Not that it'll actually help get the compile through... bcm43xx will drop fail and bluetooth probably as well.

No bcm43xx, no bluetooth on s390..

Signature · 8 lines
blue skies,
  Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.