-
Notifications
You must be signed in to change notification settings - Fork 862
Description
Hello Guys,
When I try to compile the kernel & run the command "make -j4 zImage" I get the following error.
naqvi@raspberrypi:~/rpi-kernel/linux $ make -j4 zImage ./scripts/gcc-version.sh: line 26: /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: cannot execute binary file: Exec format error ./scripts/gcc-version.sh: line 27: /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: cannot execute binary file: Exec format error /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: 1: Syntax error: "(" unexpected /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: 1: Syntax error: "(" unexpected /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: 1: Syntax error: "(" unexpected CHK include/config/kernel.release /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: 1: Syntax error: "(" unexpected Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler /home/naqvi/rpi-kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: 1: Syntax error: "(" unexpected make: *** [Makefile:1115: prepare-compiler-check] Error 1 make: *** Waiting for unfinished jobs....
Do you any suggestions?