[Fontconfig] fontconfig crosscompilation error
Prashant J Zaveri
pjz1607 at gmail.com
Thu Jul 19 23:30:34 PDT 2007
Hello,
I am cross compiling fontconfig for arm. I get fc-lang error in make.
Please help.
This are my steps:
>./configure --prefix=/home/midhun/p1007/output/fontconfig
--build=i386-redhat-linux --host=arm-linux
--with-freetype-config=/home/midhun/p1007/output/freetype/bin/freetype-config
--with-expat-lib=/home/midhun/p1007/output/expat/lib
--with-expat-includes=/home/midhun/p1007/output/expat/include
--with-expat=/home/midhun/p1007/output/expat/bin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
~~~~~~~~~~
checking for XML_ParserCreate... yes
checking for docbook2html... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fontconfig/Makefile
config.status: creating fc-lang/Makefile
config.status: creating src/Makefile
config.status: creating src/fontconfig.def
config.status: creating fc-cache/Makefile
config.status: creating fc-list/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.sgml
config.status: creating test/Makefile
config.status: creating fontconfig.spec
config.status: creating fontconfig.pc
config.status: creating fonts.conf
config.status: creating fontconfig-zip
config.status: creating config.h
config.status: executing depfiles commands
> make
make all-recursive
make[1]: Entering directory `/home/midhun/p1007/fontconfig-2.2.3'
Making all in fontconfig
make[2]: Entering directory `/home/midhun/p1007/fontconfig-2.2.3/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/midhun/p1007/fontconfig-2.2.3/fontconfig'
Making all in fc-lang
make[2]: Entering directory `/home/midhun/p1007/fontconfig-2.2.3/fc-lang'
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I..
-I/home/midhun/p1007/output/freetype/include/freetype2
-I/home/midhun/p1007/output/freetype/include -g -O2 -MT fc-lang.o
-MD -MP -MF ".deps/fc-lang.Tpo" \
-c -o fc-lang.o `test -f 'fc-lang.c' || echo './'`fc-lang.c; \
then mv -f ".deps/fc-lang.Tpo" ".deps/fc-lang.Po"; \
else rm -f ".deps/fc-lang.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link arm-linux-gcc -g -O2 -o fc-lang fc-lang.o
mkdir .libs
arm-linux-gcc -g -O2 -o fc-lang fc-lang.o
rm -f fclang.h
dir=`pwd`; (cd . && ${dir}/fc-lang aa.orth ab.orth af.orth am.orth
ar.orth ast.orth ava.orth ay.orth az.orth ba.orth bam.orth be.orth
bg.orth bh.orth bho.orth bi.orth bin.orth bn.orth bo.orth br.orth
bs.orth bua.orth ca.orth ce.orth ch.orth chm.orth chr.orth co.orth
cs.orth cu.orth cv.orth cy.orth da.orth de.orth dz.orth el.orth
en.orth eo.orth es.orth et.orth eu.orth fa.orth fi.orth fj.orth
fo.orth fr.orth ful.orth fur.orth fy.orth ga.orth gd.orth gez.orth
gl.orth gn.orth gu.orth gv.orth ha.orth haw.orth he.orth hi.orth
ho.orth hr.orth hu.orth hy.orth ia.orth ibo.orth id.orth ie.orth
ik.orth io.orth is.orth it.orth iu.orth ja.orth ka.orth kaa.orth
ki.orth kk.orth kl.orth km.orth kn.orth ko.orth kok.orth ks.orth
ku.orth kum.orth kv.orth kw.orth ky.orth la.orth lb.orth lez.orth
lo.orth lt.orth lv.orth mg.orth mh.orth mi.orth mk.orth ml.orth
mn.orth mo.orth mr.orth mt.orth my.orth nb.orth ne.orth nl.orth
nn.orth no.orth ny.orth oc.orth om.orth or.orth os.orth pl.orth
pt.orth rm.orth ro.orth ru.orth sa.orth sah.orth sco.orth se.orth
sel.orth sh.orth si.orth sk.orth sl.orth sm.orth sma.orth smj.orth
smn.orth sms.orth so.orth sq.orth sr.orth sv.orth sw.orth syr.orth
ta.orth te.orth tg.orth th.orth ti_er.orth ti_et.orth tig.orth tk.orth
tl.orth tn.orth to.orth tr.orth ts.orth tt.orth tw.orth tyv.orth
ug.orth uk.orth ur.orth uz.orth ven.orth vi.orth vo.orth vot.orth
wa.orth wen.orth wo.orth xh.orth yap.orth yi.orth yo.orth zh_cn.orth
zh_hk.orth zh_mo.orth zh_sg.orth zh_tw.orth zu.orth) <
../fc-lang/fclang.tmpl.h > fclang.h
/bin/sh: /home/midhun/p1007/fontconfig-2.2.3/fc-lang/fc-lang: cannot
execute binary file
make[2]: *** [fclang.h] Error 126
make[2]: Leaving directory `/home/midhun/p1007/fontconfig-2.2.3/fc-lang'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/midhun/p1007/fontconfig-2.2.3'
make: *** [all] Error 2
please help
Thanks
Prashant
More information about the Fontconfig
mailing list