[Galaxy S I9000 Android Development] husq510:
did someone could provide a minimal guide for compile kernel ? got some problem with using gcc prebuilt in samsung source. can you tell what defconfig you used ?

once used defconfig versatile_defconfig and .config saved i have got the following error:

root@dark:~/Downloads/android-source/GalaxyS/linux-2.6.29# make ARCH=arm CROSS_C

OMPILE=/root/Downloads/android-source/opensrc/prebuilt/linux-x86/toolchain/arm-e

abi-4.2.1/bin/arm-eabi-

CHK include/linux/version.h

make[1]: `include/asm-arm/mach-types.h' is up to date.

CHK include/linux/utsrelease.h

SYMLINK include/asm -> include/asm-arm

CALL scripts/checksyscalls.sh

<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented

<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented

<stdin>:1321:2: warning: #warning syscall pselect6 not implemented

<stdin>:1325:2: warning: #warning syscall ppoll not implemented

<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented

CC init/main.o

In file included from init/main.c:79:

include/linux/kernel_sec_common.h:9:22: error: mach/map.h: No such file or direc

tory

include/linux/kernel_sec_common.h:10:29: error: plat/regs-clock.h: No such file

or directory

make[1]: *** [init/main.o] Error 1

make: *** [init] Error 2

I tried also with s3c6400_config with the following error:

root@dark:~/Downloads/android-source/GalaxyS/linux-2.6.29# make ARCH=arm CROSS_C

OMPILE=/root/Downloads/android-source/opensrc/prebuilt/linux-x86/toolchain/arm-e

abi-4.2.1/bin/arm-eabi-

scripts/kconfig/conf -s arch/arm/Kconfig

net/ipv6/netfilter/Kconfig:165:warning: config symbol defined without type

CHK include/linux/version.h

Generating include/asm-arm/mach-types.h

CHK include/linux/utsrelease.h

SYMLINK include/asm -> include/asm-arm

CC kernel/bounds.s

GEN include/linux/bounds.h

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

GEN include/asm/asm-offsets.h

CALL scripts/checksyscalls.sh

<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented

<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented

<stdin>:1321:2: warning: #warning syscall pselect6 not implemented

<stdin>:1325:2: warning: #warning syscall ppoll not implemented

<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/mod/sumversion.o

HOSTLD scripts/mod/modpost

HOSTCC scripts/ihex2fw

HOSTCC scripts/kallsyms

HOSTCC scripts/conmakehash

CC init/main.o

CHK include/linux/compile.h

UPD include/linux/compile.h

CC init/version.o

CC init/do_mounts.o

CC init/do_mounts_rd.o

CC init/do_mounts_initrd.o

LD init/mounts.o

CC init/initramfs.o

CC init/calibrate.o

LD init/built-in.o

HOSTCC usr/gen_init_cpio

GEN usr/initramfs_data.cpio.gz

AS usr/initramfs_data.o

LD usr/built-in.o

CC arch/arm/kernel/compat.o

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 arch/arm/kernel/process.o

arch/arm/kernel/process.c: In function 'arm_machine_restart':

arch/arm/kernel/process.c:107: error: 'S5P_INFORM5' undeclared (first use in thi

s function)

arch/arm/kernel/process.c:107: error: (Each undeclared identifier is reported on

ly once

arch/arm/kernel/process.c:107: error: for each function it appears in.)

make[1]: *** [arch/arm/kernel/process.o] Error 1

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