Skip to content

Compiling issue #133

@FlyBoyA

Description

@FlyBoyA

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions