[Galaxy S Plus I9001 Android Development] yussuf007:
yussuf@yussuf:~$ android

yussuf@yussuf:~$ sudo apt-get install git-core gnupg flex bison gperf build-essential \

> zip curl libc6-dev libncurses5-dev:i386 lib32ncurses5-dev x11proto-core-dev \

> libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \

> libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \

> python-markdown libxml2-utils xsltproc zlib1g-dev:i386

[sudo] password for yussuf:

Reading package lists... Done

Building dependency tree

Reading state information... Done

git-core is already the newest version.

lib32ncurses5-dev is already the newest version.

x11proto-core-dev is already the newest version.

x11proto-core-dev set to manually installed.

zip is already the newest version.

gnupg is already the newest version.

libc6-dev is already the newest version.

openjdk-6-jdk is already the newest version.

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

libncurses5-dev : Conflicts: libncurses5-dev:i386 but 5.9-4 is to be installed

libncurses5-dev:i386 : Conflicts: libncurses5-dev but 5.9-4 is to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

yussuf@yussuf:~$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so': File exists

yussuf@yussuf:~$ mkdir android

yussuf@yussuf:~$ cd android

yussuf@yussuf:~/android$ mkdir kernel

yussuf@yussuf:~/android$ git clone git://github.com/DooMLoRD/android_prebuilt_toolchains.git toolchains

Cloning into 'toolchains'...

remote: Counting objects: 693, done.

remote: Compressing objects: 100% (381/381), done.

remote: Total 693 (delta 254), reused 693 (delta 254)

Receiving objects: 100% (693/693), 107.13 MiB | 2.58 MiB/s, done.

Resolving deltas: 100% (254/254), done.

yussuf@yussuf:~/android$ git clone git://github.com/arco/samsung-kernel-msm7x30.git -b ics-3.0

Cloning into 'samsung-kernel-msm7x30'...

remote: Counting objects: 83142, done.

remote: Compressing objects: 100% (50685/50685), done.

remote: Total 83142 (delta 40745), reused 58592 (delta 31562)

Receiving objects: 100% (83142/83142), 138.61 MiB | 2.22 MiB/s, done.

Resolving deltas: 100% (40745/40745), done.

yussuf@yussuf:~/android$ cd samsung-kernel-msm7x30

yussuf@yussuf:~/android/samsung-kernel-msm7x30$ export ARCH=arm

yussuf@yussuf:~/android/samsung-kernel-msm7x30$ export CROSS_COMPILE=~/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-

yussuf@yussuf:~/android/samsung-kernel-msm7x30$ 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

#

yussuf@yussuf:~/android/samsung-kernel-msm7x30$ 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

*** End of the configuration.

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

yussuf@yussuf:~/android/samsung-kernel-msm7x30$ make -j5

make: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: Command not found

scripts/kconfig/conf --silentoldconfig Kconfig

make: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: Command not found

CHK include/linux/version.h

UPD include/linux/version.h

/home/yussuf/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 25: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory

/home/yussuf/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 26: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory

/home/yussuf/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 25: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory

HOSTCC scripts/genksyms/genksyms.o

/home/yussuf/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 26: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory

CC scripts/mod/empty.o

/bin/sh: 1: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: not found

make[2]: *** [scripts/mod/empty.o] Error 127

make[1]: *** [scripts/mod] Error 2

make[1]: *** Waiting for unfinished jobs....

SHIPPED scripts/genksyms/lex.c

SHIPPED scripts/genksyms/parse.h

SHIPPED scripts/genksyms/keywords.c

SHIPPED scripts/genksyms/parse.c

HOSTCC scripts/genksyms/lex.o

HOSTCC scripts/genksyms/parse.o

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

Generating include/generated/mach-types.h

CC kernel/bounds.s

/bin/sh: 1: /home/yussuf/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: not found

make[1]: *** [kernel/bounds.s] Error 127

make: *** [prepare0] Error 2

make: *** Waiting for unfinished jobs....

HOSTLD scripts/genksyms/genksyms

make: *** [scripts] Error 2

yussuf@yussuf:~/android/samsung-kernel-msm7x30$

same result

the toolchain in the correct dir so i dont think just...

The following packages have unmet dependencies:

libncurses5-dev : Conflicts: libncurses5-dev:i386 but 5.9-4 is to be installed

libncurses5-dev:i386 : Conflicts: libncurses5-dev but 5.9-4 is to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

yussuf@yussuf:~$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so': File exists

i think the orange command couses my problem because first time got the same error (it say exisist, but in build say doesent exists)

i tryed rm /usr/lib/i386-linux-gnu/mesa/libGL.so.1 and rm /usr/lib/i386-linux-gnu/libGL.so

then reinstall

and i tryed ubuntu 12.04 in virtualbox and 2x fresh install (again java, sdk, apach, toolchain and kernel repo download)

ps attached my 2 file in 1 .txt