LinuxSir.cn,穿越时空的Linuxsir!

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

安装ZHCON出错

[复制链接]
发表于 2005-1-6 08:52:53 | 显示全部楼层 |阅读模式
系统FC3,zhcon-0.2.3,编译时提示下列错误:

fblinear24.cpp: In member function `virtual void FBLinear24:rawChar(int, int, int, int, CharBitMap*)':
fblinear24.cpp:206: error: ISO C++ forbids cast to non-reference type used as lvalue
fblinear24.cpp:210: error: ISO C++ forbids cast to non-reference type used as lvalue
make[3]: *** [fblinear24.o] 错误 1
make[2]: *** [all-recursive] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2

请指教。
发表于 2005-1-6 10:52:56 | 显示全部楼层
用我的附件,下载去掉.txt
复制到zhcon-0.2.3的同级目录

cd zhcon-0.2.3
patch -Np1 -i ../zhcon-0.2.3-gcc34.patch
./configure && make && make install

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2005-1-6 12:41:35 | 显示全部楼层
请问这是一个共性的问题吗?
发表于 2005-1-6 12:48:26 | 显示全部楼层
如果使用gcc-3.4.x的话 就会有这个问题
 楼主| 发表于 2005-1-6 12:52:50 | 显示全部楼层
原来,谢谢啦,晚上回去再试试。
另:FC3的release notes 说已经用GCC4了,但现在我用的怎么是GCC3.4呢?
发表于 2005-1-6 12:57:37 | 显示全部楼层
Fedora Core 3 contains the following changes:

    *

      GCC 3.4
    *

      GNOME 2.8
    *

      KDE 3.3
    *

      SELinux 鈥? This includes a new "targeted" policy that monitors specific daemons with less intrusion than the strict policy in use before. This policy is enabled by default. For more information, refer to:

      http://fedora.redhat.com/docs/selinux-faq/
这个么?写的是gcc 3.4
 楼主| 发表于 2005-1-6 13:57:47 | 显示全部楼层
不是这个,是安装完成后,打开firefow弹出的默认页面,也就是指向DOC目录下的一个文件,它里面说了,一些是换了的,一些是obsolete的,换了的就包括用GCC4换GCC3.4。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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