[Galaxy S I9000 Android Development] alxdadev:
Hi supercurio,

I have tried to build your kernel and have done the following steps:

1.) go to github/linux_gt-i9000 and download the source as tar.gz

2.) extract the tar.gz

3.) download the Sourcery G++ Lite arm-2010q1

4.) extract it

5.) cd to project-voodoo-linux_gt-i9000-3eae10d

6.) export CROSS_COMPILE=/datadir/al/android/arm-2010q1/bin/arm-none-eabi-

7.) edit scripts/build_kernel.sh

### diff -u scripts/build_kernel.sh.orig scripts/build_kernel.sh

--- scripts/build_kernel.sh.orig	2011-03-17 07:23:38.000000000 +0100

+++ scripts/build_kernel.sh	2011-03-18 08:15:28.953481580 +0100

@@ -3,9 +3,14 @@

#export KBUILD_BUILD_VERSION="Voodoo_stable_5.1"

cd Kernel 2>/dev/null

+make aries_eur_voodoo_all_defconfig

nice -n 20 make -j8

cd ..

-cp Kernel/arch/arm/boot/zImage .

-tar cvf voodoo.tar zImage

-ls -lh zImage

+if [ -s Kernel/arch/arm/boot/zImage ]; then

+

+ cp Kernel/arch/arm/boot/zImage .

+

+ tar cvf voodoo.tar zImage

+ ls -lh zImage

+fi

###

8.) bash -x scripts/build_kernel.sh

####

+ cd Kernel

+ make aries_eur_voodoo_all_defconfig

HOSTCC scripts/basic/fixdep

HOSTCC scripts/basic/docproc

HOSTCC scripts/basic/hash

HOSTCC scripts/kconfig/conf.o

scripts/kconfig/conf.c: In Funktion »conf_choice«:

scripts/kconfig/conf.c:307:9: Warnung: ignoring return value of »fgets«, declared with attribute warn_unused_result

scripts/kconfig/conf.c: In Funktion »conf_askvalue«:

scripts/kconfig/conf.c:105:8: Warnung: ignoring return value of »fgets«, declared with attribute warn_unused_result

HOSTCC scripts/kconfig/kxgettext.o

HOSTCC scripts/kconfig/zconf.tab.o

scripts/kconfig/zconf.tab.c: In Funktion »expr_print_file_helper«:

scripts/kconfig/expr.c:1090:8: Warnung: ignoring return value of »fwrite«, declared with attribute warn_unused_result

scripts/kconfig/zconf.tab.c: In Funktion »conf_write_autoconf«:

scripts/kconfig/confdata.c:745:12: Warnung: ignoring return value of »fwrite«, declared with attribute warn_unused_result

scripts/kconfig/confdata.c:746:12: Warnung: ignoring return value of »fwrite«, declared with attribute warn_unused_result

scripts/kconfig/zconf.tab.c: In Funktion »conf_write«:

scripts/kconfig/confdata.c:508:13: Warnung: ignoring return value of »fwrite«, declared with attribute warn_unused_result

HOSTLD scripts/kconfig/conf

#

# configuration written to .config

#

+ nice -n 20 make -j8

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

CHK include/linux/version.h

SYMLINK include/asm -> include/asm-arm

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

CHK include/linux/utsrelease.h

HOSTCC scripts/kallsyms

HOSTCC scripts/conmakehash

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

scripts/kallsyms.c: In Funktion »read_symbol«:

scripts/kallsyms.c:112:9: Warnung: ignoring return value of »fgets«, declared with attribute warn_unused_result

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/mod/sumversion.o

scripts/mod/modpost.c: In Funktion »get_markers«:

scripts/mod/modpost.c:1562:12: Warnung: ignoring return value of »asprintf«, declared with attribute warn_unused_result

scripts/mod/modpost.c: In Funktion »add_marker«:

scripts/mod/modpost.c:1982:10: Warnung: ignoring return value of »asprintf«, declared with attribute warn_unused_result

HOSTLD scripts/mod/modpost

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

CC init/main.o

CHK include/linux/compile.h

CC init/do_mounts.o

CC init/do_mounts_rd.o

CC init/do_mounts_initrd.o

CC init/initramfs.o

CC init/calibrate.o

HOSTCC usr/gen_init_cpio

UPD include/linux/compile.h

CC init/version.o

usr/gen_init_cpio.c: In Funktion »cpio_mkfile«:

usr/gen_init_cpio.c:357:10: Warnung: ignoring return value of »fwrite«, declared with attribute warn_unused_result

CC arch/arm/kernel/compat.o

CC arch/arm/kernel/elf.o

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

/datadir/al/android/project-voodoo-linux_gt-i9000-3eae10d/Kernel/scripts/gen_initramfs_list.sh: Cannot open '../../output/ramdisk-voodoo/uncompressed'

make[1]: *** [usr/initramfs_data.cpio] Fehler 1

make: *** [usr] Fehler 2

make: *** Warte auf noch nicht beendete Prozesse...

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

CC arch/arm/kernel/irq.o

CC arch/arm/kernel/process.o

CC arch/arm/kernel/ptrace.o

CC arch/arm/kernel/return_address.o

CC arch/arm/kernel/setup.o

CC arch/arm/kernel/signal.o

CC arch/arm/kernel/sys_arm.o

arch/arm/kernel/return_address.c:61: warning: #warning "TODO: return_address should use unwind tables"

LD init/mounts.o

CC arch/arm/kernel/stacktrace.o

LD init/built-in.o

CC arch/arm/kernel/time.o

CC arch/arm/kernel/traps.o

CC arch/arm/kernel/armksyms.o

CC arch/arm/kernel/module.o

CC arch/arm/kernel/bios32.o

CC arch/arm/kernel/isa.o

CC arch/arm/kernel/sys_oabi-compat.o

CC arch/arm/kernel/unwind.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

+ cd ..

+ '[' -s Kernel/arch/arm/boot/zImage ']'

firstserver al /datadir/al/android/project-voodoo-linux_gt-i9000-3eae10d $

###

From my point of view it looks like that there are some missing parts e.g.: ../../output/ramdisk-voodoo/uncompressed

Please can you help me to build your Kernel for Samsung GT-I9000

Many thanks