[Nouveau] nouveau_drm.c: undefined reference to `nouveau_led_init'

George Spelvin linux at sciencehorizons.net
Thu Jan 12 07:55:46 UTC 2017


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.


More information about the Nouveau mailing list