LinuxSir.cn,穿越时空的Linuxsir!

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

emerge kde时碰到的问题

[复制链接]
发表于 2005-9-15 22:31:31 | 显示全部楼层 |阅读模式
当装到kdenetwork这个文件的时候,没办法编译通过,提示是原文件的一个enum变量出错,没办法通过编译,是原文件出了错误。请问该怎么办?
:thank
发表于 2005-9-16 12:06:52 | 显示全部楼层
Please post your error message here.

may be helpful
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-16 23:41:34 | 显示全部楼层
In file included from opener.cpp:72:
/usr/include/linux/if_ppp.h:90: error: use of enum `NPmode' without previous
   declaration
/usr/include/linux/if_ppp.h:95: error: syntax error before `*' token
/usr/include/linux/if_ppp.h:96: error: '__u32' is used as a type, but is not
   defined as a type.
/usr/include/linux/if_ppp.h:101: error: field `b' has incomplete type
/usr/include/linux/if_ppp.h:102: error: field `stats' has incomplete type
/usr/include/linux/if_ppp.h:106: error: field `b' has incomplete type
/usr/include/linux/if_ppp.h:107: error: field `stats' has incomplete type
opener.cpp: In function `int checkForInterface()':
opener.cpp:659: error: aggregate `ifreq ifr' has incomplete type and cannot be
   defined
make[3]: *** [opener.o] 错误 1
make[3]: *** 正在等待未完成的任务....
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.4.2/work/kdenetwork-3.4.2/kppp'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.4.2/work/kdenetwork-3.4.2/kppp'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.4.2/work/kdenetwork-3.4.2'
make: *** [all] 错误 2

!!! ERROR: kde-base/kdenetwork-3.4.2 failed.
!!! Function kde_src_compile, Line 170, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

错误是这样的!编第五遍了,还是通不过!郁闷啊!
回复 支持 反对

使用道具 举报

发表于 2005-9-16 23:45:35 | 显示全部楼层
哟, 3.4.2 呀~
把distfiles里的kdenetwork-3.4.2删掉, 然后换个mirror重新下载源文件再试试?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-18 09:47:48 | 显示全部楼层
我已经这样做过了,试了三个mirror了,可是还是出现这样的问题。
回复 支持 反对

使用道具 举报

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

本版积分规则

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