LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 622|回复: 1

fcitx 3.0的小错误

[复制链接]
发表于 2004-9-7 17:56:24 | 显示全部楼层 |阅读模式
不知道别人是否跟我遇到一样的编译错误
reatePYMB.c:178: warning: char format, different type arg (arg 5)
createPYMB.c: In function `CreatePYBase':
createPYMB.c:270: parse error before `int'
createPYMB.c:278: `tt' undeclared (first use in this function)
createPYMB.c:278: (Each undeclared identifier is reported only once
createPYMB.c:278: for each function it appears in.)
createPYMB.c:286: `s' undeclared (first use in this function)
make[2]: *** [createPYMB.o] Error 1
make[2]: Leaving directory `/home/fcitx/fcitx-3.0.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fcitx/fcitx-3.0.0'
make: *** [all] Error 2

编译环境debian gcc 2.95 kernel 2.4.26
解决方法
修改tools/createPYMB.c
注释掉 270 和271关于s 和tt定义的两行
在文件头bFULLpy的定义一行下加入
int             s = 0;
int             tt = 0;
发表于 2004-9-7 21:39:17 | 显示全部楼层
可以用rpm包吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表