[meta-freescale] FTBFS: fsl-gpu-sdk using DirectFB backend

Chiyosuke Fujii chiyosuke.f at gmail.com
Sat Apr 5 00:44:16 PDT 2014


Hello,

it seems that libEGL-dfb.so doesn't have fbCreateWindow nor dfbCreateWindow.
also it doesn't have fbGetDisplayByIndex.
libEGL-fb.so has both fbCreateWindow and fbGetDisplayByIndex.

I'm not sure if this is a culprit. I'm sorry if I misunderstood something.


2014-04-05 12:55 GMT+09:00 Otavio Salvador <otavio at ossystems.com.br>:

> Hello,
>
> We've been exercising the BSP in our autobuilder and trying to cover
> as much recipes as possible, across backends, and we found another
> failure:
>
> | make[1]: Entering directory
>
> `.../build-directfb/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/fsl-gpu-sdk/1.1-r0/fsl-gpu-sdk-1.1/Samples/GLES1.1/01_SimpleTriangle'
> |  LD  01_SimpleTriangle
> | arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork
> -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
> --sysroot=.../build-directfb/tmp/sysroots/imx6qsabresd -o
> ./01_SimpleTriangle SimpleTriangle.o ../common/src/fsl_egl.o
> ../common/src/glu3.o -lstdc++ -lm -lGLESv1_CM -lEGL  -ldl
>
> -Wl,--library-path=.../build-directfb/tmp/sysroots/imx6qsabresd/usr/lib,-rpath-link=.../build-directfb/tmp/sysroots/imx6qsabresd/usr/lib
> | ../common/src/fsl_egl.o: In function `fsl_getNativeDisplay':
> |
> .../build-directfb/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/fsl-gpu-sdk/1.1-r0/fsl-gpu-sdk-1.1/Samples/GLES1.1/01_SimpleTriangle/../common/src/fsl_egl.c:379:
> undefined reference to `fbGetDisplayByIndex'
> | ../common/src/fsl_egl.o: In function `fsl_createwindow':
> |
> .../build-directfb/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/fsl-gpu-sdk/1.1-r0/fsl-gpu-sdk-1.1/Samples/GLES1.1/01_SimpleTriangle/../common/src/fsl_egl.c:424:
> undefined reference to `fbCreateWindow'
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [01_SimpleTriangle] Error 1
> | make[1]: Leaving directory
>
> `.../build-directfb/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/fsl-gpu-sdk/1.1-r0/fsl-gpu-sdk-1.1/Samples/GLES1.1/01_SimpleTriangle'
> | 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
>
> .../build-directfb/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/fsl-gpu-sdk/1.1-r0/temp/log.do_compile.26172)
> recipe fsl-gpu-sdk-1.1-r0: task do_compile: Failed
> ERROR: Task 1436
> (.../sources/meta-fsl-demos/recipes-graphics/fsl-gpu-sdk/
> fsl-gpu-sdk_1.1.bb,
> do_compile) failed with exit code '1'
> recipe alsa-tools-1.0.27-r0: task do_patch: Succeeded
> recipe evtest-1.25-r0: task do_configure: Succeeded
> recipe perf-1.0-r8: task do_compile: Succeeded
> recipe gst-fsl-plugin-3.0.10-r0: task do_configure: Succeeded
> recipe gst-plugins-good-0.10.31-r8: task do_compile: Succeeded
> recipe gst-plugins-bad-0.10.23-r4: task do_configure: Succeeded
> recipe ltp-20140115-r0: task do_package_write_rpm: Succeeded
> Tasks Summary: Attempted 3225 tasks of which 2430 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>   .../sources/meta-fsl-demos/recipes-graphics/fsl-gpu-sdk/
> fsl-gpu-sdk_1.1.bb,
> do_compile
>
> To reproduce, use...
>
> conf/local.conf:
>
> DISTRO_FEATURES_remove = "x11 wayland"
> DISTRO_FEATURES_append = " directfb"
>
> $: bitbake fsl-gpu-sdk
>
> I am leaving to US today and won't have time to debug. If someone has
> some spare time please take a look ;-)
>
> Regards,
>
> --
> 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
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140405/9ac430f7/attachment-0001.html>


More information about the meta-freescale mailing list