在Linux操作系统下按以下步骤编译S3C2410的内核映象文件zImage:
1.配置makefile文件
2.执行命令make menuconfig
3.make dep
4.make zImage
前三步都配置,编译成功了,但到第四步时出现了以下提示的问题:
#make bzImage
scripts/split-include include/linux/autoconf.h include/config
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D_KERNEL_ -I/usr/local/arm/2.95.3/kernel-h2410f/include -Wall -Wstrict -prototypes -Who-trigraphs -Os -mapcs -fno-strict -aliasing -fno -common -pipe -mapcs -32 -march=armv4 -mtune=arm9tdmi -mshort -load -bytes -msoft -float -DKBULID_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/local/arm/2.95.3/kernel-h2410f/include/asm/arch/dma.h:43
from /usr/local/arm/2.95.3/kernel-h2410f/include/asm/arch/dma.h:11
from /usr/local/arm/2.95.3/kernel-h2410f/include/linux/bootmem.h:8
from init/main.c:28:
from /usr/local/arm/2.95.3/kernel-h2410f/include/asm/arch/hardware.h:88:S3C2410.h????????
make:***[init/main.o]ERROR 1
迷茫◎!~ |