How to compile the kernel without errors


#1

Hi, I tried to compile the kernel but everytime when I run ./build.sh I got a lot of errors. I am compiling with the version 6 of gcc linux arm. (Version 7 produced even more errors…)

Here is the error code I get:

/home/annika/BPI-M3-bsp/linux-sunxi/./Kbuild:35: recipe for target ‘kernel/bounds.s’ failed make[2]: *** [kernel/bounds.s] Error 1 Makefile:988: recipe for target ‘prepare0’ failed make[1]: *** [prepare0] Error 2 make[1]: *** Waiting for unfinished jobs… HOSTLD scripts/genksyms/genksyms Makefile:509: recipe for target ‘scripts’ failed make[1]: *** [scripts] Error 2 make[1]: Leaving directory ‘/home/annika/BPI-M3-bsp/linux-sunxi’ Makefile:59: recipe for target ‘kernel’ failed make: *** [kernel] Error 2

I have cloned the bsp code from: https://github.com/BPI-SINOVOIP/BPI-M3-bsp

Has anyone an idea, what is going wrong?