linux-next build failures with ARCH_EXYNOS

Thomas Abraham thomas.abraham at linaro.org
Wed Mar 27 09:56:53 EDT 2013


Hi Tomasz,

On 27 March 2013 18:40, Tomasz Figa <t.figa at samsung.com> wrote:
> Hi,
>
> I'm experiencing several kernel build failures when building linux-next
> (next-20130327) for ARCH_EXYNOS.
>
> Using unmodified exynos_defconfig:
>
>   CC      drivers/clocksource/exynos_mct.o
> drivers/clocksource/exynos_mct.c:557:1: warning: comparison of distinct
> pointer types lacks a cast
> drivers/clocksource/exynos_mct.c:558:1: error: expected ',' or ';' before
> 'static'
> make[2]: *** [drivers/clocksource/exynos_mct.o] Error 1
> make[1]: *** [drivers/clocksource] Error 2
> make: *** [drivers] Error 2
>
> Mentioned lines are introduced by commit 9fbf0c85a1 .
>
> In addition, after enabling CONFIG_ARM_EXYNOS_CPUFREQ I'm getting following
> compilation errors:
>
>   CC      drivers/cpufreq/exynos5250-cpufreq.o
> drivers/cpufreq/exynos5250-cpufreq.c: In function 'set_clkdiv':
> drivers/cpufreq/exynos5250-cpufreq.c:91:20: error: 'EXYNOS5_CLKDIV_CPU0'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c:91:20: note: each undeclared identifier is
> reported only once for each function it appears in
> drivers/cpufreq/exynos5250-cpufreq.c:93:21: error: 'EXYNOS5_CLKDIV_STATCPU0'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c:99:20: error: 'EXYNOS5_CLKDIV_CPU1'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c:101:21: error: 'EXYNOS5_CLKDIV_STATCPU1'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c: In function 'set_apll':
> drivers/cpufreq/exynos5250-cpufreq.c:115:22: error: 'EXYNOS5_CLKMUX_STATCPU'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c:122:29: error: 'EXYNOS5_APLL_LOCK'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c:125:20: error: 'EXYNOS5_APLL_CON0'
> undeclared (first use in this function)
> drivers/cpufreq/exynos5250-cpufreq.c: In function 'exynos5250_set_frequency':
> drivers/cpufreq/exynos5250-cpufreq.c:165:22: error: 'EXYNOS5_APLL_CON0'
> undeclared (first use in this function)
> make[2]: *** [drivers/cpufreq/exynos5250-cpufreq.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [drivers/cpufreq] Error 2
> make: *** [drivers] Error 2
>
> This seems to be caused by commit 6e6aac7590 removing definitions of mentioned
> registers from arch/arm/mach-exynos/include/mach/regs-clock.h header.

I apologize for over looking this. I am working on preparing a fix to
resolve these errors.

Thanks,
Thomas.

>
> Best regards,
> --
> Tomasz Figa
> Samsung Poland R&D Center
> SW Solution Development, Kernel and System Framework
>



More information about the linux-arm-kernel mailing list