RE: Problems compiling kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ramon,

Can you confirm if you have CONFIG_CPU_FREQ_TABLE=y in the .config?

The 'undefined' functions in your compile log are defined in drivers/cpufreq/freq_table.c
If you look at Makefile in the same dir, this file is included in compile based on the flag mentioned above.

Which platform are you building for?
Are you sure you haven't disabled CPU_FREQ manually?
If you haven't made any modifications the problem could be in the defconfig?

Though, I believe that cpu-omap.c may also need to be updated to take care of CONFIG_CPU_FREQ OR specifically CONFIG_CPU_FREQ_TABLE.

Best regards,
Sanjeev 

> -----Original Message-----
> From: linux-omap-owner@xxxxxxxxxxxxxxx 
> [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Ramón 
> Finger Lilienthal
> Sent: Tuesday, October 21, 2008 7:13 PM
> To: linux_omap
> Subject: Problems compiling kernel
> 
> Dear fellows,
> 
> I am facing some compiling errors in my kernel.
> 
> My kernel version is:
> 
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 27
> EXTRAVERSION =
> NAME = Rotary Wombat
> 
> And I updated the source using "git pull" today,  before 
> trying to compile the kernel.
> 
> I got these errors:
> 
>   MODPOST vmlinux.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> arch/arm/plat-omap/built-in.o: In function `omap_verify_speed':
> /home/ramon/work/linux-omap-2.6.new.teste/arch/arm/plat-omap/c
> pu-omap.c:46: 
> undefined reference to `cpufreq_frequency_table_verify'
> arch/arm/plat-omap/built-in.o: In function `omap_cpu_init':
> /home/ramon/work/linux-omap-2.6.new.teste/arch/arm/plat-omap/c
> pu-omap.c:119: 
> undefined reference to `cpufreq_frequency_table_cpuinfo'
> /home/ramon/work/linux-omap-2.6.new.teste/arch/arm/plat-omap/c
> pu-omap.c:121: 
> undefined reference to `cpufreq_frequency_table_get_attr'
> arch/arm/plat-omap/built-in.o:(.data+0x91c): undefined 
> reference to `cpufreq_freq_attr_scaling_available_freqs'
> make: *** [.tmp_vmlinux1] Error 1
> 
> I looked in "plat-omap.c" and it calls the library cpufreq.h.
> cpufreq.h has the prototipes of that undefined references and 
> cpufreq.c has the impementations of it.
> 
> So, I don't understand why it is happening. By the way, I am 
> a begginer in linux development.
> 
> Any help will be welcome.
> 
> 
> --
> Regards,
> Eng. Ramon F. Lilienthal
> Project Engineer
> Instramed Ltda. - www.instramed.com.br
> +55 (51) 33344199 ext. 213
> 
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> --
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux