I am not new to linux but a bit of a new to Debian. I am trying to compile a kernel for my Pcduino3 on Debian on my PC (Intel) but I am runing into some problems. Here is what the console spits out after I try to run "make".
Code: Select all
make
Submodule 'cedarx-libs' (https://github.com/linux-sunxi/cedarx-libs.git) registered for path 'cedarx-libs'
Submodule 'linux-sunxi' (https://github.com/linux-sunxi/linux-sunxi.git) registered for path 'linux-sunxi'
Submodule 'sunxi-tools' (https://github.com/linux-sunxi/sunxi-tools.git) registered for path 'sunxi-tools'
Submodule 'u-boot-sunxi' (https://github.com/linux-sunxi/u-boot-sunxi.git) registered for path 'u-boot-sunxi'
Cloning into '/root/download/a20-kernel/linux-sunxi'...
Submodule path 'linux-sunxi': checked out '0c92978520e9576a0631da949c13e79bae846494'
Cloning into '/root/download/a20-kernel/u-boot-sunxi'...
Submodule path 'u-boot-sunxi': checked out '87ca6dc0262d18b76e4749fc6505ef596039656a'
apply patch...
make[1]: Entering directory '/root/download/a20-kernel/u-boot-sunxi'
Configuring for pcDuino3 - Board: sun7i, Options: PCDUINO3,SPL
make[1]: Leaving directory '/root/download/a20-kernel/u-boot-sunxi'
make[1]: Entering directory '/root/download/a20-kernel/u-boot-sunxi'
GEN include/autoconf.mk.dep
GEN include/autoconf.mk
In file included from /root/download/a20-kernel/u-boot-sunxi/include/linux/compiler.h:40:0,
from /root/download/a20-kernel/u-boot-sunxi/include/linux/byteorder/little_endian.h:12,
from /root/download/a20-kernel/u-boot-sunxi/arch/arm/include/asm/byteorder.h:29,
from /root/download/a20-kernel/u-boot-sunxi/include/compiler.h:112,
from /root/download/a20-kernel/u-boot-sunxi/include/image.h:19,
from /root/download/a20-kernel/u-boot-sunxi/include/common.h:94:
/root/download/a20-kernel/u-boot-sunxi/include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
In file included from /root/download/a20-kernel/u-boot-sunxi/include/linux/compiler.h:40:0,
from /root/download/a20-kernel/u-boot-sunxi/include/linux/byteorder/little_endian.h:12,
from /root/download/a20-kernel/u-boot-sunxi/arch/arm/include/asm/byteorder.h:29,
from /root/download/a20-kernel/u-boot-sunxi/include/compiler.h:112,
from /root/download/a20-kernel/u-boot-sunxi/include/image.h:19,
from /root/download/a20-kernel/u-boot-sunxi/include/common.h:94:
/root/download/a20-kernel/u-boot-sunxi/include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
CHK include/config/uboot.release
GEN /root/download/a20-kernel/build/pcduino3-u-boot/Makefile
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC scripts/basic/fixdep
UPD include/config/uboot.release
Using /root/download/a20-kernel/u-boot-sunxi as source for u-boot
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
CC arch/arm/lib/asm-offsets.s
CC lib/asm-offsets.s
In file included from /root/download/a20-kernel/u-boot-sunxi/include/linux/compiler.h:40:0,
from /root/download/a20-kernel/u-boot-sunxi/include/linux/byteorder/little_endian.h:12,
from /root/download/a20-kernel/u-boot-sunxi/arch/arm/include/asm/byteorder.h:29,
from /root/download/a20-kernel/u-boot-sunxi/include/compiler.h:112,
from /root/download/a20-kernel/u-boot-sunxi/include/image.h:19,
from /root/download/a20-kernel/u-boot-sunxi/include/common.h:94,
from /root/download/a20-kernel/u-boot-sunxi/lib/asm-offsets.c:15:
/root/download/a20-kernel/u-boot-sunxi/include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
/root/download/a20-kernel/u-boot-sunxi/./Kbuild:34: recipe for target 'lib/asm-offsets.s' failed
make[3]: *** [lib/asm-offsets.s] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /root/download/a20-kernel/u-boot-sunxi/include/linux/compiler.h:40:0,
from /root/download/a20-kernel/u-boot-sunxi/include/linux/byteorder/little_endian.h:12,
from /root/download/a20-kernel/u-boot-sunxi/arch/arm/include/asm/byteorder.h:29,
from /root/download/a20-kernel/u-boot-sunxi/include/compiler.h:112,
from /root/download/a20-kernel/u-boot-sunxi/include/image.h:19,
from /root/download/a20-kernel/u-boot-sunxi/include/common.h:94,
from /root/download/a20-kernel/u-boot-sunxi/arch/arm/lib/asm-offsets.c:15:
/root/download/a20-kernel/u-boot-sunxi/include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
/root/download/a20-kernel/u-boot-sunxi/./Kbuild:83: recipe for target 'arch/arm/lib/asm-offsets.s' failed
make[3]: *** [arch/arm/lib/asm-offsets.s] Error 1
/root/download/a20-kernel/u-boot-sunxi/Makefile:1018: recipe for target 'prepare0' failed
make[2]: *** [prepare0] Error 2
Makefile:138: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/root/download/a20-kernel/u-boot-sunxi'
Makefile:43: recipe for target 'u-boot' failed
make: *** [u-boot] Error 2