make[1]: Entering directory `/srv/build/amery/sunxi/sunxi-nightly/build_linux-next-multi_v7' GEN ./Makefile # # configuration written to .config # make[1]: Leaving directory `/srv/build/amery/sunxi/sunxi-nightly/build_linux-next-multi_v7' make[1]: Entering directory `/srv/build/amery/sunxi/sunxi-nightly/build_linux-next-multi_v7' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/srv/build/amery/sunxi/sunxi-nightly/build_linux-next-multi_v7' make[1]: Entering directory `/srv/build/amery/sunxi/sunxi-nightly/build_linux-next-multi_v7' CHK include/config/kernel.release GEN ./Makefile CHK include/generated/uapi/linux/version.h UPD include/config/kernel.release Using /srv/build/amery/sunxi/sunxi-nightly/linux-sunxi-next as source for kernel CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL /srv/build/amery/sunxi/sunxi-nightly/linux-sunxi-next/scripts/checksyscalls.sh CHK include/generated/compile.h CC init/version.o LD init/built-in.o CC kernel/sys.o CC drivers/base/firmware_class.o LD drivers/base/built-in.o CC drivers/clocksource/timer-atmel-pit.o CC drivers/cpuidle/cpuidle.o CC drivers/cpufreq/cpufreq.o CC drivers/cpufreq/freq_table.o /srv/build/amery/sunxi/sunxi-nightly/linux-sunxi-next/drivers/clocksource/timer-atmel-pit.c: In function 'at91sam926x_pit_dt_init': /srv/build/amery/sunxi/sunxi-nightly/linux-sunxi-next/drivers/clocksource/timer-atmel-pit.c:264:2: error: 'ret' undeclared (first use in this function) /srv/build/amery/sunxi/sunxi-nightly/linux-sunxi-next/drivers/clocksource/timer-atmel-pit.c:264:2: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [drivers/clocksource/timer-atmel-pit.o] Error 1 make[2]: *** [drivers/clocksource] Error 2 make[2]: *** Waiting for unfinished jobs.... CC drivers/cpufreq/cpufreq_performance.o CC kernel/module.o CC drivers/cpuidle/driver.o CC drivers/cpuidle/governor.o CC drivers/cpuidle/sysfs.o CC drivers/cpufreq/cpufreq_ondemand.o CC drivers/cpuidle/governors/menu.o CC drivers/cpufreq/cpufreq_governor.o CC drivers/cpufreq/cpufreq_governor_attr_set.o CC drivers/clk/sunxi-ng/ccu-sun8i-h3.o CC drivers/cpufreq/cpufreq-dt.o CC drivers/cpuidle/coupled.o CC drivers/cpuidle/dt_idle_states.o CC drivers/cpuidle/cpuidle-zynq.o LD drivers/clk/sunxi-ng/built-in.o LD drivers/cpuidle/governors/built-in.o CC drivers/cpufreq/cpufreq-dt-platdev.o CC drivers/cpufreq/dbx500-cpufreq.o CC drivers/cpufreq/exynos5440-cpufreq.o CC drivers/cpuidle/cpuidle-at91.o CC drivers/cpuidle/cpuidle-exynos.o CC drivers/cpuidle/cpuidle-arm.o CC drivers/cpufreq/omap-cpufreq.o LD drivers/clk/built-in.o CC drivers/cpufreq/spear-cpufreq.o CC drivers/cpufreq/tegra20-cpufreq.o CC drivers/cpufreq/tegra124-cpufreq.o CC drivers/cpufreq/mvebu-cpufreq.o CC drivers/cpufreq/qoriq-cpufreq.o LD drivers/cpuidle/built-in.o LD kernel/built-in.o LD drivers/cpufreq/built-in.o make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/srv/build/amery/sunxi/sunxi-nightly/build_linux-next-multi_v7' make: *** [sub-make] Error 2