LinuxSir.cn,穿越时空的Linuxsir!

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

使用gcc-3.4-cvs时出现了以下的错误?

[复制链接]
发表于 2004-1-3 12:43:23 | 显示全部楼层 |阅读模式
CC      arch/i386/kernel/apm.o
In file included from include/linux/dcache.h:10,
                 from include/linux/fs.h:17,
                 from include/linux/mm.h:14,
                 from include/linux/poll.h:10,
                 from arch/i386/kernel/apm.c:207:
include/linux/rcupdate.h: In function `rcu_pending':
include/linux/rcupdate.h:114: warning: use of compound expressions as lvalues is deprecated
include/linux/rcupdate.h:116: warning: use of compound expressions as lvalues is deprecated
include/linux/rcupdate.h:117: warning: use of compound expressions as lvalues is deprecated
make[1]: *** [arch/i386/kernel/apm.o] 中断
make: *** [arch/i386/kernel] 中断
不知道是gcc的问题还是什么耶。
 楼主| 发表于 2004-1-3 12:44:42 | 显示全部楼层
gcc-3.3的没有此类问题,而gcc-3.4系列的都有告警提示,而且会造成最后不能编译。不知道这是什么原因呢?
 楼主| 发表于 2004-1-3 12:48:36 | 显示全部楼层
呵呵,解决办法就是指定使用/opt/gcc-2.95.3/bin/gcc进行编译了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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