[meta-ti] libgles-omap3 error | BeagleBoneBlack | sgx-omap.h: No such file or directory
Denys Dmytriyenko
denys at ti.com
Fri Aug 14 17:49:41 PDT 2015
Benjamin,
Version 5.1.1.2 of libgles-omap3 only builds and works against version 3.14 of
linux-ti-staging kernel in meta-ti. The corresponding update to libgles-omap3
to build against 4.1 kernel hasn't been released yet.
--
Denys
On Sat, Aug 15, 2015 at 12:41:50AM +0000, Benjamin Bimmermann wrote:
> Hello,
> i like to build the libgles-omap3 for the BeagleBoneBlack, but i get the error :
> sgx-omap.h: No such file or directory
> | #include <linux/platform_data/sgx-omap.h>.
> I try to create QT5 for the BeagleboneBlack. I have found and work on this tutorial:http://www.embarcados.com.br/beaglebone-black-qt5-yocto-parte-1/Code: https://bitbucket.org/embarcados/meta-embarcados/src
>
> He has the error in part2 of the tutorial and say that i must make :bitbake -c cleansstate libgles-omap3bitbake libgles-omap3
> but that not solve the Problem. Every Time I get this Error.
> I have only change the bblayer.conf and the local.conf file. All other Files are from git and I have not change anything.
> I hope you can help me.
>
>
>
> ---------------------------------------------------------------------------------------------------------------------------
> My bblayer.conf:LCONF_VERSION = "6"
> BBPATH = "${TOPDIR}"
> BBFILES ?= ""
> BBLAYERS ?= " \
> ${HOME}/bbb/meta-embarcados \
> ${HOME}/bbb/meta-embarcados/meta-bbb \
> ${HOME}/bbb/meta-ti \
> ${HOME}/poky-fido/meta-qt5 \
> ${HOME}/poky-fido/meta-openembedded/meta-oe \
> ${HOME}/poky-fido/meta-openembedded/meta-ruby \
> ${HOME}/poky-fido/meta-openembedded/meta-perl \
> ${HOME}/poky-fido/meta-openembedded/meta-efl \
> ${HOME}/poky-fido/meta-openembedded/meta-multimedia \
> ${HOME}/poky-fido/meta \
> ${HOME}/poky-fido/meta-yocto \ "
> BBLAYERS_NON_REMOVABLE ?= " \
> ${HOME}/poky-fido/meta \
> ${HOME}/poky-fido/meta-yocto \
> "
> ---------------------------------------------------------------------------------------------------------------------------
> My local.conf:BB_NUMBER_THREADS = "7"
> PARALLEL_MAKE = "-j7"
> LICENSE_FLAGS_WHITELIST = "commercial"
> MACHINE = "beaglebone"
> DISTRO = "poky"
> PACKAGE_CLASSES = "package_deb"
> EXTRA_IMAGE_FEATURES = "debug-tweaks"
> CONF_VERSION = "1"
> DISTRO_FEATURES_remove = "x11 wayland"
> BBMASK = "meta-embarcados/recipes-browser/chromium/chromium_%.bbappend"
>
> ---------------------------------------------------------------------------------------------------------------------------
> And the complete LOG:
> PC at PC:~/bbb/build_spain$ bitbake libgles-omap3
> WARNING: Host distribution "Ubuntu-15.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
> Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:00:29
> Parsing of 1788 .bb files complete (0 cached, 1788 parsed). 2296 targets, 351 skipped, 1 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.26.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Ubuntu-15.04"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "beaglebone"
> DISTRO = "poky"
> DISTRO_VERSION = "1.8"
> TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa8"
> TARGET_FPU = "vfp-neon"
> meta-embarcados
> meta-bbb = "fido:dfb2e27bf26b109fc6ccb3bc91924fb3bb24f655"
> meta-ti = "fido:a666b94e9c676711f1389c0628e6c883ef20d5b3"
> meta-qt5 = "fido:fc026381545650e10fdd488d5b2a3b2d78f87793"
> meta-oe
> meta-ruby
> meta-perl
> meta-efl
> meta-multimedia = "fido:10d3c8f85280a0bf867a8e4f84bcda81c290d28e"
> meta
> meta-yocto = "fido:08d32590411568e7bf11612ac695a6e9c6df6286"
>
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Function failed: do_compile (log file is located at /home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/temp/log.do_compile.25613)
> ERROR: Logfile of failure stored in: /home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/temp/log.do_compile.25613
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j7 -e MAKEFLAGS= KERNEL_SRC=/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source KERNEL_PATH=/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source KERNEL_VERSION=4.1.5 CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-poky-linux-gnueabi-ld.bfd AR=arm-poky-linux-gnueabi-ar O=/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-build-artifacts BUILD=release TI_PLATFORM=ti335x SUPPORT_XORG=
> | make -C /home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source M=`pwd`
> | make[1]: Entering directory '/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source'
> | make[2]: Entering directory '/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-build-artifacts'
> | CC [M] /home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.o
> | /home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.c:51:42: fatal error: linux/platform_data/sgx-omap.h: No such file or directory
> | #include <linux/platform_data/sgx-omap.h>
> | ^
> | compilation terminated.
> | /home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source/scripts/Makefile.build:258: recipe for target '/home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.o' failed
> | make[3]: *** [/home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.o] Error 1
> | /home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source/Makefile:1384: recipe for target '_module_/home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/Graphics_SDK_5_01_01_02/GFX_Linux_KM' failed
> | make[2]: *** [_module_/home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/Graphics_SDK_5_01_01_02/GFX_Linux_KM] Error 2
> | make[2]: Leaving directory '/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-build-artifacts'
> | Makefile:146: recipe for target 'sub-make' failed
> | make[1]: *** [sub-make] Error 2
> | make[1]: Leaving directory '/home/PC/bbb/build_spain/tmp/work-shared/beaglebone/kernel-source'
> | Makefile:478: recipe for target 'all' failed
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/PC/bbb/build_spain/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-r22b/temp/log.do_compile.25613)
> ERROR: Task 119 (/home/PC/bbb/meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_5.01.01.02.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 731 tasks of which 720 didn't need to be rerun and 1 failed.
> Waiting for 0 running tasks to finish:
>
> Summary: 1 task failed:
> /home/PC/bbb/meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_5.01.01.02.bb, do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> PC at PC:~/bbb/build_spain
>
> ---------------------------------------------------------------------------------------------------------------------------
>
> Thank you for your Time and I hope you can help me.Have a nice day.
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list