This is the error that I am getting
satyam@bhr-pc0623:~/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib$ ./ltib -m scbuild -p hello.spec
Processing: hello
===================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/tmp' --define '_rpmdir /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/dist/lfs-5.1/hello/hello.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/tmp/rpm-tmp.53833
+ umask 022
+ cd /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/rpm/BUILD
+ cd hello-1.0
+ make
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o hello.o hello.cpp
g++ -o hello-1.0 hello.o -L/usr/share/qt3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: skipping incompatible /usr/share/qt3/lib/libqt-mt.so when searching for -lqt-mt
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make: *** [hello-1.0] Error 1
error: Bad exit status from /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/tmp/rpm-tmp.53833 (%build)
RPM build errors:
Bad exit status from /home/satyam/Desktop/Debojyoti/L2.6.35_11.01.00_ER_source_bundle/L2.6.35_11.01.00_ER_source/IMX53/ltib/tmp/rpm-tmp.53833 (%build)
Build time for hello: 0 seconds
Failed building hello
f_scbuild() returned an error, exiting
traceback:
main:560