[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compile mmenu-0.82 error



Hi,

 I compile mmenu-0.82 meet some errors as following, could you help me
?Thanks a lot.

[root@mmenu-0.8.2]# make
make  all-recursive
make[1]: Entering directory `/wm/matchbox/mmenu-0.8.2'
Making all in src
make[2]: Entering directory `/wm/matchbox/mmenu-0.8.2/src'
source='mmenu.c' object='mmenu.o' libtool=no \
depfile='.deps/mmenu.Po' tmpdepfile='.deps/mmenu.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -Os -Wall -DUSE_XFT -DUSE_PNG
-I/usr/X11R6
/include -DDATADIR=\"/usr/local/share/mmenu\" -c `test -f mmenu.c ||
echo './'`m
menu.c
In file included from mmenu.c:29:
/usr/X11R6/include/X11/Xft/Xft.h:52: parse error before "_XftFTlibrary"
/usr/X11R6/include/X11/Xft/Xft.h:52: warning: type defaults to `int' in
declarat
ion of `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/Xft.h:52: warning: data definition has no
type or sto
rage class
/usr/X11R6/include/X11/Xft/Xft.h:86: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:86: warning: no semicolon at end of
struct or u
nion
/usr/X11R6/include/X11/Xft/Xft.h:89: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: type defaults to `int' in
declarat
ion of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: data definition has no
type or sto
rage class
/usr/X11R6/include/X11/Xft/Xft.h:93: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:93: warning: no semicolon at end of
struct or u
nion
/usr/X11R6/include/X11/Xft/Xft.h:96: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: type defaults to `int' in
declarat
ion of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: data definition has no
type or sto
rage class
/usr/X11R6/include/X11/Xft/Xft.h:190: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:256: warning: type defaults to `int' in
declara
tion of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:256: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:262: warning: type defaults to `int' in
declara
tion of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:262: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before "XftLockFace"
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: type defaults to `int' in
declara
tion of `XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: data definition has no
type or st
orage class
/usr/X11R6/include/X11/Xft/Xft.h:393: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before "XftCharIndex"
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: type defaults to `int' in
declara
tion of `XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: data definition has no
type or st
orage class
/usr/X11R6/include/X11/Xft/Xft.h:461: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:472: warning: type defaults to `int' in
declara
tion of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:472: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:493: warning: type defaults to `int' in
declara
tion of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:493: parse error before '*' token
mmenu.c: In function `menu_clicked_cb':
mmenu.c:481: warning: unused variable `app'
make[2]: *** [mmenu.o] Error 1
make[2]: Leaving directory `/wm/matchbox/mmenu-0.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wm/matchbox/mmenu-0.8.2'
make: *** [all] Error 2


B.Rgds,
Smith



Reply to: