[Sony Cross-Device General] Gustavo RD78:
ok I will describe here as are my ways

I downloaded toolchains starting this command

git clone git://github.com/DooMLoRD/android_prebuilt_toolchains.git toolchains

then I put it so

/home/gustavo/android/toolchains/android_prebuilt_toolchains

bashrc path

#Android Toolchain PATH
export ARCH=arm
export CCOMPILE=$CROSS_COMPILE
export CROSS_COMPILE=arm-linux-androideabi-
export PATH=$PATH:/home/gustavo/android/toolchains/android_prebuilt_toolchains/arm-linux-androideabi-4.7/bin

copied

/home/gustavo/android/toolchains/android_prebuilt_toolchains/[COLOR="Red"]arm-linux-androideabi-4.7[/COLOR]

for

/home/gustavo/[COLOR="Red"]arm-linux-androideabi-4.7[/COLOR]

then I start the service

gustavo@ubuntu:~$ cd android/kernel
gustavo@ubuntu:~/android/kernel$ ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- make fusion3_odin_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
gustavo@ubuntu:~/android/kernel$ ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- make -j8
scripts/kconfig/conf --silentoldconfig Kconfig
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/kdebug.h
CHK include/linux/version.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/local.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sizes.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Generating include/generated/mach-types.h
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
CC kernel/bounds.s
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
SHIPPED scripts/genksyms/lex.lex.c
SHIPPED scripts/genksyms/keywords.hash.c
SHIPPED scripts/genksyms/parse.tab.h
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/lex.lex.o
/home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc -print-file-name=include [Errno 8] Exec format error -I/home/gustavo/android/kernel/arch/arm/include -Iarch/arm/include/generated -Iinclude -include /home/gustavo/android/kernel/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -fstack-protector -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fomit-frame-pointer -g -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(bounds) -DKBUILD_MODNAME=KBUILD_STR(bounds) -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c [Errno 8] Exec format error
make[1]: *** [kernel/bounds.s] Error 8
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 25: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/home/gustavo/android/kernel/scripts/gcc-version.sh: line 26: /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
CC scripts/mod/empty.o
/home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /home/gustavo/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc -print-file-name=include [Errno 8] Exec format error -I/home/gustavo/android/kernel/arch/arm/include -Iarch/arm/include/generated -Iinclude -include /home/gustavo/android/kernel/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -fstack-protector -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fomit-frame-pointer -g -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(empty) -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c [Errno 8] Exec format error
make[2]: *** [scripts/mod/empty.o] Error 8
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
HOSTLD scripts/genksyms/genksyms
make: *** [scripts] Error 2
gustavo@ubuntu:~/android/kernel$

always that damn exit

However not seem to be problems with path

maybe some application package is missing... will be?

---------- Post added at 01:19 AM ---------- Previous post was at 12:49 AM ----------

from this error I tried to run the command `sudo` (some permission to binary file?)

being

gustavo@ubuntu:~$ cd android/kernel
gustavo@ubuntu:~/android/kernel$ sudo ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- make fusion3_odin_defconfig
[sudo] password for gustavo:
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
gustavo@ubuntu:~/android/kernel$ ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- make -j8
scripts/kconfig/conf --silentoldconfig Kconfig

*** Error during update of the configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
gustavo@ubuntu:~/android/kernel$

Here the output is quite different from previous

if anyone knows what is happening please enlighten me