LinuxSir.cn,穿越时空的Linuxsir!

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

转载:ERROR: app-i18n/zhcon-0.2.3-r1 failed.的解决方法

[复制链接]
发表于 2005-10-22 23:57:44 | 显示全部楼层 |阅读模式
from:http://cloudor.blogthing.com/200 ... hcon-023-r1-failed/

家里的台式机装的gentoo, 还是喜欢console模式里用vesafb-tng调成的1024*768@85的模式. 但emerge zhcon时出了点问题.

In file included from /usr/include/linux/keyboard.h:14,
from inputmanager.cpp:517:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int
(*)(void*), unsigned int)’:
/usr/include/linux/wait.h:376: error: invalid conversion from `void*’ to `const
volatile long unsigned int*’
/usr/include/linux/wait.h:376: error: invalid conversion from `void*’ to `const
volatile long unsigned int*’
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int
(*)(void*), unsigned int)’:
/usr/include/linux/wait.h:400: error: invalid conversion from `void*’ to `
volatile long unsigned int*’
make[3]: *** [inputmanager.o] 错误 1
make[3]: *** 正在等待未完成的任务….
make[3]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3/src’
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3/src’
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3′
make: *** [all] 错误 2

!!! ERROR: app-i18n/zhcon-0.2.3-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

解决方法:

vi /usr/include/linux/wait.h
:%s/bit, word/bit, (volatile long unsigned int *)word/
:wq
emerge zhcon

ps:测试通过
发表于 2005-11-29 23:20:05 | 显示全部楼层
测试了,能用。
回复 支持 反对

使用道具 举报

发表于 2005-11-30 00:47:09 | 显示全部楼层
谢谢你
不过下次再贴之前最好先搜一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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