From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757558Ab0KPUqc (ORCPT ); Tue, 16 Nov 2010 15:46:32 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:39017 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755554Ab0KPUqb convert rfc822-to-8bit (ORCPT ); Tue, 16 Nov 2010 15:46:31 -0500 MIME-Version: 1.0 From: Linus Torvalds Date: Tue, 16 Nov 2010 12:45:43 -0800 Message-ID: Subject: nouveau build failure (was Re: Linux 2.6.37-rc2) To: Zimny Lech , Martin Peres , Ben Skeggs , Dave Airlie Cc: Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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