Compiling gst-fsl-plugin-2.0.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiling gst-fsl-plugin-2.0.3

1,075 Views
alexandreschneg
Contributor I

Hello,

I'm using an Armadeus APF27 board. I want to use the Freescale Gstreamer plugin but when I try compiling it, I get this error:

mfw_gst_v4lsrc.c:52:19: error: mxcfb.h: No such file or directory

I don't know where I can find this file and where I should add it to solve my problem.

Can anyone help me ?

Regards

Alexandre Schnegg

Labels (3)
0 Kudos
5 Replies

755 Views
LeonardoSandova
Specialist I

This file is a driver header and AFIAK it is installed if the 'MXC Framebuffer support' is enable on the Kernel menuconfig.

Leo

755 Views
alexandreschneg
Contributor I

Thank you for your help.

I was using kernel 2.6.38.8 and this driver isn't available for this version so I switch to 2.6.29.6. Now the compilation stops here:

>>> imx-lib 11.09.01 Building

/usr/bin/make -j1 CC="/home/schnegg/Downloads/armadeus-trunk/buildroot/output/host/usr/bin/ccache /home/schnegg/Downloads/armadeus-trunk/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc" PLATFORM=IMX51 DIRS="sahara2 vpu ipu" CFLAGS="-fPIC -I/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/linux-2.6.29.6/drivers/mxc/security/sahara2/include -I/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/linux-2.6.29.6/include" INCLUDE="-I/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/linux-2.6.29.6/include" -C /home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/imx-lib-11.09.01

make[2]: Entering directory `/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/imx-lib-11.09.01'

/usr/bin/make -C sahara2 all

make[3]: Entering directory `/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/imx-lib-11.09.01/sahara2'

/home/schnegg/Downloads/armadeus-trunk/buildroot/output/host/usr/bin/ccache /home/schnegg/Downloads/armadeus-trunk/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -fPIC -I/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/linux-2.6.29.6/drivers/mxc/security/sahara2/include -I/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/linux-2.6.29.6/include  -DCONFIG_ARCH_MX5 -c -o fsl_shw_rand.o fsl_shw_rand.c

fsl_shw_rand.c:28:30: error: linux/mxc_sahara.h: No such file or directory

fsl_shw_rand.c:29:21: error: sf_util.h: No such file or directory

fsl_shw_rand.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fsl_shw_get_random’

fsl_shw_rand.c:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fsl_shw_add_entropy’

make[3]: *** [fsl_shw_rand.o] Error 1

make[3]: Leaving directory `/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/imx-lib-11.09.01/sahara2'

make[2]: *** [sahara2] Error 2

make[2]: Leaving directory `/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/imx-lib-11.09.01'

make[1]: *** [/home/schnegg/Downloads/armadeus-trunk/buildroot/output/build/imx-lib-11.09.01/.stamp_built] Error 2

make[1]: Leaving directory `/home/schnegg/Downloads/armadeus-trunk/buildroot'

make: *** [all] Error 2

Same issue as this post: LTIB Build error

I have tried to delete the rng/ and sahara2/ with no success.

0 Kudos

755 Views
alexandreschneg
Contributor I

I managed to ignore compilation of sahara2/ and rng/ by modifying the Makefile. Now I've got a lot of errors of this kind:

mxc_ipu_hl_lib.c:2011: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_off’

mxc_ipu_hl_lib.c:2013: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_minfo’

mxc_ipu_hl_lib.c:2013: error: ‘ipu_lib_priv_handle_t’ has no member named ‘istride

mxc_ipu_hl_lib.c:2013: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_off’

mxc_ipu_hl_lib.c:2014: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_minfo’

mxc_ipu_hl_lib.c:2014: error: ‘ipu_lib_priv_handle_t’ has no member named ‘istride

mxc_ipu_hl_lib.c:2014: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_off’

mxc_ipu_hl_lib.c:2016: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_minfo’

mxc_ipu_hl_lib.c:2016: error: ‘ipu_lib_priv_handle_t’ has no member named ‘istride

mxc_ipu_hl_lib.c:2016: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_off’

mxc_ipu_hl_lib.c:2018: error: ‘ipu_lib_priv_handle_t’ has no member named ‘output’

mxc_ipu_hl_lib.c:2023: error: ‘ipu_lib_priv_handle_t’ has no member named ‘istride

mxc_ipu_hl_lib.c:2028: error: ‘ipu_lib_priv_handle_t’ has no member named ‘i_uoff’

Anyone got an idea ?

0 Kudos

755 Views
LeonardoSandova
Specialist I

No idea. Try compiling just the kernel directly (using make) instead of using LTIB.

0 Kudos

755 Views
alexandreschneg
Contributor I

I wonder, is it only possible to use the fsl-gst-plugin on a different board than Freescale ADS ?

Thank you for your help.

0 Kudos