1、安装了交叉编译系统,内核源代码解压后,在Makefile里修改了交叉编译路径,并改为了ARM架构;
2、再shell里执行make menuconfig; 因为教程里说已经设置好了,所以直接保存就退出来,
3、再执行make zImage; 就遇到问题:vmlinux.o: No such file or directory;
以下是make.log:
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
:1097:2: warning: #warning syscall fadvise64 not implemented
:1265:2: warning: #warning syscall migrate_pages not implemented
:1321:2: warning: #warning syscall pselect6 not implemented
:1325:2: warning: #warning syscall ppoll not implemented
:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
LD init/mounts.o
LD init/built-in.o
LD usr/built-in.o
LD arch/arm/kernel/built-in.o
LD arch/arm/mm/built-in.o
LD arch/arm/common/built-in.o
LD arch/arm/mach-s3c2410/built-in.o
LD arch/arm/mach-s3c2400/built-in.o
LD arch/arm/mach-s3c2412/built-in.o
LD arch/arm/mach-s3c2440/built-in.o
LD arch/arm/mach-s3c2442/built-in.o
LD arch/arm/mach-s3c2443/built-in.o
LD arch/arm/plat-s3c24xx/built-in.o
LD arch/arm/plat-s3c/built-in.o
LD arch/arm/nwfpe/nwfpe.o
LD arch/arm/nwfpe/built-in.o
LD kernel/irq/built-in.o
LD kernel/time/built-in.o
LD kernel/built-in.o
LD mm/built-in.o
LD fs/configfs/configfs.o
LD fs/configfs/built-in.o
LD fs/cramfs/cramfs.o
LD fs/cramfs/built-in.o
LD fs/devpts/devpts.o
LD fs/devpts/built-in.o
LD fs/exportfs/exportfs.o
LD fs/exportfs/built-in.o
LD fs/ext2/ext2.o
LD fs/ext2/built-in.o
LD fs/fat/fat.o
LD fs/fat/vfat.o
LD fs/fat/msdos.o
LD fs/fat/built-in.o
LD fs/isofs/isofs.o
LD fs/isofs/built-in.o
LD fs/jffs2/jffs2.o
LD fs/jffs2/built-in.o
LD fs/lockd/lockd.o
LD fs/lockd/built-in.o
LD fs/nfs/nfs.o
LD fs/nfs/built-in.o
LD fs/nfs_common/built-in.o
LD fs/nfsd/nfsd.o
LD fs/nfsd/built-in.o
LD fs/nls/built-in.o
LD fs/ntfs/built-in.o
LD fs/partitions/built-in.o
LD fs/proc/proc.o
LD fs/proc/built-in.o
LD fs/ramfs/ramfs.o
LD fs/ramfs/built-in.o
LD fs/romfs/romfs.o
LD fs/romfs/built-in.o
LD fs/sysfs/built-in.o
LD fs/udf/built-in.o
LD fs/yaffs2/yaffs.o
LD fs/yaffs2/built-in.o
LD fs/built-in.o
LD ipc/built-in.o
LD security/built-in.o
LD crypto/crypto.o
LD crypto/built-in.o
LD block/built-in.o
LD drivers/auxdisplay/built-in.o
LD drivers/base/power/built-in.o
LD drivers/base/built-in.o
LD drivers/block/built-in.o
LD drivers/block/aoe/built-in.o
LD drivers/cdrom/built-in.o
LD drivers/char/hw_random/rng-core.o
LD drivers/char/hw_random/built-in.o
LD drivers/char/built-in.o
LD drivers/crypto/built-in.o
LD drivers/firmware/built-in.o
LD drivers/gpio/built-in.o
LD drivers/gpu/drm/built-in.o
LD drivers/gpu/built-in.o
LD drivers/hid/hid.o
LD drivers/hid/hid-logitech.o
LD drivers/hid/usbhid/usbhid.o
LD drivers/hid/usbhid/built-in.o
LD drivers/hid/built-in.o
LD drivers/hwmon/built-in.o
LD drivers/i2c/algos/built-in.o
LD drivers/i2c/busses/built-in.o
LD drivers/i2c/chips/built-in.o
LD drivers/i2c/built-in.o
LD drivers/ide/ide-core.o
LD drivers/ide/ide-gd_mod.o
LD drivers/ide/ide-cd_mod.o
LD drivers/ide/built-in.o
LD drivers/idle/built-in.o
LD drivers/ieee1394/built-in.o
LD drivers/input/input-core.o
LD drivers/input/keyboard/built-in.o
LD drivers/input/mouse/built-in.o
LD drivers/input/touchscreen/built-in.o
LD drivers/input/built-in.o
LD drivers/input/serio/built-in.o
LD drivers/lguest/built-in.o
LD drivers/macintosh/built-in.o
LD drivers/media/common/tuners/built-in.o
LD drivers/media/common/built-in.o
LD drivers/media/video/built-in.o
LD drivers/media/built-in.o
LD drivers/mfd/built-in.o
LD drivers/misc/built-in.o
LD drivers/mmc/card/mmc_block.o
LD drivers/mmc/card/built-in.o
LD drivers/mmc/core/mmc_core.o
LD drivers/mmc/core/built-in.o
LD drivers/mmc/host/built-in.o
LD drivers/mmc/built-in.o
LD drivers/mtd/mtd.o
LD drivers/mtd/chips/built-in.o
LD drivers/mtd/devices/built-in.o
LD drivers/mtd/maps/built-in.o
LD drivers/mtd/nand/nand.o
LD drivers/mtd/nand/built-in.o
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/built-in.o
LD drivers/net/arm/built-in.o
LD drivers/net/wireless/built-in.o
LD drivers/net/built-in.o
LD drivers/parport/parport.o
LD drivers/parport/built-in.o
LD drivers/rtc/rtc-core.o
LD drivers/rtc/built-in.o
LD drivers/scsi/scsi_mod.o
LD drivers/scsi/arm/built-in.o
LD drivers/scsi/sd_mod.o
LD drivers/scsi/built-in.o
LD drivers/serial/built-in.o
LD drivers/usb/class/built-in.o
LD drivers/usb/core/usbcore.o
LD drivers/usb/core/built-in.o
LD drivers/usb/host/built-in.o
LD drivers/usb/misc/built-in.o
LD drivers/usb/mon/usbmon.o
LD drivers/usb/mon/built-in.o
LD drivers/usb/serial/usbserial.o
LD drivers/usb/serial/built-in.o
LD drivers/usb/storage/built-in.o
LD drivers/usb/built-in.o
LD drivers/video/fb.o
LD drivers/video/backlight/built-in.o
LD drivers/video/console/font.o
LD drivers/video/console/built-in.o
LD drivers/video/display/built-in.o
LD drivers/video/built-in.o
LD drivers/built-in.o
LD sound/soundcore.o
LD sound/oss/built-in.o
LD sound/built-in.o
LD firmware/built-in.o
LD net/802/built-in.o
LD net/core/built-in.o
LD net/ethernet/built-in.o
LD net/ipv4/built-in.o
LD net/netlink/built-in.o
LD net/packet/built-in.o
LD net/sched/built-in.o
LD net/sunrpc/sunrpc.o
LD net/sunrpc/built-in.o
LD net/unix/unix.o
LD net/unix/built-in.o
LD net/wireless/built-in.o
LD net/xfrm/built-in.o
LD net/built-in.o
LD arch/arm/lib/built-in.o
AR arch/arm/lib/lib.a
LD lib/zlib_deflate/zlib_deflate.o
LD lib/zlib_deflate/built-in.o
LD lib/zlib_inflate/zlib_inflate.o
LD lib/zlib_inflate/built-in.o
LD lib/built-in.o
AR lib/lib.a
LD vmlinux.o
MODPOST vmlinux.o
vmlinux.o: No such file or directory
make[1]: *** [vmlinux.o] Error 1
make: *** [vmlinux.o] Error 2