[meta-freescale] imx-gpu-sdk do_install fails
Otavio Salvador
otavio.salvador at ossystems.com.br
Thu Jan 12 05:21:01 PST 2017
Hello Tom, could you take a look at this?
On Wed, Jan 11, 2017 at 4:37 PM, Stepan Salenikovich
<stepan.salenikovich at savoirfairelinux.com> wrote:
> Hi,
> I'm trying to build fsl-image-multimedia-full on current master
> for the nitrogen6x with the distro set to fslc-wayland.
>
> The do_install for imx-gpu-sdk fails with the following error.
> There are also many warnings before it about the include and library
> paths being set to /usr/include and /usr/lib... so it seems there
> is possibly a prefix missing somewhere causing the wrong header
> to be included?
>
> eabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.3.2/DemoFramework/FslBase/obj/Yocto/Release/libFslBase.a -lIL -lEGL -lGLESv2 -lwayland-cursor -lwayland-client -lm -ldl -Wl,--library-path=/usr/lib,-rpath-link=/usr/lib
> | /home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/x86_64-linux/usr/libexec/arm-fslc-linux-gnueabi/gcc/arm-fslc-linux-gnueabi/6.3.0/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
> | Installed to: /home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.3.2/bin/GLES3/E1_1_VBOs
> | arm-fslc-linux-gnueabi-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/nitrogen6x -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0=/usr/src/debug/imx-gpu-sdk/2.3.2-r0 -fdebug-prefix-map=/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/nitrogen6x= -fvisibility-inlines-hidden -Wall -fPIC -DPIC -std=c++11 -g -DFSL_ENABLE_GRAPHICS_ES3 -DEGL_API_WL -DEGL_API_FB -pthread -DFSL_PLATFORM_YOCTO -fno-strict-aliasing -fno-optimize-sibling-calls -DLINUX -I/usr/include -I/inc -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.
> 3.2/DemoFramework/FslBase/include -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.3.2/DemoFramework/FslDemoApp/include -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.3.2/DemoFramework/FslDemoAppGLES3/include -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.3.2/DemoFramework/FslGraphics/include -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/imx-gpu-sdk-2.3.2/DemoFramework/FslGraphicsGLES3/include -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/nitrogen6x/usr/include/glib-2.0 -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/nitrogen6x/usr/includ
> e/gstreamer-1.0 -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/nitrogen6x/usr/lib/glib-2.0/include -I/home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/sysroots/nitrogen6x/usr/lib/gstreamer-1.0/include -o obj/Yocto_Wayland/Release/source/DirectMultiSamplingVideoYUV.o -c source/DirectMultiSamplingVideoYUV.cpp
> | cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
> | source/DirectMultiSamplingVideoYUV.cpp: In member function 'virtual void Fsl::DirectMultiSamplingVideoYUV::Draw()':
> | source/DirectMultiSamplingVideoYUV.cpp:321:83: error: 'glTexDirectVIVMap' was not declared in this scope
> | glTexDirectVIVMap(GL_TEXTURE_2D, WIDTH, HEIGHT, GL_ALPHA, &logical, &yAddr);
> | ^
> | source/DirectMultiSamplingVideoYUV.cpp:322:47: error: 'glTexDirectInvalidateVIV' was not declared in this scope
> | glTexDirectInvalidateVIV(GL_TEXTURE_2D);
> | ^
> | GNUmakefile_Yocto:173: recipe for target 'obj/Yocto_Wayland/Release/source/DirectMultiSamplingVideoYUV.o' failed
> | make: *** [obj/Yocto_Wayland/Release/source/DirectMultiSamplingVideoYUV.o] Error 1
> | WARNING: exit code 2 from a shell command.
> | ERROR: Function failed: do_install (log file is located at /home/ssalenikovich/projects/fsl-community-bsp-master/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/temp/log.do_install.15970)
> ERROR: Task (/home/ssalenikovich/projects/fsl-community-bsp-master/sources/meta-freescale-distro/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb:do_install) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4044 tasks of which 4008 didn't need to be rerun and 1 failed.
> NOTE: Writing buildhistory
>
> Summary: 1 task failed:
> /home/ssalenikovich/projects/fsl-community-bsp-master/sources/meta-freescale-distro/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb:do_install
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> -stepan
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list