[Samsung Galaxy Player 4.0, 5.0] iurnait:
Im trying to compile the kernel and this is the error im getting

make[1]: Entering directory `/home/tianrui/cm/kernel/samsung/venturi'
host StaticLib: libLLVMX86CodeGen (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMX86CodeGen_intermediates/libLLVMX86CodeGen.a)
host StaticLib: libLLVMX86Disassembler (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMX86Disassembler_intermediates/libLLVMX86Disassembler.a)
host StaticLib: libLLVMX86Desc (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMX86Desc_intermediates/libLLVMX86Desc.a)
host StaticLib: libLLVMX86AsmPrinter (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMX86AsmPrinter_intermediates/libLLVMX86AsmPrinter.a)
host StaticLib: libLLVMBitReader (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMBitReader_intermediates/libLLVMBitReader.a)
host StaticLib: libLLVMBitWriter (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMBitWriter_intermediates/libLLVMBitWriter.a)
host StaticLib: libLLVMSelectionDAG (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSelectionDAG_intermediates/libLLVMSelectionDAG.a)
host StaticLib: libLLVMipo (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMipo_intermediates/libLLVMipo.a)
host StaticLib: libLLVMipa (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMipa_intermediates/libLLVMipa.a)
host StaticLib: libLLVMInstCombine (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMInstCombine_intermediates/libLLVMInstCombine.a)
host StaticLib: libLLVMInstrumentation (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMInstrumentation_intermediates/libLLVMInstrumentation.a)
host StaticLib: libLLVMCodeGen (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMCodeGen_intermediates/libLLVMCodeGen.a)
host StaticLib: libLLVMScalarOpts (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMScalarOpts_intermediates/libLLVMScalarOpts.a)
GEN /home/tianrui/cm/out/target/product/venturi_usa/obj/KERNEL_OBJ/Makefile
host StaticLib: libLLVMTransformUtils (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMTransformUtils_intermediates/libLLVMTransformUtils.a)
host StaticLib: libLLVMVectorize (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
host StaticLib: libLLVMAnalysis (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a)
scripts/kconfig/conf --silentoldconfig Kconfig
host StaticLib: libLLVMCore (/home/tianrui/cm/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMCore_intermediates/libLLVMCore.a)
host Executable: clang (/home/tianrui/cm/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
GEN /home/tianrui/cm/out/target/product/venturi_usa/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
Using /home/tianrui/cm/kernel/samsung/venturi as source for kernel
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL /home/tianrui/cm/kernel/samsung/venturi/scripts/checksyscalls.sh
CC arch/arm/vfp/vfpmodule.o
CC init/main.o
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CHK include/generated/compile.h
CC init/do_mounts.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC init/do_mounts_rd.o
CC arch/arm/kernel/elf.o
CC arch/arm/vfp/vfpdouble.o
AS arch/arm/kernel/entry-armv.o
CC init/do_mounts_initrd.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC init/initramfs.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC init/calibrate.o
CC arch/arm/kernel/process.o
CC init/version.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/init.o
CC arch/arm/common/vic.o
CC arch/arm/common/pl330.o
CC arch/arm/kernel/signal.o
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mm/init.c: In function 'mem_init':
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mm/init.c:675:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 12 has type 'unsigned int' [-Wformat]
CC arch/arm/mm/iomap.o
AS arch/arm/common/fiq_glue.o
CC arch/arm/common/fiq_glue_setup.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/mm/flush.o
CC arch/arm/common/fiq_debugger.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/idmap.o
CC arch/arm/kernel/time.o
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/traps.o
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mach-s5pv210/include/mach/system.h:18:13: warning: 'arch_idle' defined but not used [-Wunused-function]
LD arch/arm/common/built-in.o
CC arch/arm/mm/mmap.o
CC arch/arm/mach-s5pv210/cpu.o
CC arch/arm/mm/pgd.o
CC arch/arm/kernel/etm.o
CC arch/arm/mm/mmu.o
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mach-s5pv210/cpu.c: In function 's5pv210_init':
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mach-s5pv210/cpu.c:219:2: error: implicit declaration of function 'machine_is_venturi' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[3]: *** [arch/arm/mach-s5pv210/cpu.o] Error 1
make[2]: *** [arch/arm/mach-s5pv210] Error 2
make[2]: *** Waiting for unfinished jobs....
CC arch/arm/kernel/fiq.o
AS arch/arm/kernel/fiqasm.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/mm/vmregion.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/kernel/module.o
CC arch/arm/mm/alignment.o
AS arch/arm/kernel/sleep.o
AS arch/arm/mm/abort-ev7.o
CC arch/arm/kernel/sys_oabi-compat.o
CC arch/arm/kernel/thumbee.o
AS arch/arm/mm/pabort-v7.o
AS arch/arm/mm/cache-v7.o
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mm/alignment.c: In function 'do_alignment':
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mm/alignment.c:298:15: warning: 'offset.un' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/tianrui/cm/kernel/samsung/venturi/arch/arm/mm/alignment.c:720:21: note: 'offset.un' was declared here
CC arch/arm/kernel/hw_breakpoint.o
CC arch/arm/mm/copypage-v6.o
CC arch/arm/mm/context.o
CC arch/arm/kernel/pmu.o
AS arch/arm/mm/tlb-v7.o
AS arch/arm/mm/proc-v7.o
LD arch/arm/mm/built-in.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/kernel/io.o
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
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/tianrui/cm/kernel/samsung/venturi'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....