MahadevaSwamy L

LTIB Build error

Discussion created by MahadevaSwamy L on Sep 5, 2011
Latest reply on Jan 22, 2012 by Hitesh Sharma

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

Outcomes