LinuxSir.cn,穿越时空的Linuxsir!

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

正在安装splash,请大伙帮助!

[复制链接]
发表于 2006-5-5 11:01:29 | 显示全部楼层 |阅读模式
大家好,本人正在安装splash,emerge时出现问题,因本人的英语不好,请大伙看看这个是什么意思?
emerge -va splashutils splash-themes-gentoo splash-themes-livecd出现问题出现以下问题:

CC daemon.o
In file included from daemon.c:27:
/var/tmp/portage/splashutils-1.1.9.8-r1/work/splashutils-1.1.9.8/linux/include/linux/input.h:801:
error: syntax error before "kernel_ulong_t"
/var/tmp/portage/splashutils-1.1.9.8-r1/work/splashutils-1.1.9.8/linux/include/linux/input.h:801:
warning: no semicolon at end of struct or union
[...]

!!! ERROR: media-gfx/splashutils-1.1.9.8-r1 failed.
!!! Function src_compile, Line 124, Exitcode 2


解决方法(但我看不太明白,请大家帮解释一下):http://www.helpfeeds.com/showthread.php?p=1139679

> That's a problem with the kernel headers.
> You can try to fix it manually by moving the line "#ifdef __KERNEL__"
> from somewhere about line 839 (right above the In-kernel definitions) to
> a position before the declaration of struct input_device_id (~ line 799)
> in the file include/linux/input.h from the kernel source tree.
>
> There's already a bug on this issue on the Bugzilla[1].
发表于 2006-5-5 13:53:43 | 显示全部楼层
  1. #mv /usr/src/linux/include/linux/input.h  /usr/src/linux/include/linux/input.h-bak
  2. #emerge -va splashutils splash-themes-gentoo splash-themes-livecd
  3. #mv /usr/src/linux/include/linux/input.h-bak  /usr/src/linux/include/linux/input.h
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-5 14:35:52 | 显示全部楼层
感谢quchen!
回复 支持 反对

使用道具 举报

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

本版积分规则

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