Skip to contentSkip to conversation

nouveau_drm.c: undefined reference to `nouveau_led_init'

DISCUSSION George Spelvin 2 participants 2 messages Jan 12, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

If CONFIG_DRM_NOUVEAU=y and CONFIG_LEDS_CLASS=m, then nouveau_led.o is neither stubbed out nor compiled in and the compile fails with undefined symbols in nouveau_drm.c.

I'm guessing it's commit 8d021d71b324. (Thanks for the cool hack, BTW, even if I don't have such a card and am complaining about the patch.)

Worked around by setting CONFIG_NEW_LEDS=n (it had been forced on by CONFIG_HID_WACOM=m, but I don't have a Wacom tablet) and recompiling.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 20170112075546.29927.qmail-0pv+BVKnmlVvo4jL2M+6Orb7wjY1XU0g@public.gmane.org

#2 lore raw
Quoted 9 lines · George Spelvin

If CONFIG_DRM_NOUVEAU=y and CONFIG_LEDS_CLASS=m, then nouveau_led.o is neither stubbed out nor compiled in and the compile fails with undefined symbols in nouveau_drm.c.

I'm guessing it's commit 8d021d71b324. (Thanks for the cool hack, BTW, even if I don't have such a card and am complaining about the patch.)

Worked around by setting CONFIG_NEW_LEDS=n (it had been forced on by CONFIG_HID_WACOM=m, but I don't have a Wacom tablet) and recompiling.

Hey!

Yes, this is known. The fix is waiting in Ben's tree for it to land in 4.10-rcX. Hopefully, we can all forget about this bug soon :)

Sorry for the annoyance,

Martin

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau