sama5d3-xplained Yocto build error:gcc_header(__GNUC__)

Discussions about all user software around SAM Series.

Moderator: nferre

eddylai
Posts: 2
Joined: Sat Jun 18, 2016 4:13 am

sama5d3-xplained Yocto build error:gcc_header(__GNUC__)

Wed Jun 22, 2016 1:57 am

according to README from https://github.com/linux4sam/meta-atmel
failed to build sama5d3-xplained Yocto Yocto Linux with following error.
am I missing installed any component?
---------------------------------------------------------------
Build Configuration:
BB_VERSION = "1.31.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "sama5d3-xplained"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20160621"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard cortexa5"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "master:7b9e1f5ad8a427356f2ec516b1718138a7d3c64e"
meta-atmel = "master:df10071966a78f0a808216bd02cf961b171cbb0c"
meta-oe
meta-networking
meta-python
meta-ruby
meta-multimedia = "master:9cd117a5dc5f26133a855d1cc3bf9604ae178685"
meta-qt5 = "master:15a4f86005e4435b9e0a2f1e7d0477e327fcbe83"

NOTE: Preparing RunQueue
:
:
ERROR: Logfile of failure stored in: /media/user/data/poky/atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/linux-at91/4.1+gitAUTOINC+6546e3c770-r0/temp/log.do_compile.2358
Log data follows:
| DEBUG: Executing shell function do_compile
| CHK include/config/kernel.release
| CHK include/generated/uapi/linux/version.h
| GEN ./Makefile
| CC scripts/mod/devicetable-offsets.s
| In file included from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/linux/compiler.h:54:0,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/uapi/linux/stddef.h:1,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/linux/stddef.h:4,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/uapi/linux/posix_types.h:4,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/uapi/linux/types.h:13,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/linux/types.h:5,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/linux/mod_devicetable.h:11,
| from /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/scripts/mod/devicetable-offsets.c:2:
| /media/user/data/poky/atmel/tmp/work-shared/sama5d3-xplained/kernel-source/include/linux/compiler-gcc.h:121:30: fatal error: linux/compiler-gcc6.h: No such file or directory
| #include gcc_header(__GNUC__)
| ^
| compilation terminated.
| make[4]: *** [scripts/mod/devicetable-offsets.s] Error 1
| make[3]: *** [scripts/mod] Error 2
| make[2]: *** [scripts] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /media/user/data/poky/atmel/tmp/work/sama5d3_xplained-poky-linux-gnueabi/linux-at91/4.1+gitAUTOINC+6546e3c770-r0/temp/log.do_compile.2358)
ERROR: Task /media/user/data/meta-atmel/recipes-kernel/linux/linux-at91_4.1.bb:do_compile (/media/user/data/meta-atmel/recipes-kernel/linux/linux-at91_4.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1923 tasks of which 1921 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
/media/user/data/meta-atmel/recipes-bsp/u-boot/u-boot-at91_2015.01.bb:do_compile
/media/user/data/meta-atmel/recipes-kernel/linux/linux-at91_4.1.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Return to “Software”

Who is online

Users browsing this forum: No registered users and 1 guest