[Galaxy S I9000 Q&A, Help & Troubleshooting] :
can someone tell me what is wrong here? repo erik's jb-3.4-pmem

federico@ubuntu:~$ cd /home/federico/android/kernel/KERNEL

federico@ubuntu:~/android/kernel/KERNEL$ export ARCH=arm

federico@ubuntu:~/android/kernel/KERNEL$ export CROSS_COMPILE=~/android/kernel/toolchains/arm-cortex_a8-linux-gnueabi-linaro_4.7.3-2013.02/bin/arm-cortex_a8-linux-gnueabi-

federico@ubuntu:~/android/kernel/KERNEL$ make ariesve_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

#

# configuration written to .config

#

federico@ubuntu:~/android/kernel/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

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

#

# configuration written to .config

#

*** End of the configuration.

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

federico@ubuntu:~/android/kernel/KERNEL$ make -j5

scripts/kconfig/conf --silentoldconfig Kconfig

#

# configuration written to .config

#

CHK include/linux/version.h

UPD include/linux/version.h

CHK include/generated/utsrelease.h

HOSTCC scripts/genksyms/genksyms.o

UPD include/generated/utsrelease.h

CC scripts/mod/empty.o

SHIPPED scripts/genksyms/lex.c

HOSTCC scripts/kallsyms

HOSTCC scripts/mod/mk_elfconfig

HOSTCC scripts/conmakehash

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

SHIPPED scripts/genksyms/parse.h

SHIPPED scripts/genksyms/keywords.c

SHIPPED scripts/genksyms/parse.c

HOSTCC scripts/genksyms/lex.o

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/bin2c

HOSTCC scripts/mod/sumversion.o

Generating include/generated/mach-types.h

HOSTCC scripts/genksyms/parse.o

CC kernel/bounds.s

GEN include/generated/bounds.h

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

HOSTLD scripts/mod/modpost

HOSTLD scripts/genksyms/genksyms

GEN include/generated/asm-offsets.h

CC init/main.o

CHK include/generated/compile.h

CC init/do_mounts.o

HOSTCC usr/gen_init_cpio

CC arch/arm/vfp/vfpmodule.o

UPD include/generated/compile.h

CC arch/arm/kernel/elf.o

GEN usr/initramfs_data.cpio

AS arch/arm/vfp/entry.o

AS arch/arm/vfp/vfphw.o

AS usr/initramfs_data.o

CC arch/arm/vfp/vfpsingle.o

LD usr/built-in.o

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

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

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

CC init/do_mounts_rd.o

CC arch/arm/kernel/irq.o

CC init/do_mounts_initrd.o

CC arch/arm/kernel/process.o

CC arch/arm/vfp/vfpdouble.o

CC arch/arm/kernel/ptrace.o

CC arch/arm/mm/extable.o

CC init/initramfs.o

CC arch/arm/mm/fault.o

CC arch/arm/mm/init.o

CC arch/arm/kernel/return_address.o

LD arch/arm/vfp/vfp.o

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

CC init/calibrate.o

arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]

CC arch/arm/kernel/setup.o

CC arch/arm/mm/iomap.o

arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]

CC init/version.o

CC arch/arm/kernel/signal.o

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

LD init/mounts.o

LD init/built-in.o

CC arch/arm/mm/flush.o

CC arch/arm/kernel/sys_arm.o

CC arch/arm/common/cpaccess.o

CC arch/arm/mm/idmap.o

CC arch/arm/kernel/stacktrace.o

CC arch/arm/mm/ioremap.o

AS arch/arm/crypto/aes-armv4.o

CC arch/arm/mm/mmap.o

CC arch/arm/crypto/aes_glue.o

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

CC arch/arm/mach-msm/io.o

CC arch/arm/kernel/time.o

AS arch/arm/crypto/sha1-armv4-large.o

CC arch/arm/crypto/sha1_glue.o

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

LD arch/arm/crypto/aes-arm.o

LD arch/arm/crypto/sha1-arm.o

CC arch/arm/mm/pgd.o

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

CC arch/arm/mach-msm/memory.o

CC arch/arm/kernel/traps.o

CC arch/arm/mm/mmu.o

CC arch/arm/perfmon/perf-function-hooks.o

CC kernel/sched.o

CC arch/arm/mach-msm/timer.o

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

CC arch/arm/mach-msm/clock.o

CC arch/arm/kernel/armksyms.o

CC arch/arm/mm/vmregion.o

CC arch/arm/kernel/module.o

CC arch/arm/mach-msm/clock-voter.o

CC arch/arm/mach-msm/clock-dummy.o

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

CC arch/arm/mm/alignment.o

CC arch/arm/mach-msm/modem_notifier.o

AS arch/arm/kernel/sleep.o

CC kernel/fork.o

CC arch/arm/mach-msm/subsystem_map.o

CC arch/arm/kernel/sched_clock.o

arch/arm/kernel/sched_clock.c:34:19: error: redefinition of ‘cyc_to_ns’

In file included from arch/arm/kernel/sched_clock.c:15:0:

/home/federico/android/kernel/KERNEL/arch/arm/include/asm/sched_clock.h:24:19: note: previous definition of ‘cyc_to_ns’ was here

arch/arm/kernel/sched_clock.c:39:27: error: conflicting types for ‘cyc_to_sched_clock’

In file included from arch/arm/kernel/sched_clock.c:15:0:

/home/federico/android/kernel/KERNEL/arch/arm/include/asm/sched_clock.h:86:34: note: previous definition of ‘cyc_to_sched_clock’ was here

arch/arm/kernel/sched_clock.c:64:21: error: conflicting types for ‘update_sched_clock’

In file included from arch/arm/kernel/sched_clock.c:15:0:

/home/federico/android/kernel/KERNEL/arch/arm/include/asm/sched_clock.h:35:20: note: previous definition of ‘update_sched_clock’ was here

arch/arm/kernel/sched_clock.c:39:27: warning: ‘cyc_to_sched_clock’ defined but not used [-Wunused-function]

arch/arm/kernel/sched_clock.c:64:21: warning: ‘update_sched_clock’ defined but not used [-Wunused-function]

make[1]: *** [arch/arm/kernel/sched_clock.o] Errore 1

make: *** [arch/arm/kernel] Errore 2

make: *** Attesa per i processi non terminati....