当前位置: 技术问答>linux和unix
kernel 编译错误
来源: 互联网 发布时间:2016-01-06
本文导语: CC lib/vsprintf.o AR lib/lib.a CC [M] lib/crc-ccitt.o CC [M] lib/libcrc32c.o CC [M] lib/ts_kmp.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version...
CC lib/vsprintf.o
AR lib/lib.a
CC [M] lib/crc-ccitt.o
CC [M] lib/libcrc32c.o
CC [M] lib/ts_kmp.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
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
AS arch/arm/boot/compressed/ll_char_wr.o
CC arch/arm/boot/compressed/../../../../drivers/video/console/font_acorn_8x8.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 408 modules
WARNING: "insl" [drivers/scsi/ppa.ko] undefined!
WARNING: "outsl" [drivers/scsi/ppa.ko] undefined!
WARNING: "insl" [drivers/scsi/imm.ko] undefined!
WARNING: "outsl" [drivers/scsi/imm.ko] undefined!
WARNING: "outsl" [drivers/parport/parport_pc.ko] undefined!
WARNING: "insl" [drivers/parport/parport_pc.ko] undefined!
WARNING: "__bad_udelay" [drivers/isdn/hisax/hisax.ko] undefined!
WARNING: "rtc_lock" [drivers/char/nvram.ko] undefined!
make[1]: *** [__modpost] 错误 1
make: *** [modules] 错误 2
AR lib/lib.a
CC [M] lib/crc-ccitt.o
CC [M] lib/libcrc32c.o
CC [M] lib/ts_kmp.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
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
AS arch/arm/boot/compressed/ll_char_wr.o
CC arch/arm/boot/compressed/../../../../drivers/video/console/font_acorn_8x8.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 408 modules
WARNING: "insl" [drivers/scsi/ppa.ko] undefined!
WARNING: "outsl" [drivers/scsi/ppa.ko] undefined!
WARNING: "insl" [drivers/scsi/imm.ko] undefined!
WARNING: "outsl" [drivers/scsi/imm.ko] undefined!
WARNING: "outsl" [drivers/parport/parport_pc.ko] undefined!
WARNING: "insl" [drivers/parport/parport_pc.ko] undefined!
WARNING: "__bad_udelay" [drivers/isdn/hisax/hisax.ko] undefined!
WARNING: "rtc_lock" [drivers/char/nvram.ko] undefined!
make[1]: *** [__modpost] 错误 1
make: *** [modules] 错误 2
|
建议执行,自己查找,每个人的都不同
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 408 modules
WARNING: "insl" [drivers/scsi/ppa.ko] undefined!
WARNING: "outsl" [drivers/scsi/ppa.ko] undefined!
WARNING: "insl" [drivers/scsi/imm.ko] undefined!
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 408 modules
WARNING: "insl" [drivers/scsi/ppa.ko] undefined!
WARNING: "outsl" [drivers/scsi/ppa.ko] undefined!
WARNING: "insl" [drivers/scsi/imm.ko] undefined!
|
这样子很难看出哪里出错的。