LinuxSir.cn,穿越时空的Linuxsir!

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

如何在2005.0下顺利编译zhcon?

[复制链接]
发表于 2005-7-20 17:34:35 | 显示全部楼层 |阅读模式
换过不同版本的zhcon,没有一次能编译通过的。
发表于 2005-7-20 18:39:43 | 显示全部楼层
嗯,这是一个问题……好像是因为ebuild的原因。我以前问过,暂时没看见过说成功的。不过以前2004.x的确可以编译。
回复 支持 反对

使用道具 举报

发表于 2005-7-20 18:52:39 | 显示全部楼层
刚才测试了,在SuSE 9.3下依旧无法编译通过

  1. In file included from zhcon.cpp:54:
  2. inputclient.h: In static member function `static void
  3.    InputClient::SetConsole(Console*)':
  4. inputclient.h:37: error: `assert' undeclared (first use this function)
  5. inputclient.h:37: error: (Each undeclared identifier is reported only once for
  6.    each function it appears in.)
  7. zhcon.cpp:262:6: warning: #warning OPEN_MAX undefined so far,try define it to 64make[3]: *** [zhcon.o] 错误 1
  8. make[3]: Leaving directory `/tmp/zhcon-0.2.3/src'
  9. make[2]: *** [all-recursive] 错误 1
  10. make[2]: Leaving directory `/tmp/zhcon-0.2.3/src'
  11. make[1]: *** [all-recursive] 错误 1
  12. make[1]: Leaving directory `/tmp/zhcon-0.2.3'
  13. make: *** [all] 错误 2
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-7-20 19:08:10 | 显示全部楼层
我装过3次gentoo 2005.0,第一次zhcon轻易成功编译,以后一直都是编译失败。
回复 支持 反对

使用道具 举报

发表于 2005-7-20 22:14:07 | 显示全部楼层
是不是更新了glibc?
我原来也是次次可以的,不过更新后就不可以了。好像是linux-header或glibc更新后不能编译了
回复 支持 反对

使用道具 举报

发表于 2005-7-20 22:24:00 | 显示全部楼层
不知道,我两个系统都没更新过glibc
回复 支持 反对

使用道具 举报

发表于 2005-7-20 23:32:56 | 显示全部楼层
还好,呵呵,我很早以前编的
现在还可以用
回复 支持 反对

使用道具 举报

发表于 2005-7-21 09:23:08 | 显示全部楼层
楼上的,干脆直接共享你的pkg得了……hoho……
回复 支持 反对

使用道具 举报

发表于 2005-7-21 09:30:58 | 显示全部楼层
Post by zhllg
还好,呵呵,我很早以前编的
现在还可以用
:cool:  :cool:  :cool:  :cool:
回复 支持 反对

使用道具 举报

发表于 2005-7-21 09:31:14 | 显示全部楼层
放哪儿呢
回复 支持 反对

使用道具 举报

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

本版积分规则

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