LTIB Build error

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

LTIB Build error

1,256 Views
Swamy
Contributor III

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

Tags (1)
0 Kudos
6 Replies

644 Views
Hitex
Contributor I

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.

0 Kudos

644 Views
daiane_angolini
NXP Employee
NXP Employee
I think I just replied to the other thread.

Swamy said:


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'

 

 

0 Kudos

644 Views
Swamy
Contributor III


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'

 

0 Kudos

644 Views
Swamy
Contributor III

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

0 Kudos

644 Views
VladanJovanovic
NXP Employee
NXP Employee
Also, I don't think you want to enable Mfg Firmware for normal work. It is only used for building kernel image for manufacturing operations, and has some special settings. Might cause some issues...
0 Kudos

644 Views
daiane_angolini
NXP Employee
NXP Employee

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

0 Kudos