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

Martin Peres martin.peres at free.fr
Thu Jan 12 15:01:40 UTC 2017


On 12/01/17 09:55, George Spelvin wrote:
> 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



More information about the Nouveau mailing list