[oe] compilation of libxft failed due to lack of XFT* macroes
Guo Hongruan
camelguo at gmail.com
Mon Dec 28 03:54:06 UTC 2009
Hi guys,
I found a building error, when
1. MACHINE=qemux86 DISTRO=micro, see the following url for more detailed.
http://tinderbox.openembedded.net/packages/391109/
It seems that the compiler can not find the XFT* macroes.
i686-oe-linux-libtool: compile: ccache i686-oe-linux-gcc
-march=pentiumpro -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include/X11/Xft
-isystem/media/work-disk/workdir/oe-qemux86-micro/staging/i686-oe-linux/include
-I/media/work-disk/workdir/oe-qemux86-micro/staging/i686-oe-linux/include
-I/media/work-disk/workdir/oe-qemux86-micro/staging/i686-oe-linux/include/freetype2
-I/media/work-disk/workdir/oe-qemux86-micro/staging/i686-oe-linux/include
-I/media/work-disk/workdir/oe-qemux86-micro/staging/i686-oe-linux/include
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-I../include/X11/Xft
-isystem/media/work-disk/workdir/oe-qemux86-micro/staging/i686-oe-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT
xftinit.lo -MD -MP -MF .deps/xftinit.Tpo -c xftinit.c -fPIC -DPIC -o
.libs/xftinit.o
xftinit.c: In function 'XftGetVersion':
xftinit.c:42: error: 'XFT_MAJOR' undeclared (first use in this function)
xftinit.c:42: error: (Each undeclared identifier is reported only once
xftinit.c:42: error: for each function it appears in.)
xftinit.c:42: error: 'XFT_MINOR' undeclared (first use in this function)
xftinit.c:42: error: 'XFT_REVISION' undeclared (first use in this function)
make[2]: *** [xftinit.lo] Error 1
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
More information about the Openembedded-devel
mailing list