[meta-freescale] [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri

Jens Rehsack rehsack at gmail.com
Wed Jul 8 05:48:59 PDT 2015


> Am 08.07.2015 um 13:42 schrieb Otavio Salvador <otavio at ossystems.com.br>:
> 
> On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack at gmail.com> wrote:
>> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
>> My distro is built without X11 etc., just frame buffer.
>> 
>> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
> 
> I am trying to understand your build failure. What error you had?

Eg.:

... -O2 -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed   -Wl,-soname -Wl,libGLU.so.1 -Wl,-retain-symbols-file -Wl,.libs/libGLU.exp -o .libs/libGLU.so.1.3.1
| /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lGL
| collect2: error: ld returned 1 exit status
| make: *** [libGLU.la] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/run.do_compile.21094:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/log.do_compile.21094)
ERROR: Task 2148 (/home/sno/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/libglu_9.0.0.bb, do_compile) failed with exit code '1'

libglu is an opengl related dependency of libsdl, which is required for xbmc

I enabled opengl in distro-features before, because imx-gpu-viv complains being unbuildable because of mesa requires opengl:

ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/sno/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb RDEPENDS on or otherwise requires it)

Cheers
-- 
Jens Rehsack - rehsack at gmail.com



More information about the meta-freescale mailing list