nouveau build failure (was Re: Linux 2.6.37-rc2)

From: Linus Torvalds
Date: Tue Nov 16 2010 - 15:46:36 EST


Looks like commit 34e9d85a1aae ("drm/nouveau: Add temperature support
(vbios parsing, readings, hwmon)") didn't make things properly
dependent on CONFIG_HWMON (or do the appropriate "select HWMON" or
whatever).

Added some collection of hopefully more relevant people to the discussion..

Linus

On Tue, Nov 16, 2010 at 12:35 PM, Zimny Lech
<napohybelskurwysynom2010@xxxxxxxxx> wrote:
>
>  LD      vmlinux.o
>  MODPOST vmlinux.o
> WARNING: modpost: Found 7 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>  GEN     .version
>  CHK     include/generated/compile.h
>  UPD     include/generated/compile.h
>  CC      init/version.o
>  LD      init/built-in.o
>  LD      .tmp_vmlinux1
> drivers/built-in.o: In function `nouveau_pm_fini':
> (.text+0xe1857): undefined reference to `hwmon_device_unregister'
> drivers/built-in.o: In function `nouveau_pm_init':
> (.text+0xe1b4d): undefined reference to `hwmon_device_register'
> drivers/built-in.o: In function `nouveau_pm_init':
> (.text+0xe1bef): undefined reference to `hwmon_device_unregister'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [sub-make] Error 2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/