QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1245|回复: 0

按照skyeye出的那书步骤,编译内核出错了 ,帮我看一下

[复制链接]
发表于 2006-2-19 21:39:34 | 显示全部楼层 |阅读模式
交叉编译

交叉编译内核出错了,给我看一下呀:
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.18/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DKBUILD_BASENAME=user -c -o user.o user.c/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.18/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DKBUILD_BASENAME=signal -c -o signal.o signal.c
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.18/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DKBUILD_BASENAME=sys -c -o sys.o sys.c
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.18/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DKBUILD_BASENAME=kmod -c -o kmod.o kmod.c/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.18/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DKBUILD_BASENAME=context -c -o context.o context.c
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.18/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DKBUILD_BASENAME=uid16 -c -o uid16.o uid16.c
rm -f kernel.o
/usr/local/arm/2.95.3/bin/arm-linux-ld -m elf_i386 -r -o kernel.o sched.o fork.o exec_domain.o panic.o printk.o module.o exit.o itimer.o info.o time.o softirq.o resource.o sysctl.o acct.o capability.o ptrace.o timer.o user.o signal.o sys.o kmod.o context.o uid16.o
/usr/local/arm/2.95.3/bin/arm-linux-ld: unrecognised emulation mode: elf_i386
Supported emulations: armelf_linux armelf
make[2]: *** [kernel.o] 错误 1
make[2]: Leaving directory `/root/linux-2.4.18/linux/kernel'
make[1]: *** [first_rule] 错误 2
make[1]: Leaving directory `/root/linux-2.4.18/linux/kernel'
make: *** [_dir_kernel] 错误 2
[root@localhost linux]#
是什么原因呀?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 00:23 , Processed in 0.057868 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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