[Android] Shahan_mik3:
Guys need help error while compiling kernel :(

shahan_mik3@Shahan-Pc:~$ cd /home/shahan_mik3/kernel

shahan_mik3@Shahan-Pc:~/kernel$ export CROSS_COMPILE=/home/shahan_mik3/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-

shahan_mik3@Shahan-Pc:~/kernel$ make clean && make mrproper

make: *** No rule to make target `clean'. Stop.

shahan_mik3@Shahan-Pc:~/kernel$ cd /home/shahan_mik3/andkernel/kernel

bash: cd: /home/shahan_mik3/andkernel/kernel: No such file or directory

shahan_mik3@Shahan-Pc:~/kernel$ cd /home/shahan_mik3/andkernel/Kernel

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ export CROSS_COMPILE=/home/shahan_mik3/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make clean && make mrpropershahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make u1_defconfig

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/lex.zconf.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

HOSTLD scripts/kconfig/conf

arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group

arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported

#

# configuration written to .config

#

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make menuconfig

HOSTCC scripts/kconfig/lxdialog/checklist.o

HOSTCC scripts/kconfig/lxdialog/inputbox.o

HOSTCC scripts/kconfig/lxdialog/menubox.o

HOSTCC scripts/kconfig/lxdialog/textbox.o

scripts/kconfig/lxdialog/textbox.c: In function ‘print_line’:

scripts/kconfig/lxdialog/textbox.c:323:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]

int y, x;

^

scripts/kconfig/lxdialog/textbox.c:323:6: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]

int y, x;

^

HOSTCC scripts/kconfig/lxdialog/util.o

HOSTCC scripts/kconfig/lxdialog/yesno.o

HOSTCC scripts/kconfig/mconf.o

HOSTLD scripts/kconfig/mconf

scripts/kconfig/mconf Kconfig

arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group

arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported

#

# configuration written to .config

#

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make -j3 ARCH=arm

scripts/kconfig/conf --silentoldconfig Kconfig

arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group

arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported

CHK include/linux/version.h

UPD include/linux/version.h

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

Generating include/generated/mach-types.h

CC kernel/bounds.s

HOSTCC scripts/mod/modpost.o

GEN include/generated/bounds.h

CC arch/arm/kernel/asm-offsets.s

HOSTCC scripts/mod/sumversion.o

HOSTCC scripts/kallsyms

HOSTLD scripts/mod/modpost

HOSTCC scripts/conmakehash

HOSTCC scripts/recordmcount

GEN include/generated/asm-offsets.h

CALL scripts/checksyscalls.sh

CC init/main.o

HOSTCC usr/gen_init_cpio

CC arch/arm/vfp/vfpmodule.o

GEN usr/initramfs_data.cpio

AS usr/initramfs_data.o

LD usr/built-in.o

AS arch/arm/vfp/entry.o

AS arch/arm/vfp/vfphw.o

CC arch/arm/vfp/vfpsingle.o

CC arch/arm/vfp/vfpdouble.o

CHK include/generated/compile.h

LD arch/arm/vfp/vfp.o

LD arch/arm/vfp/built-in.o

CC init/do_mounts.o

UPD include/generated/compile.h

CC arch/arm/kernel/elf.o

AS arch/arm/kernel/entry-armv.o

AS arch/arm/kernel/entry-common.o

CC arch/arm/kernel/irq.o

CC init/do_mounts_rd.o

CC arch/arm/kernel/process.o

CC arch/arm/kernel/ptrace.o

CC init/do_mounts_initrd.o

CC init/initramfs.o

CC arch/arm/kernel/return_address.o

CC init/calibrate.o

CC arch/arm/kernel/setup.o

CC init/version.o

LD init/mounts.o

CC arch/arm/mm/extable.o

LD init/built-in.o

CC arch/arm/mm/fault.o

CC arch/arm/common/gic.o

CC arch/arm/mm/iomap.o

CC arch/arm/common/pl330.o

CC arch/arm/kernel/signal.o

CC arch/arm/mm/dma-mapping.o

CC arch/arm/kernel/sys_arm.o

CC arch/arm/kernel/stacktrace.o

LD arch/arm/common/built-in.o

CC arch/arm/mm/init.o

CC arch/arm/mach-exynos/init.o

CC arch/arm/kernel/time.o

CC arch/arm/mach-exynos/irq-combiner.o

CC arch/arm/kernel/traps.o

CC arch/arm/mm/fault-armv.o

CC arch/arm/mach-exynos/dma.o

CC arch/arm/mm/flush.o

CC arch/arm/mach-exynos/irq-eint.o

CC arch/arm/mm/idmap.o

CC arch/arm/kernel/armksyms.o

CC arch/arm/mm/ioremap.o

CC arch/arm/mach-exynos/ppmu.o

CC arch/arm/kernel/module.o

CC arch/arm/mm/mmap.o

AS arch/arm/kernel/sleep.o

CC arch/arm/mach-exynos/exynos4-smc.o

CC arch/arm/kernel/smp.o

CC arch/arm/mach-exynos/cpu-exynos4.o

CC arch/arm/mm/pgd.o

CC arch/arm/mm/vmregion.o

CC arch/arm/mach-exynos/clock-exynos4.o

CC arch/arm/kernel/smp_tlb.o

CC arch/arm/mm/mmu.o

CC arch/arm/kernel/smp_scu.o

arch/arm/mach-exynos/clock-exynos4.c:457:26: warning: 'exynos4_clk_aclk_c2c' defined but not used [-Wunused-variable]

static struct clksrc_clk exynos4_clk_aclk_c2c = {

^

CC arch/arm/kernel/ftrace.o

CC arch/arm/mach-exynos/pmu-exynos4.o

CC arch/arm/mm/proc-syms.o

arch/arm/mach-exynos/pmu-exynos4.c: In function 'exynos4_pmu_init':

arch/arm/mach-exynos/pmu-exynos4.c:422:15: warning: unused variable 'i' [-Wunused-variable]

unsigned int i;

^

CC arch/arm/kernel/swp_emulate.o

CC arch/arm/mach-exynos/ppc.o

CC arch/arm/mach-exynos/clock-domain.o

CC arch/arm/mm/alignment.o

CC arch/arm/mach-exynos/clock-exynos4210.o

CC arch/arm/kernel/pmu.o

arch/arm/mm/alignment.c: In function 'do_alignment':

arch/arm/mm/alignment.c:720:21: error: 'offset.un' may be used uninitialized in this function [-Werror=maybe-uninitialized]

union offset_union offset;

^

CC arch/arm/mach-exynos/pm-exynos4.o

cc1: all warnings being treated as errors

CC arch/arm/kernel/io.o

make[1]: *** [arch/arm/mm/alignment.o] Error 1

make: *** [arch/arm/mm] Error 2

make: *** Waiting for unfinished jobs....

AS arch/arm/kernel/head.o

CC arch/arm/kernel/init_task.o

LDS arch/arm/kernel/vmlinux.lds

LD arch/arm/kernel/built-in.o

AS arch/arm/mach-exynos/sleep-exynos4.o

CC arch/arm/mach-exynos/cpufreq.o

CC arch/arm/mach-exynos/asv.o

CC arch/arm/mach-exynos/asv-4210.o

CC arch/arm/mach-exynos/asv-4x12.o

CC arch/arm/mach-exynos/cpufreq-4210.o

CC arch/arm/mach-exynos/cpufreq-4x12.o

CC arch/arm/mach-exynos/cpuidle-exynos4.o

AS arch/arm/mach-exynos/idle-exynos4.o

CC arch/arm/mach-exynos/busfreq.o

CC arch/arm/mach-exynos/platsmp.o

arch/arm/mach-exynos/cpuidle-exynos4.c:185:13: warning: 'exynos4212_gpio_conpdn_reg' defined but not used [-Wunused-function]

static void exynos4212_gpio_conpdn_reg(void)

^

In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:

arch/arm/mach-exynos/cpuidle-exynos4.c: In function 'exynos4_enter_lowpower':

arch/arm/mach-exynos/include/mach/asv.h:59:6: error: 'abb_val_int' may be used uninitialized in this function [-Werror=maybe-uninitialized]

tmp |= abb_mode_value;

^

arch/arm/mach-exynos/cpuidle-exynos4.c:650:30: note: 'abb_val_int' was declared here

unsigned long tmp, abb_val, abb_val_int;

^

In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:

arch/arm/mach-exynos/include/mach/asv.h:59:6: error: 'abb_val' may be used uninitialized in this function [-Werror=maybe-uninitialized]

tmp |= abb_mode_value;

^

arch/arm/mach-exynos/cpuidle-exynos4.c:650:21: note: 'abb_val' was declared here

unsigned long tmp, abb_val, abb_val_int;

^

In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:

arch/arm/mach-exynos/include/mach/asv.h:59:6: error: 'abb_val' may be used uninitialized in this function [-Werror=maybe-uninitialized]

tmp |= abb_mode_value;

^

arch/arm/mach-exynos/cpuidle-exynos4.c:566:21: note: 'abb_val' was declared here

unsigned long tmp, abb_val;

^

AS arch/arm/mach-exynos/headsmp.o

cc1: all warnings being treated as errors

make[1]: *** [arch/arm/mach-exynos/cpuidle-exynos4.o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [arch/arm/mach-exynos] Error 2

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$