编译Linux内核时出现错误gcc: error: elf_i386: No such file or directory

本文介绍了解决Linux-2.6.34.7内核编译时出现的错误,特别是针对gcc 4.6.3版本不支持linker-style架构的问题,通过修改Makefile文件中的编译参数来解决。


在进行内核升级的过程中,出现编译错误

内核为Linux-2.6.34.7

执行make menuconfig配置内核,Processor type and feature ->Processor family ;CPU的类型选择为586/K5/5x86/6x86/6x86MX

LD arch/x86/mm/built-in.o
AS arch/x86/vdso/vdso32/int80.o
VDSO arch/x86/vdso/vdso32-int80.so.dbg
gcc: error: elf_i386: No such file or directory
make[2]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1
make[1]: *** [arch/x86/vdso] Error 2
make: *** [arch/x86] Error 2
root@ubuntu:/linux-2.6.34.14/linux-2.6.34.7#

编译内核时出现上述错误,

看一下gcc编译器版本:

root@ubuntu:/linux-2.6.34.14/linux-2.6.34.7# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
root@ubuntu:/linux-2.6.34.14/linux-2.6.34.7#

编译器是gcc-4.6.3的,编译器版本太高,对于gcc 4.6它 不再支持 linker-style 架构(网上是这么说的)

修改:
1.在内核目录arch/x86/vdso/Makefile中,大约在28,29行 找到 VDSO_LDFLAGS_vdso.lds = -m elf_x86_64 -Wl,-soname=linux-vdso.so.1 \   -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 把"-m elf_x86_64" 替换为 "-m64"

2然后再继续找,大约在72行左右,找到VDSO_LDFLAGS_vdso32.lds = -m elf_i386 -Wl,-soname=linux-gate.so.1中的 "-m elf_i386" 替换为 "-m32"

然后继续编译,就可以了。



