LinuxSir.cn,穿越时空的Linuxsir!

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

Debian下编译同一个内核,3个月前没问题,现在却出问题了

[复制链接]
发表于 2006-3-27 21:25:54 | 显示全部楼层 |阅读模式
同一个内核,3个月前编译还是可以通过的,现在编译却出问题,搞不懂。
以下是错误,搞不懂。大家帮我看看,谢谢
make[1]: Entering directory `/usr/src/linux-2.4.16-rtl3.1/arch/i386/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.16-rtl3.1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686    -c -o process.o process.c
{standard input}: Assembler messages:
{standard input}:804: Error: suffix or operands invalid for `mov'
{standard input}:805: Error: suffix or operands invalid for `mov'
{standard input}:898: Error: suffix or operands invalid for `mov'
{standard input}:899: Error: suffix or operands invalid for `mov'
{standard input}:950: Error: suffix or operands invalid for `mov'
{standard input}:951: Error: suffix or operands invalid for `mov'
{standard input}:953: Error: suffix or operands invalid for `mov'
{standard input}:965: Error: suffix or operands invalid for `mov'
make[1]: *** [process.o] 错误 1
make[1]: Leaving directory `/usr/src/linux-2.4.16-rtl3.1/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] 错误 2
 楼主| 发表于 2006-3-28 20:41:55 | 显示全部楼层
please help me,thanks
回复 支持 反对

使用道具 举报

发表于 2006-3-28 22:48:47 | 显示全部楼层
gcc --version看看你用的gcc的版本
回复 支持 反对

使用道具 举报

发表于 2006-3-29 09:26:34 | 显示全部楼层
make mrproper试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-30 17:17:13 | 显示全部楼层
Post by springwind426
gcc --version看看你用的gcc的版本
gcc-2.95,是用来编译内核的gcc版本。
当然不能用make mrproper,那样会改变内核配置的!
回复 支持 反对

使用道具 举报

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

本版积分规则

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