Re: Error compiling 2.6.19rc[56]

From: alex1000
Date: Fri Nov 17 2006 - 17:46:54 EST



From: Mattia Dongili <malattia@xxxxxxxx>
> On Fri, Nov 17, 2006 at 06:10:01PM +0000, alex1000@xxxxxxxxxxx wrote:
> > I get the following error when attempting to compile 2.6.19rc[56]
> >
> > drivers/built-in.o(.text+0x7ef32): In function `powersave_bias_target':
> > : undefined reference to `cpufreq_frequency_table_target'
> > drivers/built-in.o(.text+0x7ef7d): In function `powersave_bias_target':
> > : undefined reference to `cpufreq_frequency_table_target'
> > drivers/built-in.o(.text+0x7efb3): In function `powersave_bias_target':
> > : undefined reference to `cpufreq_frequency_table_target'
> > drivers/built-in.o(.text+0x7f056): In function `ondemand_powersave_bias_init':
> > : undefined reference to `cpufreq_frequency_get_table'
> > make: *** [.tmp_vmlinux1] Error 1
>
> I just sent this to the CPUFreq mailing list.
>
> Allow CONFIG_CPU_FREQ_GOV_ONDEMAND=y
>
> Signed-off-by: Mattia Dongili <malattia@xxxxxxxx>
> ---
>
> diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
> index 2cc71b6..491779a 100644
> --- a/drivers/cpufreq/Kconfig
> +++ b/drivers/cpufreq/Kconfig
> @@ -107,6 +107,7 @@ config CPU_FREQ_GOV_USERSPACE
>
> config CPU_FREQ_GOV_ONDEMAND
> tristate "'ondemand' cpufreq policy governor"
> + select CPU_FREQ_TABLE
> help
> 'ondemand' - This driver adds a dynamic cpufreq policy governor.
> The governor does a periodic polling and

Problem solved.

Thanks
-
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/