[Galaxy S Plus I9001 Android Development] buffo1987:
What Do You Want To Do ?
####################################################
# 0 = Setup Requirements for Compile #
#--------------------------------------------------#
# 1 = Clone a GitHub Repository #
#--------------------------------------------------#
# 2 = Build zImage and Modules (local) #
#--------------------------------------------------#
# 3 = boot.img / Ramdisk tools #
#--------------------------------------------------#
# * Extract Ramdisk of existing boot.img #
#--------------------------------------------------#
# * Unpack the Ramdisk #
#--------------------------------------------------#
# * Repack the Ramdisk #
#--------------------------------------------------#
# * Unite Ramdisk and zImage to boot.img #
#--------------------------------------------------#
# 4 = Crate a flashable .Zip #
#--------------------------------------------------#
# 5 = All in one Solution (ideal for beginners) #
#--------------------------------------------------#
# * Will perform all steps (1-4) Automatically#
#--------------------------------------------------#
# 6 = Check for Updates #
#--------------------------------------------------#
# 7 = Contact / Credits / License #
####################################################

5

You've decided to use on of the pre-set All In One Solutions.
-------------------------------------------------------------
Please choose which Kernel you want to Compile
----------------------------------------------

DiabloKernel

#############################################
# 1 = Compile DiabloKernel #
#-------------------------------------------#
# 2 = Compile HighPerformance + #
#############################################

More Options

#############################################
# 4 = Arco's GitHub as Base #
#-------------------------------------------#
# 5 = Ivendor's Github as Base #
#############################################
1

Please choose the KernelVersion

####################################
# 1 = Kernel 3.0 [JB Branch] #
#----------------------------------#
# 2 = Kernel 3.0 [ICS Branch] #
#----------------------------------#
# 3 = Kernel 2.6.35 [ICS Branch] #
####################################

1
Under which OS shall the Kernel work ?

##################################
# 1 = Ics Cream Sandwich (4.0) #
#--------------------------------#
# 2 = Jelly Bean (4.1) #
##################################

2

Choose the Compiler you want to use:

#########################################################
# 1 = ARM EABI Linaro v4.7.2 - might be a bit unstable #
#-------------------------------------------------------#
# 2 = ARM EABI Linaro v4.6.2 - might be a bit unstable #
#-------------------------------------------------------#
# 3 = ARM EABI Linaro v4.4.3 - should be stable #
#-------------------------------------------------------#
# 4 = Individual Compiler #
#########################################################
Press 1,2,3 or 4 to set up the Compiler

3

Your Kernel will be build with ARM EABI Linaro v4.4.3
-----------------------------------------------------
Please choose a Option

#############################################
# 1 = Build from Source (GitHub) #
#-------------------------------------------#
# 2 = Build/Rebuild from Local Repo #
#############################################

2

Please Choose how fast you Kernel shall be build

###############################
# 1 = -j5 #
# 2 = -j10 #
# 3 = -j25 #
# 4 = -j50 #
# 5 = -j100 #
# 6 = -jx, Individual #
###############################
1

Your Kernel will be build with -j5

Now relax, the rest will be done 100% by the Script ;)
-----------------------------------------------------
Depending on your CPU Speed, it can take 1-10 min

Making ariesve_defconfig for AriesVE
#
# configuration written to .config
#

Building Kernel with -j5
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CC scripts/mod/empty.o
[COLOR="Red"]/home/benni/android/kernel/toolchains/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/as: error while loading shared libraries: [/COLOR]libz.so.1: cannot open shared object file: No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....

Building Modules
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `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 scripts/checksyscalls.sh
CC scripts/mod/empty.o
/home/benni/android/kernel/toolchains/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/as: [COLOR="Red"]error while loading shared libraries: [/COLOR]libz.so.1: cannot open shared object file: No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

Extracting zImage+Modules and Modules
cp: `./zImage+Modules/dhd.ko' and `zImage+Modules/dhd.ko' are the same file
cp: `./zImage+Modules/cifs.ko' and `zImage+Modules/cifs.ko' are the same file
cp: `./zImage+Modules/scsi_wait_scan.ko' and `zImage+Modules/scsi_wait_scan.ko' are the same file

Building and extracting boot.img

./mkbootimg: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
cp: cannot stat `/home/benni/android/KernelToolBox/GitClones/Diablo96/jb-3.0/Boot.img/boot.img': No such file or directory
Generating Update .Zip and placing in boot.img and Modules
zip warning: name not matched: boot.img

zip error: Nothing to do! (try: zip -r Update_Boot.img.zip . -i boot.img)
adding: system/lib/modules/cifs.ko (deflated 60%)
adding: system/lib/modules/dhd.ko (deflated 58%)
adding: system/lib/modules/scsi_wait_scan.ko (deflated 66%)

Pushing optional init.d Folder to .zip
adding: system/etc/init.d/ (stored 0%)

Renaming and Closing .zip

rm: cannot remove `boot.img': No such file or directory

Your Kernel is now Compiled and compressed to a flashable zip
-------------------------------------------------------------