堕落kiss 于 2009-07-03 22:00:50发表:
我编译的时候 在make 有两个错误
make all-recursive
make[1]: Entering directory `/tmp/fcitx-3.6.0-rc'
Making all in doc
make[2]: Entering directory `/tmp/fcitx-3.6.0-rc/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/fcitx-3.6.0-rc/doc'
Making all in xpm
make[2]: Entering directory `/tmp/fcitx-3.6.0-rc/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/fcitx-3.6.0-rc/xpm'
Making all in lib
make[2]: Entering directory `/tmp/fcitx-3.6.0-rc/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/fcitx-3.6.0-rc/lib'
Making all in src
make[2]: Entering directory `/tmp/fcitx-3.6.0-rc/src'
gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF .deps/InputWindow.Tpo -c -o InputWindow.o InputWindow.c
InputWindow.c:31:21: error: X11/xpm.h: No such file or directory
InputWindow.c: In function ‘DrawInputWindow’:
InputWindow.c:237: error: ‘XpmAttributes’ undeclared (first use in this function)
InputWindow.c:237: error: (Each undeclared identifier is reported only once
InputWindow.c:237: error: for each function it appears in.)
InputWindow.c:237: error: expected ‘;’ before ‘attrib’
InputWindow.c:415: error: ‘attrib’ undeclared (first use in this function)
InputWindow.c:436: warning: implicit declaration of function ‘XpmCreateImageFromData’
InputWindow.c:437: error: ‘XpmSuccess’ undeclared (first use in this function)
make[2]: *** [InputWindow.o] Error 1
make[2]: Leaving directory `/tmp/fcitx-3.6.0-rc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/fcitx-3.6.0-rc'
make: *** [all] Error 2