[Q] /bin/sh: -c: line 0: syntax error near unexpected token `('

Hey guys i'm so close to getting a complete build on a build but it fails to build the kernel :/. The error:

Code:
/bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `set -e; echo ' CC scripts/mod/empty.o'; /home/zohaib/android/kernel/htc/msm8660/scripts/gcc-wrapper.py /home/zohaib/android/prebuilts/misc/linux-x86/ccache/ccache /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem ccache: FATAL: /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc: execv returned (No such file or directory) -I/home/zohaib/android/kernel/htc/msm8660/arch/arm/include -Iarch/arm/include/generated -Iinclude -I/home/zohaib/android/kernel/htc/msm8660/include -include include/generated/autoconf.h -I/home/zohaib/android/kernel/htc/msm8660/scripts/mod -Iscripts/mod -D__KERNEL__ -mlittle-endian -I/home/zohaib/android/kernel/htc/msm8660/arch/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 -Wno-unused-variable -O3 -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 -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize -funswitch-loops -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -marm -march=armv7-a -mfpu=neon -ftree-vectorize -mvectorize-with-neon-quad -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o /home/zohaib/android/kernel/htc/msm8660/scripts/mod/empty.c; scripts/basic/fixdep scripts/mod/.empty.o.d scripts/mod/empty.o '/home/zohaib/android/kernel/htc/msm8660/scripts/gcc-wrapper.py /home/zohaib/android/prebuilts/misc/linux-x86/ccache/ccache /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem ccache: FATAL: /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc: execv returned (No such file or directory) -I/home/zohaib/android/kernel/htc/msm8660/arch/arm/include -Iarch/arm/include/generated -Iinclude -I/home/zohaib/android/kernel/htc/msm8660/include -include include/generated/autoconf.h -I/home/zohaib/android/kernel/htc/msm8660/scripts/mod -Iscripts/mod -D__KERNEL__ -mlittle-endian -I/home/zohaib/android/kernel/htc/msm8660/arch/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 -Wno-unused-variable -O3 -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 -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize -funswitch-loops -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -marm -march=armv7-a -mfpu=neon -ftree-vectorize -mvectorize-with-neon-quad -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o /home/zohaib/android/kernel/htc/msm8660/scripts/mod/empty.c' > scripts/mod/.empty.o.tmp; rm -f scripts/mod/.empty.o.d; mv -f scripts/mod/.empty.o.tmp scripts/mod/.empty.o.cmd' make[4]: *** [scripts/mod/empty.o] Error 1 make[3]: *** [scripts/mod] Error 2 make[2]: *** [scripts] Error 2 make[2]: *** Waiting for unfinished jobs.... target thumb C++: libv8 <= external/v8/src/contexts.cc target thumb C++: libv8 <= external/v8/src/conversions.cc target thumb C++: libv8 <= external/v8/src/counters.cc target thumb C++: libv8 <= external/v8/src/cpu-profiler.cc target thumb C++: libv8 <= external/v8/src/data-flow.cc target thumb C++: libv8 <= external/v8/src/date.cc target thumb C++: libv8 <= external/v8/src/dateparser.cc target thumb C++: libv8 <= external/v8/src/debug.cc target thumb C++: libv8 <= external/v8/src/debug-agent.cc target thumb C++: libv8 <= external/v8/src/deoptimizer.cc make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/home/zohaib/android/kernel/htc/msm8660' make: *** [TARGET_KERNEL_BINARIES] Error 2 make: *** Waiting for unfinished jobs.... :~/android#

Any help is greatly appreciated

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by gilberto.wintheiser
2 hours ago
Last post by anjali40
1 hour ago
Last post by jerde.eladio
3 hours ago
Last post by shanna.heathcote
2 hours ago
Last post by cswaniawski
1 hour ago
Last post by diana.gaylord
3 hours ago
Last post by heaney.ed
4 hours ago
Last post by jennings96
1 hour ago