内核编译出错
编译linux-2.6.28.7内核,报错误:我编译<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
make:*** error 1
make:*** error 2 您好:
请问您的开发环境是什么配置,跟我们标准环境一致吗
您的报错网上有相关的解决方法,您参考一下
http://www.linuxidc.com/Linux/2012-02/53883.htm
你好,我的环境是ubuntu1404,linux-2.6.28.7和交叉编译链3.4.1全部拷的附带光盘中文件,怎么解决,谢谢。 编译后的完整信息如下,谢谢,请给解决下,谢谢。
yan934@yan934:~/user/src/linux-2.6.28.7$ make zImage
CHK include/linux/version.h
make: `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
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK 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: *** Error 1
make: *** Error 2
飞凌-chongzi 发表于 2016-12-14 17:24
您好:
请问您的开发环境是什么配置,跟我们标准环境一致吗
您的报错网上有相关的解决方法,您参 ...
你好,帮我看下问题吧谢谢。 du1234 发表于 2016-12-15 09:57
你好,帮我看下问题吧谢谢。
您打开Linux内核文件根目录下的Makefile,看看ARCH 是否已经改为 arm CROSS_COMPILE 是否改为arm-fsl-linux-gnueabi- 飞凌-chongzi 发表于 2016-12-15 11:28
您打开Linux内核文件根目录下的Makefile,看看ARCH 是否已经改为 arm CROSS_COMPILE 是否改为arm-fsl-li ...
按照视频,Makefile进行了修改,
ARCH ?= arm
CROSS_COMPILE ?= /home/yan934/usr/local/arm/3.4.1/bin/arm-linux-
谢谢。 不客气。。。。 飞凌-chongzi 发表于 2016-12-15 14:54
不客气。。。。
按照视频,Makefile进行了修改,
ARCH ?= arm
CROSS_COMPILE ?= /home/yan934/usr/local/arm/3.4.1/bin/arm-linux-
还是不行
之前出的问题,也是对Makefile进行了相同的修改
页:
[1]