Hi there,
i tried to compile the removed core/linux-sun7i Kernel package on my Cubietruck ( i need the package because in the Mainline Kernel it seems that the /sys/class/power_supply/ is empty due to the missing support in the .dtb files).
While compiling i get this error.
$this->bbcode_second_pass_code('', '
In file included from include/linux/compiler.h:48:0,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
distcc[1618] ERROR: compile kernel/bounds.c on 10.32.128.5:3634 failed
distcc[1618] (dcc_build_somewhere) Warning: remote compilation of 'kernel/bounds.c' failed, retrying locally
distcc[1618] Warning: failed to distribute kernel/bounds.c to 10.32.128.5:3634, running locally instead
In file included from include/linux/compiler.h:48:0,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
distcc[1618] ERROR: compile kernel/bounds.c on localhost failed
/mnt/sda/archie/PKGBUILDs/core/linux-sun7i/src/linux-sunxi-9a1cd034181af628d4145202289e1993c1687db6/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:987: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
')
Compiling the linux-armv7 for example works fine.
Since i´am not so familiar whith compiling packages but i hope that someone has an idea for me what i did wrong.
Edit: this error occurs with and without distcc.
Regards
h4xx