编译linux时,出现以下错误:
[ALL ] CC drivers/usb/otg/ulpi_viewport.o
[ALL ] LD drivers/usb/phy/built-in.o
[ALL ] LD drivers/usb/storage/built-in.o
[ALL ] CC drivers/usb/usb-common.o
[ALL ] LD drivers/usb/otg/built-in.o
[ALL ] LD drivers/usb/host/built-in.o
[ALL ] LD drivers/usb/built-in.o
[ALL ] LD drivers/built-in.o
[ALL ] LINK vmlinux
[ALL ] LD vmlinux.o
[ALL ] MODPOST vmlinux.o
[WARN ] WARNING: modpost: Found 1 section mismatch(es).
[ALL ] To see full details build your kernel with:
[ALL ] 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
[ALL ] GEN .version
[ALL ] CHK include/generated/compile.h
[ALL ] UPD include/generated/compile.h
[ALL ] CC init/version.o
[ALL ] LD init/built-in.o
[ALL ] LD vmlinux
[ALL ] `xemacps_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
[ALL ] `xwdtps_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
[ERROR] make[3]: *** [vmlinux] Error 1
[ERROR] make[2]: *** [sub-make] Error 2
[ALL ] make[2]: Leaving directory `/home/suheb/New/petalinux-v2013.10-final/components/linux-kernel/xlnx-3.8'
[ERROR] make[1]: *** [/home/bacup_5april/Xilinx-ZC702-14.7/build/linux/kernel/xlnx-3.8/vmlinux] Error 2
[ALL ] make[1]: Leaving directory `/home/bacup_5april/Xilinx-ZC702-14.7/build/linux/kernel'
[ALL ] make: *** [sub_build_component_/kernel/linux-kernel/single/xlnx-3.8] Error 2
[ALL ] make: Leaving directory `/home/bacup_5april/Xilinx-ZC702-14.7/build/linux'
ERROR: Failed to build linux
它没有清楚地表明出了什么问题?当我在内核配置中进行一些更改(特别是删除了 SMP 支持)时,此错误开始出现