AnsweredAssumed Answered

bitbake compilation error with imx-gst1.0-plugin_4.4.2

Question asked by Vincent Bodin on Jan 17, 2019
Latest reply on Jan 21, 2019 by jimmychan

Dear all,

 

I have a compilation error when I bitbake the package imx-gst1.0-plugin:

../../git/libs/device-2d/imx_2d_device_g2d.c: In function 'imx_g2d_config_input':
| ../../git/libs/device-2d/imx_2d_device_g2d.c:302:23: error: 'G2D_AMPHION_TILED' undeclared (first use in this function); did you mean 'G2D_SUPERTILED'?
| g2d->src.tiling = G2D_AMPHION_TILED;
| ^~~~~~~~~~~~~~~~~
| G2D_SUPERTILED
| ../../git/libs/device-2d/imx_2d_device_g2d.c:302:23: note: each undeclared identifier is reported only once for each function it appears in
| ../../git/libs/device-2d/imx_2d_device_g2d.c: In function 'imx_g2d_blit':
| ../../git/libs/device-2d/imx_2d_device_g2d.c:421:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
| src->mem->paddr = paddr;
| ^
| ../../git/libs/device-2d/imx_2d_device_g2d.c:430:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
| dst->mem->paddr = paddr;
| ^
| ../../git/libs/device-2d/imx_2d_device_g2d.c:466:26: error: 'G2D_AMPHION_TILED' undeclared (first use in this function); did you mean 'G2D_SUPERTILED'?
| if (g2d->src.tiling == G2D_AMPHION_TILED && src->fd[1] >= 0)
| ^~~~~~~~~~~~~~~~~
| G2D_SUPERTILED
| ../../git/libs/device-2d/imx_2d_device_g2d.c:471:26: error: 'G2D_AMPHION_INTERLACED' undeclared (first use in this function); did you mean 'G2D_AMPHION_TILED'?
| g2d->src.tiling |= G2D_AMPHION_INTERLACED;
| ^~~~~~~~~~~~~~~~~~~~~~
| G2D_AMPHION_TILED

 

This is my local.conf:

IMAGE_INSTALL_append = " libstdc++ chkconfig glib-networking glibmm \
pkgconfig \
zlib glib-2.0 evtest \
cpufrequtils \
openssh-sftp-server \
imx-vpu \
firmware-imx \
qtbase \
qtmultimedia \
qtmultimedia-plugins \
dbus \
i2c-tools \
gstreamer1.0-plugins-imx \
imx-gst1.0-plugin \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0 \
psplash \
u-boot-toradex-fsl-fw-utils \
ntfs-3g-ntfsprogs \
"

 

Could you please advice ?

 

Many thanks, Vincent

Outcomes