免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 7214 | 回复: 10
打印 上一主题 下一主题

求教!安装zhcon在编译过程中发生的问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-02-02 17:04 |只看该作者 |倒序浏览
下载后从解压缩到检查配置因该比较顺利
tar -zxvf zhcon-0.2.5.tar.gz
cd zhcon-0.2.5
./configure
过程不表,得到如下提示
Configuration:
    Target system:             i686-pc-linux-gnu
    Source code location:      .
    C++ Compiler:              g++
    C++ Compiler flags:         -funsigned-char -O2 -march=i686 -DNDEBUG -Wall
    C   Compiler:              gcc
    C   Compiler flags:         -funsigned-char -O2 -march=i686 -DNDEBUG -Wall
    VGA support:               yes
    gpm moues support:         yes
    libggi support:            no
    unicon support:            no
    zhcon binary dir:          /usr/local/bin
    zhcon files dir:           /usr/local/lib/zhcon

Config complete, now type make to build zhcon.
Good Luck!

make过程中发生错误,以至于无法安装再进行下去。
[root@nx6130 zhcon-0.2.5]# make
make  all-recursive
make[1]: Entering directory `/home/yanxp/software/zhcon-0.2.5'
Making all in src
make[2]: Entering directory `/home/yanxp/software/zhcon-0.2.5/src'
Making all in display
make[3]: Entering directory `/home/yanxp/software/zhcon-0.2.5/src/display'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear4.o -MD -MP -MF ".deps/fblinear4.Tpo" -c -o fblinear4.o fblinear4.cpp; \
        then mv -f ".deps/fblinear4.Tpo" ".deps/fblinear4.Po"; else rm -f ".deps/fblinear4.Tpo"; exit 1; fi
fblinear4.cpp: In member function ‘virtual void FBLinear4::FillRect(int, int, int, int, int)’:
fblinear4.cpp:75: 错误:‘memset’在此作用域中尚未声明
make[3]: *** [fblinear4.o] 错误 1
make[3]: Leaving directory `/home/yanxp/software/zhcon-0.2.5/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/yanxp/software/zhcon-0.2.5/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/yanxp/software/zhcon-0.2.5'
make: *** [all] 错误 2

请各位帮我看下,如何解决这个问题
谢谢!!!

论坛徽章:
0
2 [报告]
发表于 2010-02-02 18:45 |只看该作者
看样子好像是C头文件有问题,
报下gcc版本

论坛徽章:
0
3 [报告]
发表于 2010-02-03 08:29 |只看该作者
看样子好像是C头文件有问题,
报下gcc版本
Celinde 发表于 2010-02-02 18:45


[yanxp@nx6130 dev]$ cat /proc/version
Linux version 2.6.29.4-167.fc11.i686.PAE (mockbuild@x86-5.fedora.phx.redhat.com) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed May 27 17:28:22 EDT 2009

好像应该是4.4.0的GCC版本
谢谢!

论坛徽章:
0
4 [报告]
发表于 2010-02-03 23:17 |只看该作者
回复 3# 邪恶的虫子


   试试这个,打了补丁,gcc-4.4.2 glibc-2.11-r1 linux-2.6.32 linux-header-2.6.30-r1 下编译通过
zhcon-0.2.6-r1.7z (3.58 MB, 下载次数: 361)

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
5 [报告]
发表于 2010-02-04 12:14 |只看该作者
先打补丁,然后再编译安装。

论坛徽章:
0
6 [报告]
发表于 2010-02-04 16:41 |只看该作者
谢谢楼上的两位兄弟,后来又遇到ibus输入法的问题,系统弄得乱七八糟的,干脆重行装了一遍系统,现在终于把原来电脑中的windows xp完全扔掉了。

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
7 [报告]
发表于 2010-02-05 12:02 |只看该作者
谢谢楼上的两位兄弟,后来又遇到ibus输入法的问题,系统弄得乱七八糟的,干脆重行装了一遍系统,现在终于把 ...
邪恶的虫子 发表于 2010-02-04 16:41

为用 linux 而使用 linux 不是好主意,为工作、学习生活而使用 linux 才是正途。。。

永远记住,win、linux、bsd 只是一个工具而已。

论坛徽章:
0
8 [报告]
发表于 2010-02-07 18:39 |只看该作者
楼上兄弟言之有理,受教了!

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
9 [报告]
发表于 2011-10-26 23:01 |只看该作者
楼主在字符界面长期工作?

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-10-11 06:20:00
10 [报告]
发表于 2012-09-28 16:04 |只看该作者
我现在也有跟楼主同样的问题,我的linux版本是centos6.3的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP