Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Ubuntu 12.04 X64 and have installed all the tools(Toolchain: arm-2010q1 and Samsung Galaxy S2 source as given Here) to compile a ROM.
When I run make Command I'm getting this error:

kernel/built-in.o: In function `cpufreq_table_show':
cpu_pm.c:(.text+0x39b64): undefined reference to `cpufreq_frequency_get_table'
kernel/built-in.o: In function `cpufreq_max_limit_store':
cpu_pm.c:(.text+0x39cd4): undefined reference to `omap_cpufreq_max_limit'
cpu_pm.c:(.text+0x39d04): undefined reference to `omap_cpufreq_max_limit_free'
cpu_pm.c:(.text+0x39d24): undefined reference to `omap_cpufreq_max_limit_free'
kernel/built-in.o: In function `cpufreq_min_limit_store':
cpu_pm.c:(.text+0x39dd4): undefined reference to `omap_cpufreq_min_limit'
cpu_pm.c:(.text+0x39e04): undefined reference to `omap_cpufreq_min_limit_free'
cpu_pm.c:(.text+0x39e24): undefined reference to `omap_cpufreq_min_limit_free'
make: *** [.tmp_vmlinux1] Error 1
share|improve this question
Please share what you're trying to compile and what steps you're taking. "a ROM" is not not specific enough, I'm afraid. –  gertvdijk Dec 10 '12 at 12:30
Thanx to reply..I have downloaded Samsung Galaxy s2 I9100G source code from samsung and trying to compile it according to this blog post. Now when I run "make" command all goes well but i got the error at last. –  Bashir Dec 11 '12 at 7:51
What toolchain are you using? The one in the blogpost seems unavailable now. Consider using the Ubuntu packages instead. see this q&a and try again. –  gertvdijk Dec 11 '12 at 9:28
yeh dear i'm using the same toolchain as you are suggesting –  Bashir Dec 11 '12 at 9:45
This is all vital information. Please provide all information related to your issue in the question. all settings and configurations, source versions, etc. You should have this in your initial question without people having to ask all kind of information. –  gertvdijk Dec 11 '12 at 9:48
show 3 more comments

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.