Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
即使在构建失败之后,我也可以使用Linux内核映像吗_Linux_Build_Linux Kernel - Fatal编程技术网

即使在构建失败之后,我也可以使用Linux内核映像吗

即使在构建失败之后,我也可以使用Linux内核映像吗,linux,build,linux-kernel,Linux,Build,Linux Kernel,我是Linux内核新手,正在尝试构建我的第一个内核映像,我在i686体系结构上构建3.4.28 Linux内核,用于32位 经过一个半小时的构建过程,我发现了以下错误 BUILD arcarch/x86/boot/compressedh/x86/boot/bzImage Setup is 16540 bytes (padded to 16896 bytes). System is 4667 kB CRC c2376a1f Kernel: arch/x86/boot/bzImage is r

我是Linux内核新手,正在尝试构建我的第一个内核映像,我在i686体系结构上构建3.4.28 Linux内核,用于32位

经过一个半小时的构建过程,我发现了以下错误

BUILD   arcarch/x86/boot/compressedh/x86/boot/bzImage

Setup is 16540 bytes (padded to 16896 bytes).
System is 4667 kB
CRC c2376a1f
Kernel: arch/x86/boot/bzImage is ready  (#1)
Building modules, stage 2.
MODPOST 3508 modules
ERROR: "__sync_fetch_and_and_4" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "__sync_fetch_and_or_4" [drivers/staging/line6/line6usb.ko] undefined!
WARNING: modpost: Found 28 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
但是如果我去查看“arch/x86/boot/compressed”目录,我会找到带有ELF头的vmlinux.bin映像


我想知道我是否可以将此vmlinux二进制文件用于我的目的,或者是使此二进制文件完全功能化所需的完整成功构建。

只要没有任何东西依赖于内核模块
line6usb.ko
或其后构建的任何模块,您可能就可以了。

我的答案也与JimR相同;内核模块
line6usb.ko
不是那么重要的模块。首先通过先
mrproper
禁用此模块,然后在
make menuconfig
之后禁用此模块。
menuconfig
中,在驱动程序暂存中找到驱动程序并将其禁用。稍后再次交叉编译内核

在内核配置中禁用模块

通过这样的选择

设备驱动程序----


谢谢JimR的回复,但你能告诉我如何解决这个问题吗error@AmitSinghTomar:我需要更多的细节才能回答你。你想用6号线的司机吗?抱歉,它不是内核的标准部分。如果您试图使用第6行驱动程序,请获取最新版本并重新编译,因为该版本看起来与内核版本不一致。
 staging drivers