mkdir: cannot create directory ‘Result’: File exists make libc make[1]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/release/src' make[2]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[2]: mipsel-linux-gcc: Command not found find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec rm -f {} \; make -C test clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test' make -C args clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/args' rm -f *.[oa] *~ core arg_test make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/args' make -C assert clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/assert' rm -f *.[oa] *~ core assert make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/assert' make -C ctype clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/ctype' rm -f *.[oa] *~ core ctype ctype_run make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/ctype' make -C ldso clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/ldso' rm -f *.o *.so dltest2 dltest core libhowdy.so dlttest dlttest2 make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/ldso' make -C pwd_grp clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/pwd_grp' rm -f *.[oa] *~ core test_pwd test_pwd_glibc test_grp test_grp_glibc test_pwd_diff test_grp_diff *.out make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/pwd_grp' make -C signal clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/signal' rm -f *.[oa] *~ core signal signal_glibc sigchld sigchld_glibc make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/signal' make -C silly clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/silly' rm -f *.[oa] *~ core hello_source hello hello_glibc tiny make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/silly' make -C stdlib clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/stdlib' rm -f *.[oa] *~ core teststrtol teststrtol_glibc teststrtol_diff qsort qsort_glibc qsort_diff teston_exit teston_exit_glibc teston_exit_diff testatexit testatexit_glibc testatexit_diff ptytest *.out make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/stdlib' make -C string clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/string' rm -f *.[oa] *~ core string string_glibc testcopy testcopy_glibc testcopy.gnu.out testcopy.out make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/string' make -C unistd clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/unistd' rm -f *.[oa] *~ core fork fork_glibc vfork vfork_glibc getcwd getopt getopt_long preadwrite make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/unistd' make -C crypt clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/crypt' rm -f *.[oa] *~ core crypt_glibc crypt crypt_glibc.out crypt.out md5c-test make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test/crypt' rm -f *.[oa] *~ core make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/test' make -C ldso clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found set -e ; for d in ldso libdl util ; do make -C $d clean ; done make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso/ldso' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found ls: cannot access '/*.S': No such file or directory ls: cannot access '/*.S': No such file or directory ls: cannot access '/*.S': No such file or directory rm -f -f ld-uClibc.so.0* ldso.o ld-uClibc-0.9.19.so* core *.o *.a *.s *.i ldso.h *~ make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso/ldso' make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso/libdl' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f -f .depend libdl.so* libdl-0.9.19.so core *.o *.a *.s *.i tmp_make foo *~ make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso/libdl' make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso/util' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f elf_header ldd *.o *~ core ./elf.h *.target make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso/util' find . -name '*~' | xargs rm -f make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/ldso' make -C libc/misc/internals clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/misc/internals' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found rm -f *.[oa] interp.c *~ core make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/misc/internals' make -C libc/misc/wchar clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/misc/wchar' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core iconv.target make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/misc/wchar' make -C libc/unistd clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/unistd' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core gen_sysconf sysconf_*.c make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/unistd' make -C libc/sysdeps/linux/common clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/common' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core crt[in].* *.S make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/common' make -C extra/gcc-uClibc clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/extra/gcc-uClibc' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found /bin/sh: 1: mipsel-linux-gcc: not found rm -f gcc-uClibc.h *-uclibc-gcc *-uclibc-ld core make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/extra/gcc-uClibc' make -C extra/locale clean make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/extra/locale' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate rm -f c8tables.h wctables.h locale_tables.h lt_defines.h locale_collate.h rm -f gen_mmap locale.mmap lmmtolso rm -f locale_data.c locale_data.o uClibc_locale_data.h make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/extra/locale' make[3]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[3]: mipsel-linux-gcc: Command not found make -C arm clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/arm' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/arm' make -C common clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/common' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core crt[in].* *.S make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/common' make -C cris clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/cris' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/cris' make -C h8300 clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/h8300' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/h8300' make -C i386 clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/i386' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/i386' make -C m68k clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/m68k' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/m68k' make -C mips clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/mips' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h rm -f ../../../..//include/sgidefs.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/mips' make -C powerpc clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/powerpc' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/powerpc' make -C sh clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/sh' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/sh' make -C sparc clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/sparc' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/sparc' make -C v850 clean make[4]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/v850' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[4]: mipsel-linux-gcc: Command not found rm -f *.[oa] *~ core rm -f bits/sysnum.h make[4]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux/v850' make[3]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc/libc/sysdeps/linux' make[2]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc' make[2]: Entering directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc' /bin/sh: 1: mipsel-linux-gcc: not found /bin/sh: 1: mipsel-linux-gcc: not found make[2]: mipsel-linux-gcc: Command not found rm -rf include/bits mkdir -p include/bits can't find file extra/Configs/Config. make[2]: *** [include/bits/uClibc_config.h] Error 1 Makefile:114: recipe for target 'include/bits/uClibc_config.h' failed make[2]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/tools-src/uClibc' make[1]: *** [libc] Error 2 Makefile:141: recipe for target 'libc' failed make[1]: Leaving directory '/home/book/openwrt/tomato-source-code/tomato/release/src' make: *** [all] Error 2 Makefile:24: recipe for target 'all' failed cp: cannot stat 'release/image/code.bin': No such file or directory
12-13
gcc mksquashfs.o read_fs.o action.o swap.o pseudo.o compressor.o sort.o progressbar.o read_file.o info.o restore.o process_fragments.o caches-queues-lists.o gzip_wrapper.o xz_wrapper.o xattr.o read_xattrs.o -lpthread -lm -lz /opt/rt-n56u-hanwckf/trunk/tools/mksquashfs_xz/xz-5.2.4/src/liblzma/.libs/liblzma.a -o mksquashfs gcc unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o unsquash-4.o swap.o compressor.o unsquashfs_info.o gzip_wrapper.o xz_wrapper.o read_xattrs.o unsquashfs_xattr.o -lpthread -lm -lz /opt/rt-n56u-hanwckf/trunk/tools/mksquashfs_xz/xz-5.2.4/src/liblzma/.libs/liblzma.a -o unsquashfs make[3]: Leaving directory '/opt/rt-n56u-hanwckf/trunk/tools/mksquashfs_xz/squashfs-4.3' cp squashfs-4.3/unsquashfs ./ make[2]: Leaving directory '/opt/rt-n56u-hanwckf/trunk/tools/mksquashfs_xz' make[1]: Leaving directory '/opt/rt-n56u-hanwckf/trunk/tools' make ARCH=mips CROSS_COMPILE=/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc- -j4 -C linux-3.4.x || exit 1 make: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: Command not found make[1]: Entering directory '/opt/rt-n56u-hanwckf/trunk/linux-3.4.x' /bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found /bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found /bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found /bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found /opt/rt-n56u-hanwckf/trunk/linux-3.4.x/scripts/gcc-version.sh: line 25: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: No such file or directory /opt/rt-n56u-hanwckf/trunk/linux-3.4.x/scripts/gcc-version.sh: line 26: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: No such file or directory make[1]: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: Command not found CHK include/linux/version.h CHK include/generated/utsrelease.h CC scripts/mod/empty.o /bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed make[3]: *** [scripts/mod/empty.o] Error 127 make[3]: *** Waiting for unfinished jobs.... HOSTCC scripts/mod/mk_elfconfig CC kernel/bounds.s /bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found /opt/rt-n56u-hanwckf/trunk/linux-3.4.x/./Kbuild:35: recipe for target 'kernel/bounds.s' failed make[2]: *** [kernel/bounds.s] Error 127 Makefile:1032: recipe for target 'prepare0' failed make[1]: *** [prepare0] Error 2 make[1]: *** Waiting for unfinished jobs.... scripts/Makefile.build:443: recipe for target 'scripts/mod' failed make[2]: *** [scripts/mod] Error 2 Makefile:503: recipe for target 'scripts' failed make[1]: *** [scripts] Error 2 make[1]: *** wait: No child processes. Stop. Makefile:150: recipe for target 'linux' failed make: *** [linux] Error 1 这个报错怎么解决
最新发布
12-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值