当前位置: 技术问答>linux和unix
linux编译内核时出报错;
来源: 互联网 发布时间:2017-02-25
本文导语: 我从kernle.org上下载了一个linux-2.6.29.3版的内核进行编译,开始执行:make mrproper没有出现任何错误,在执行 make bzImage时提示如下错误: make[1]: *** No rule to make target `|', needed by `firmware/keyspan/usa19qi.fw.gen.S'. Stop. make: *...
我从kernle.org上下载了一个linux-2.6.29.3版的内核进行编译,开始执行:make mrproper没有出现任何错误,在执行
make bzImage时提示如下错误:
make[1]: *** No rule to make target `|', needed by `firmware/keyspan/usa19qi.fw.gen.S'. Stop.
make: *** [firmware] Error 2
分别在两台不同的机器进行执行,结果也是同样;
gcc版本为V3.3.2-1;望请那位兄弟指点迷津;
make bzImage时提示如下错误:
make[1]: *** No rule to make target `|', needed by `firmware/keyspan/usa19qi.fw.gen.S'. Stop.
make: *** [firmware] Error 2
分别在两台不同的机器进行执行,结果也是同样;
gcc版本为V3.3.2-1;望请那位兄弟指点迷津;
|
因为以前已经编译了,所以就很简单的连接:
[root@bache linux-2.6.29]# make defconfig
*** Default configuration is based on 'i386_defconfig'
#
# configuration written to .config
#
[root@bache linux-2.6.29]# make all
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC [M] arch/x86/kernel/test_nx.o
CC [M] drivers/hid/hid-dummy.o
CC [M] drivers/scsi/scsi_wait_scan.o
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 3 modules
CC arch/x86/kernel/test_nx.mod.o
LD [M] arch/x86/kernel/test_nx.ko
CC drivers/hid/hid-dummy.mod.o
LD [M] drivers/hid/hid-dummy.ko
CC drivers/scsi/scsi_wait_scan.mod.o
LD [M] drivers/scsi/scsi_wait_scan.ko
[root@bache linux-2.6.29]#