Re: 3.10.0-rc7: rtc_cmos.o: No linking because of missing CONFIG_HPET

Bjarni Ingi Gislason
2013-07-02T20:09:24Z

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).