AnsweredAssumed Answered

XFree86.spec not compiling for IMX 31

Question asked by R. Arun R on Nov 25, 2007
Latest reply on Nov 29, 2007 by R. Arun R
Hai

We have installed ltib-imx31ads-20071008 and trying to compile XFree86.spec for IMX31,

we are following the commands mentioned below

./ltib -p XFree86.spec -m prep
 and
after that if we run command

./ltib -p XFree86.spec -m scbuild

We are getting the following error

arun@arun-desktop:~/ftf/ltib-imx31ads-20071008$ ./ltib -p XFree86.spec -m scbuild

Processing: XFree86
=====================
rpmbuild --dbpath /home/arun/ftf/ltib-imx31ads-20071008/rpmdb --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/arun/ftf/ltib-imx31ads-20071008/rpm' --define '_prefix /usr' --define '_tmppath /home/arun/ftf/ltib-imx31ads-20071008/tmp' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /home/arun/ftf/ltib-imx31ads-20071008/dist/lfs-5.1/XFree86/XFree86.spec
Executing(%build): /bin/sh -e /home/arun/ftf/ltib-imx31ads-20071008/tmp/rpm-tmp.86485
+ umask 022
+ cd /home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD
+ cd /home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc
+ make World WORLDOPTS=

./config/util/printver.exe: 1: Syntax error: word unexpected (expecting ")")
Building XFree86.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Sun Nov 25 12:03:49 IST 2007

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc" clean
make[1]: Entering directory `/home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc/config/imake'
make  Makefile.boot
make[1]: Entering directory `/home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc"
make[2]: Entering directory `/home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
gcc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then \
        /cc -E `./ccimake` \
        -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
        else touch imakemdep_cpp.h; fi
gcc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
./ccimake: 1: Syntax error: word unexpected (expecting ")")
gcc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
./config/imake/imake: 1: Syntax error: word unexpected (expecting ")")
make[1]: *** [config/makedepend/Makefile.proto] Error 2
make[1]: Leaving directory `/home/arun/ftf/ltib-imx31ads-20071008/rpm/BUILD/XFree86/xc'
make: *** [World] Error 2
error: Bad exit status from /home/arun/ftf/ltib-imx31ads-20071008/tmp/rpm-tmp.86485 (%build)


RPM build errors:
    Bad exit status from /home/arun/ftf/ltib-imx31ads-20071008/tmp/rpm-tmp.86485 (%build)
Build time for XFree86: 3 seconds

Failed building XFree86


f_scbuild() returned an error, exiting
Exiting on error or interrupt
arun@arun-desktop:~/ftf/ltib-imx31ads-20071008$

please help

Outcomes