Return-Path: Received: from fenja.rhi.hi.is ([130.208.165.103]:48380 "EHLO fenja.rhi.hi.is" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758Ab3GBUJY (ORCPT ); Tue, 2 Jul 2013 16:09:24 -0400 Date: Tue, 2 Jul 2013 19:49:47 +0000 From: Bjarni Ingi Gislason Subject: Re: 3.10.0-rc7: rtc_cmos.o: No linking because of missing CONFIG_HPET Message-ID: <20130702194947.GA4240@rhi.hi.is> References: <20130629204217.GA2589@rhi.hi.is> <51D14128.3040608@suse.cz> <51D14E78.7040309@ladisch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51D14E78.7040309@ladisch.de> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Clemens Ladisch Cc: Michal Marek , linux-kbuild@vger.kernel.org, lkml , rtc-linux@googlegroups.com, Alessandro Zummo On Mon, Jul 01, 2013 at 11:40:08AM +0200, Clemens Ladisch wrote: > > On 29.6.2013 22:42, Bjarni Ingi Gislason wrote: > >> The file "drivers/rtc/rtc_cmos.c" needs CONFIG_HPET to get linked. > >> > >> rtc-cmos.c:(.text+0x16f214): undefined reference to `hpet_rtc_interrupt' > > CONFIG_HPET enables drivers/char/hpet.c and nothing else; it does not > affect the HPET RTC emulation. > > You are probably searching for CONFIG_HPET_EMULATE_RTC. > Sorry. I selected (configured) "HPET_TIMER" to fix the compilation and linking (which automatically includes HPET_EMULATE_RTC). -- Bjarni I. Gislason