Hi ,
I am working on a IMX53 sabre board to build my own images host Ubuntu 11.10
I used LTIB for the process
In the first step
ltib -m config
every thing succeeded and I have choosen
Freecsale reference board
min profile
(imx51) platform
board mx53_smd
and finally I run the ltib
./ltib
after some 835 seconds unable to succeed
failed building imx-lib
help me to get out of this..
and my console log
Processing: imx-lib
=====================
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package
Processing: imx-lib
=====================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/cmc/Ltibsetup/ltib/rootfs//var/lib/rpm --target arm
--define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm'
--define '__strip strip' --define '_topdir /home/cmc/Ltibsetup/ltib/rpm'
--define '_prefix /usr' --define '_tmppath /home/cmc/Ltibsetup/ltib/tmp'
--define '_rpmdir /home/cmc/Ltibsetup/ltib/rpm/RPMS' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var'
-bc --short-circuit /home/cmc/Ltibsetup/ltib/dist/lfs-5.1/mxc-misc/imx
-lib.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/cmc/Ltibsetup/ltib/tmp/rpm-tmp.73116
+ umask 022
+ cd /home/cmc/Ltibsetup/ltib/rpm/BUILD
+ cd imx-lib-11.05.01
+ [ -z ]
+ KERNELDIR=/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux
+ KBUILD_OUTPUT=/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux
+ [ -n ]
+ echo imx51
+ awk {print toupper($0)}
+ PLATFORM_UPPER=IMX51
+ INCLUDE=-I/home/cmc/Ltibsetup/ltib/rootfs/usr/src/linux/include
-I/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux/drivers/mxc/security/rng/include
-I/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux/drivers/mxc/security/sahara2/include
+ make -j1 PLATFORM=IMX51
INCLUDE=-I/home/cmc/Ltibsetup/ltib/rootfs/usr/src/linux/include
-I/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux/drivers/mxc/security/rng/include
-I/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux/drivers/mxc/security/sahara2/include
all
make -C ipu all
make[1]: Entering directory
`/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/ipu'
gcc -DIMX51 -I/home/cmc/Ltibsetup/ltib/rootfs/usr/src/linux/include
-I/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux/drivers/mxc/security/rng/include
-I/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/../linux/drivers/mxc/security/sahara2/include
-Wall -O2 -fPIC -c mxc_ipu_hl_lib.c -o mxc_ipu_hl_lib.o
mxc_ipu_hl_lib.c: In function '_ipu_channel_setup':
mxc_ipu_hl_lib.c:1729: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1746: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1761: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1779: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1796: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1825: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1877: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:1900: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2014: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2031: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2046: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2064: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2081: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2099: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2121: error: too few arguments to function
'ipu_init_channel_buffer'
mxc_ipu_hl_lib.c:2145: error: too few arguments to function
'ipu_init_channel_buffer'
make[1]: *** [mxc_ipu_hl_lib.o] Error 1
make[1]: Leaving directory
`/home/cmc/Ltibsetup/ltib/rpm/BUILD/imx-lib-11.05.01/ipu'
make: *** [ipu] Error 2
error: Bad exit status from /home/cmc/Ltibsetup/ltib/tmp/rpm-tmp.73116
(%build)
RPM build errors:
Bad exit status from /home/cmc/Ltibsetup/ltib/tmp/rpm-tmp.73116 (%build)
Build time for imx-lib: 0 seconds
Failed building imx-lib
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Thu Mar 1 16:25:50 2012
Ended: Thu Mar 1 16:25:51 2012
Elapsed: 1 seconds
These packages failed to build:
imx-lib
Build Failed
Exiting on error or interrupt
Regards,
Vijay
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib