按照skyeye出的那书步骤,编译内核出错了 ,帮我看一下
交叉编译交叉编译内核出错了,给我看一下呀:
/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: *** 错误 1
make: Leaving directory `/root/linux-2.4.18/linux/kernel'
make: *** 错误 2
make: Leaving directory `/root/linux-2.4.18/linux/kernel'
make: *** 错误 2
#
是什么原因呀?
页:
[1]