Hello,
I am new to building LTIB. I am trying to build LTIB for IMX53 and I am facing following error. I have selected mx53_loco, mfg firmware profile, imx-lib, libpng, freetype, zlib, gstreamer-fsl-plugins, fsl-mm-codec-libs, in the package list...
When i compile i am getting this following error. Missing file. Please let me know where to locate?
make[1]: Entering directory `/home/lucid/ltib/rpm/BUILD/imx-lib-11.01.00/sahara2'
gcc -g -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -fPIC -DSAHARA -DLINUX -I/home/lucid/ltib/rootfs/usr/src/linux/include -I/home/lucid/ltib/rpm/BUILD/imx-lib-11.01.00/../linux/drivers/mxc/security/rng/include -I/home/lucid/ltib/rpm/BUILD/imx-lib-11.01.00/../linux/drivers/mxc/security/sahara2/include -DCONFIG_ARCH_MX5 -DCONFIG_ARCH_MX5 -c -o fsl_shw_rand.o fsl_shw_rand.c
fsl_shw_rand.c:29:74: error: /home/lucid/ltib/rpm/BUILD/linux-2.6.35.3/include/mxc_sahara.h: No such file or directory
make[1]: *** [fsl_shw_rand.o] Error 1
make[1]: Leaving directory `/home/lucid/ltib/rpm/BUILD/imx-lib-11.01.00/sahara2'
make: *** [sahara2] Error 2
error: Bad exit status from /home/lucid/ltib/tmp/rpm-tmp.17665 (%build)
RPM build errors:
Bad exit status from /home/lucid/ltib/tmp/rpm-tmp.17665 (%build)
Build time for imx-lib: 1 seconds
Failed building imx-lib
Thanks in advance
Swamy
paste the following in the gedit text editor " a6b9144a66aca1e98ed3f34a286487b3 gst-ffmpeg-0.10.3-relink.patch " and save it as"gst-ffmpeg-0.10.3-relink.patch" put in the respective folder and still if u get error telling relink patch is a garbage file then you download " gst-ffmpeg-0.10.3.tar.bz2.md5 " and put it in the same folder.
Swamy said:Thanks for the reply.
Further to this I was able to build ahead,...and now i get this following error when i try to build "gst-fsl-plugin".. please suggest
aiurregistry.h:59: error: expected specifier-qualifier-list before 'FslParserGetMetaData'make[1]: *** [libmfw_gst_aiur_demux_la-aiur.lo] Error 1make[1]: *** Waiting for unfinished jobs....In file included from aiurdemux.h:52, from aiurregistry.c:42:aiurregistry.h:59: error: expected specifier-qualifier-list before 'FslParserGetMetaData'
Thanks for the reply.
Further to this I was able to build ahead,...and now i get this following error when i try to build "gst-fsl-plugin".. please suggest
aiurregistry.h:59: error: expected specifier-qualifier-list before 'FslParserGetMetaData'make[1]: *** [libmfw_gst_aiur_demux_la-aiur.lo] Error 1make[1]: *** Waiting for unfinished jobs....In file included from aiurdemux.h:52, from aiurregistry.c:42:aiurregistry.h:59: error: expected specifier-qualifier-list before 'FslParserGetMetaData'
Thanks for the reply.
I included all the necessary packages from the link mentioned..Also i included gstreamer-plugins-good and gstreamer-FFmpeg plugins....I am still getting the following error: please suggest.
Processing: gst-plugins-good==============================sudo /opt/freescale/ltib/usr/bin/rpm --root /home/lucid/ltib/rootfs --dbpath /var/lib/rpm -e --allmatches --nodeps --define '_tmppath /tmp/ltib' gst-plugins-good 2>/dev/nullsudo /opt/freescale/ltib/usr/bin/rpm --root /home/lucid/ltib/rootfs --dbpath /var/lib/rpm --prefix / --ignorearch -ivh --force --excludedocs --define '_tmppath /tmp/ltib' /home/lucid/ltib/rpm/RPMS/arm/gst-plugins-good-0.10.16-1.arm.rpmerror: failed to stat /home/lucid/.gvfs: Permission deniedPreparing... ########################################### [100%] 1:gst-plugins-good ########################################### [100%]
Processing: gst-ffmpeg========================Build path taken because: no prebuilt rpm, Testing network connectivityNo network download connection available
Can't get: gst-ffmpeg-0.10.3-relink.patch at ./ltib line 790.
f_buildrpms() returned an error, exitingtraceback: main:560
Started: Mon Sep 5 23:14:08 2011Ended: Mon Sep 5 23:27:02 2011Elapsed: 774 seconds
These packages failed to build:gst-ffmpeg
Build Failed
Please, take a look on http://www.imxdev.org/wiki/index.php?title=All_Boards_LTIB You will learn some basic LTIB features.
What is the OS installed on your PC? Is it Ubuntu? In this case, please take a look if you have all needed packages:
http://www.imxdev.org/wiki/index.php?title=ALL_Boards_ltib_config_ubuntu