LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]编译CCE0.51出现如下错误.

[复制链接]
发表于 2005-10-10 09:41:54 | 显示全部楼层 |阅读模式
编译CCE0.51出现如下错误.

[root@localhost cce-0.51]# make
Making all in src
make[1]: Entering directory `/home/max/cce-0.51/src'
Making all in input
make[2]: Entering directory `/home/max/cce-0.51/src/input'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -DCCELIB=\"/usr/local/share/cce\"  -MT associate.o -MD -MP -MF ".deps/associate.Tpo" -c -o associate.o associate.c; \
then mv -f ".deps/associate.Tpo" ".deps/associate.Po"; else rm -f ".deps/associate.Tpo"; exit 1; fi
In file included from associate.c:38:
../../include/defs.h: 在函数 ‘bzero2’ 中:
../../include/defs.h:61: 错误:自增的左值无效
../../include/defs.h: 在函数 ‘wzero’ 中:
../../include/defs.h:68: 错误:自增的左值无效
../../include/defs.h: 在函数 ‘lzero’ 中:
../../include/defs.h:76: 错误:自增的左值无效
../../include/defs.h: 在函数 ‘bmove’ 中:
../../include/defs.h:82: 错误:自增的左值无效
../../include/defs.h:82: 错误:自增的左值无效
../../include/defs.h: 在函数 ‘brmove’ 中:
../../include/defs.h:88: 错误:自减的左值无效
../../include/defs.h:88: 错误:自减的左值无效
../../include/defs.h: 在函数 ‘wmove’ 中:
../../include/defs.h:95: 错误:自增的左值无效
../../include/defs.h:95: 错误:自增的左值无效
../../include/defs.h: 在函数 ‘lmove’ 中:
../../include/defs.h:102: 错误:自增的左值无效
../../include/defs.h:102: 错误:自增的左值无效
associate.c: 在函数 ‘FillAssociateChars’ 中:
associate.c:150: 警告:传递参数 1 (属于 ‘strlen’) 给指针时目标与指针有/无符号不 一致
associate.c:165: 警告:传递参数 1 (属于 ‘__builtin_strncpy’) 给指针时目标与指针 有/无符号不一致
associate.c:165: 警告:传递参数 2 (属于 ‘__builtin_strncpy’) 给指针时目标与指针 有/无符号不一致
associate.c: 在函数 ‘DisplayAssociateInput’ 中:
associate.c:200: 警告:传递参数 3 (属于 ‘InputAreaOutput’) 给指针时目标与指针有/无符号不一致
associate.c: 在函数 ‘Associate_HZFilter’ 中:
associate.c:214: 警告:对指针赋值时目标与指针有/无符号不一致
make[2]: *** [associate.o] 错误 1
make[2]: Leaving directory `/home/max/cce-0.51/src/input'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/max/cce-0.51/src'
make: *** [all-recursive] 错误 1
[root@localhost cce-0.51]#

请各位兄弟帮忙看看. :thank
 楼主| 发表于 2005-10-11 18:56:16 | 显示全部楼层
会不会是因为新版的gcc与老软件不兼容导致的。
哪位有比较好的console中文平台,帮忙推荐一个。3ks
回复 支持 反对

使用道具 举报

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

本版积分规则

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