当前位置: 技术问答>linux和unix
make: *** [vmlinux] Error 1
来源: 互联网 发布时间:2017-01-08
本文导语: #make zImage CC lib/vsprintf.o AR lib/lib.a GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 /...
#make zImage
CC lib/vsprintf.o
AR lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
/usr/local/arm/3.3.2/bin/arm-linux-ld:arch/arm/kernel/vmlinux.lds:1932: parse error
make: *** [.tmp_vmlinux1] 错误 1
找到arch/arm/kernel/vmlinux.lds文件注释掉1932行,如下:
/*
*ASSERT((__proc_info_end - __proc_info_begin), "missing CPU *support"
*ASSERT((__arch_info_end - __arch_info_begin), "no machine *record defined"
*/
然后重新编译结果如下:
utu-Linux2.6.24_for_utu2440_2009-03-15$ make
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
sed: can't read /home/utu-Linux2.6.24_for_utu2440_2009-03-15/include/asm-arm/unistd_32.h: No such file or directory
CHK include/linux/compile.h
cp ./drivers/video/logo/logo_linux_800480_clut224.ppm ./drivers/video/logo/logo_linux_clut224.ppm
LOGO drivers/video/logo/logo_linux_clut224.c
CC drivers/video/logo/logo_linux_clut224.o
LD drivers/video/logo/built-in.o
LD drivers/video/built-in.o
LD drivers/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD .tmp_vmlinux3
KSYM .tmp_kallsyms3.S
AS .tmp_kallsyms3.o
LD vmlinux.o
MODPOST vmlinux.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
网上有说改CONFIG_KALLSYMS_EXTRA_PASS
,但小弟不知这个在哪里改,麻烦各位大侠指点下。谢谢@!
CC lib/vsprintf.o
AR lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
/usr/local/arm/3.3.2/bin/arm-linux-ld:arch/arm/kernel/vmlinux.lds:1932: parse error
make: *** [.tmp_vmlinux1] 错误 1
找到arch/arm/kernel/vmlinux.lds文件注释掉1932行,如下:
/*
*ASSERT((__proc_info_end - __proc_info_begin), "missing CPU *support"
*ASSERT((__arch_info_end - __arch_info_begin), "no machine *record defined"
*/
然后重新编译结果如下:
utu-Linux2.6.24_for_utu2440_2009-03-15$ make
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
sed: can't read /home/utu-Linux2.6.24_for_utu2440_2009-03-15/include/asm-arm/unistd_32.h: No such file or directory
CHK include/linux/compile.h
cp ./drivers/video/logo/logo_linux_800480_clut224.ppm ./drivers/video/logo/logo_linux_clut224.ppm
LOGO drivers/video/logo/logo_linux_clut224.c
CC drivers/video/logo/logo_linux_clut224.o
LD drivers/video/logo/built-in.o
LD drivers/video/built-in.o
LD drivers/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD .tmp_vmlinux3
KSYM .tmp_kallsyms3.S
AS .tmp_kallsyms3.o
LD vmlinux.o
MODPOST vmlinux.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
网上有说改CONFIG_KALLSYMS_EXTRA_PASS
,但小弟不知这个在哪里改,麻烦各位大侠指点下。谢谢@!
|
前面的没看明白
要改CONFIG_KALLSYMS_EXTRA_PASS,应该是在make menuconfig或者xconfig的时候设置吧。
要改CONFIG_KALLSYMS_EXTRA_PASS,应该是在make menuconfig或者xconfig的时候设置吧。
|
会不会是make menuconfig时候设置有问题?或者漏掉某些关键的设置?