-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling issue #133
Comments
That's an old compiler. Please follow our documented build instructions: https://www.raspberrypi.com/documentation/computers/linux_kernel.html#building |
I'm trying to have Xenomai RTOS on raspberry pi 3B If I follow the command it throws the error
***
could you guide what could be done |
4.14 is a blast from the past - that's nearly 5 years old! bcm2709_defconfig exists in rpi-4.14.y: https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/configs/bcm2709_defconfig If it doesn't exist in your tree then you don't have our kernel - perhaps you've checked out an upstream commit? Try |
I run the command to check
But the issue I'm facing here is to patch the kernel with the same version that's not matching |
Did you read my previous answer?
|
Yes I did that and followed to patch the kernel again and the after trying the command below I get the error
Do you have idea about this? |
Do you have any update on this ? |
It's clear that you are doing something (possibly several things) wrong, in which case this is a request for help - not what this forum is for. What's the output of |
I understand, I'm not so good at it so maybe there could be issue.
|
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?
The text was updated successfully, but these errors were encountered: