Hi,
I am using Ubuntu desktop 12.04 and LTIB to build the Gstreamer plugin for i.mx 53 qsb.
I am getting the following error
mfw_gst_audio_pp.c:47:31: error: peq_ppp_interface.h: No such file or directory
In file included from mfw_gst_audio_pp.c:54:
mfw_gst_audio_pp.h:100: error: expected specifier-qualifier-list before 'PEQ_PPP_Config'
mfw_gst_audio_pp.c:362: error: expected ')' before '*' token
mfw_gst_audio_pp.c: In function 'parametric_eq_set_parameter':
mfw_gst_audio_pp.c:408: error: 'PEQ_PL' undeclared (first use in this function)
mfw_gst_audio_pp.c:408: error: (Each undeclared identifier is reported only once
mfw_gst_audio_pp.c:408: error: for each function it appears in.)
mfw_gst_audio_pp.c:408: error: 'ppl' undeclared (first use in this function)
mfw_gst_audio_pp.c:411: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'peqpl'
mfw_gst_audio_pp.c:416: error: 'PEQ_I32' undeclared (first use in this function)
mfw_gst_audio_pp.c:416: error: expected expression before ')' token
mfw_gst_audio_pp.c:420: error: expected expression before ')' token
mfw_gst_audio_pp.c: In function 'parametric_eq_do_process':
mfw_gst_audio_pp.c:433: error: 'PEQ_PL' undeclared (first use in this function)
mfw_gst_audio_pp.c:433: error: 'ppl' undeclared (first use in this function)
mfw_gst_audio_pp.c:433: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'peqpl'
mfw_gst_audio_pp.c:434: error: 'PEQ_PPP_Config' undeclared (first use in this function)
mfw_gst_audio_pp.c:434: error: 'ppconfig' undeclared (first use in this function)
mfw_gst_audio_pp.c:434: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'peqconfig'
mfw_gst_audio_pp.c:435: error: 'PEQ_INFO' undeclared (first use in this function)
mfw_gst_audio_pp.c:435: error: 'ppinfo' undeclared (first use in this function)
mfw_gst_audio_pp.c:435: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'pqeinfo'
mfw_gst_audio_pp.c: In function 'parametric_eq_instancelize':
mfw_gst_audio_pp.c:450: error: 'PEQ_PPP_Config' undeclared (first use in this function)
mfw_gst_audio_pp.c:450: error: 'pconfig' undeclared (first use in this function)
mfw_gst_audio_pp.c:451: error: 'PEQ_PL' undeclared (first use in this function)
mfw_gst_audio_pp.c:451: error: 'ppl' undeclared (first use in this function)
mfw_gst_audio_pp.c:452: error: 'PEQ_Mem_Alloc_Info_Sub' undeclared (first use in this function)
mfw_gst_audio_pp.c:452: error: 'mem_sub' undeclared (first use in this function)
mfw_gst_audio_pp.c:469: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'peqconfig'
mfw_gst_audio_pp.c:485: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'peqpl'
mfw_gst_audio_pp.c:504: error: 'PEQ_INSTANCE_CONTEXT' has no member named 'peqconfig'
mfw_gst_audio_pp.c: In function 'mfw_gst_audio_pp_init':
mfw_gst_audio_pp.c:767: warning: format '%s' expects type 'char *', but argument 2 has type 'int'
make[1]: *** [libmfw_gst_audio_pp_la-mfw_gst_audio_pp.lo] Error 1
make[1]: Leaving directory `/home/abc/imx53/11.09.01/L2.6.35_11.09.01_ER_source/LTIB/ltib/rpm/BUILD/gst-fsl-plugin-2.0.3/src/audio/audio_pp/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /home/abc/imx53/11.09.01/L2.6.35_11.09.01_ER_source/LTIB/ltib/tmp/rpm-tmp.1179 (%build)
RPM build errors:
Bad exit status from /home/abc/imx53/11.09.01/L2.6.35_11.09.01_ER_source/LTIB/ltib/tmp/rpm-tmp.1179 (%build)
Build time for gst-fsl-plugin: 16 seconds
Failed building gst-fsl-plugin
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Mon Oct 8 15:54:40 2012
Ended: Mon Oct 8 15:55:53 2012
Elapsed: 73 seconds
These packages failed to build:
gst-fsl-plugin
Build Failed
Exiting on error or interrupt
I did checked the directory "`/home/abc/imx53/11.09.01/L2.6.35_11.09.01_ER_source/LTIB/ltib/rpm/BUILD/gst-fsl-plugin-2.0.3/src/audio/audio_pp/src" and there is no such file as "peq_ppp_interface.h"
Would appreciate if any inputs to resolve the issue are provided.
Solved! Go to Solution.
The peq_ppp_interface.h is not in the same directory as the plugins, but is located in codec package fsl-mm-codeclib-2.0.3-2.tar.gz (fsl-mm-codeclib-2.0.3\ghdr\). you can check if it is existent in the codec package.
Please start with a clean build.
The peq_ppp_interface.h is not in the same directory as the plugins, but is located in codec package fsl-mm-codeclib-2.0.3-2.tar.gz (fsl-mm-codeclib-2.0.3\ghdr\). you can check if it is existent in the codec package.
Please start with a clean build.