LinuxSir.cn,穿越时空的Linuxsir!

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

版主大哥,帮我来看看ZHCON怎么MAKE出错啦!!

[复制链接]
发表于 2003-12-28 10:14:28 | 显示全部楼层 |阅读模式
看了一下REDME说要设vga=0x303,我设了还是一样出错啦!!

./configure --prefix=/usr
显示:
Config complete, now type make to build zhcon.
Good Luck!

make
显示:
inputclient.h:37: error: `assert' undeclared (first use this function)
inputclient.h:37: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
zhcon.cpp:262:6: warning: #warning OPEN_MAX undefined so far,try define it to 64
make[3]: *** [zhcon.o] Error 1
make[3]: Leaving directory `/sources/zhcon-0.2.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/zhcon-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/zhcon-0.2.3'
make: *** [all] Error 2
发表于 2003-12-28 11:20:57 | 显示全部楼层
vi src/inputclient.h
vi src/zhcon.cpp
vi src/mouse.h // 好像是这个文件 ,要不你重新编译后看看错误提示是什么文件

三个文件在文件头增强一行 #include <assert.h>
发表于 2003-12-28 11:25:27 | 显示全部楼层
什么版本的zhcon?
 楼主| 发表于 2003-12-28 11:42:01 | 显示全部楼层
zhcon-0.2.3
 楼主| 发表于 2003-12-28 11:48:29 | 显示全部楼层
搞定了,按CNYG说的

vi src/zhcon.cpp

增强一行 #include <assert.h>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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