by andylgh »
use:make zynq_zed_config + make also fail
andylgh@andylgh-virtual-machine:~/work/xillinux/xillinux-u-boot-xillinux$ make zynq_zed_config
Configuring for zynq_zed board...
andylgh@andylgh-virtual-machine:~/work/xillinux/xillinux-u-boot-xillinux$ make
Generating include/autoconf.mk
In file included from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler.h:40:0,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/byteorder/little_endian.h:12,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/asm/byteorder.h:29,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/compiler.h:112,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/image.h:36,
from include/common.h:116:
/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler-gcc.h:87:1: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
Generating include/autoconf.mk.dep
In file included from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler.h:40:0,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/byteorder/little_endian.h:12,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/asm/byteorder.h:29,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/compiler.h:112,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/image.h:36,
from include/common.h:116:
/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler-gcc.h:87:1: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
arm-linux-gnueabihf-gcc -DDO_DEPS_ONLY \
-g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -fno-strict-aliasing -mno-unaligned-access -D__KERNEL__ -I/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include -fno-builtin -ffreestanding -nostdinc -isystem /home/andylgh/work/ebit_linux/tool/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
In file included from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler.h:40:0,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/byteorder/little_endian.h:12,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/asm/byteorder.h:29,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/compiler.h:112,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/image.h:36,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/common.h:116,
from lib/asm-offsets.c:18:
/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler-gcc.h:87:1: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
Makefile:714: recipe for target 'lib/asm-offsets.s' failed
use:make zynq_zed_config + make also fail
andylgh@andylgh-virtual-machine:~/work/xillinux/xillinux-u-boot-xillinux$ [b]make zynq_zed_config[/b]
Configuring for zynq_zed board...
andylgh@andylgh-virtual-machine:~/work/xillinux/xillinux-u-boot-xillinux$ [b]make[/b]
Generating include/autoconf.mk
In file included from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler.h:40:0,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/byteorder/little_endian.h:12,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/asm/byteorder.h:29,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/compiler.h:112,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/image.h:36,
from include/common.h:116:
/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler-gcc.h:87:1: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
Generating include/autoconf.mk.dep
In file included from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler.h:40:0,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/byteorder/little_endian.h:12,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/asm/byteorder.h:29,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/compiler.h:112,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/image.h:36,
from include/common.h:116:
/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler-gcc.h:87:1: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
arm-linux-gnueabihf-gcc -DDO_DEPS_ONLY \
-g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -fno-strict-aliasing -mno-unaligned-access -D__KERNEL__ -I/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include -fno-builtin -ffreestanding -nostdinc -isystem /home/andylgh/work/ebit_linux/tool/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
In file included from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler.h:40:0,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/byteorder/little_endian.h:12,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/asm/byteorder.h:29,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/compiler.h:112,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/image.h:36,
from /home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/common.h:116,
from lib/asm-offsets.c:18:
/home/andylgh/work/xillinux/xillinux-u-boot-xillinux/include/linux/compiler-gcc.h:87:1: fatal error: linux/compiler-gcc7.h: No such file or directory
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
Makefile:714: recipe for target 'lib/asm-offsets.s' failed