itour 发布的帖子
-
mkernel 出现这个错误怎么解决呀。
SYSMAP System.map
make[4]: Leaving directory '/home/yc/tina-d1-open/lichee/linux-5.4'
find /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/linux-5.4.61 /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/rootfs/lib/modules -name *.ko | xargs riscv64-unknown-linux-gnu-nm | awk '$1 == "U" { print $2 } ' | sort -u > /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/mod_symtab.txt
find: '/home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/rootfs/lib/modules': No such file or directory
/home/yc/tina-d1-open/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-nm: 'a.out': No such file
riscv64-unknown-linux-gnu-nm -n /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/linux-5.4.61/vmlinux.o | grep ' [rR] __ksymtab' | sed -e 's,........ [rR] _ksymtab,,' > /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/kernel_symtab.txt
grep -Ff /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/mod_symtab.txt /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/kernel_symtab.txt > /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/sym_include.txt
make[3]: *** [Makefile:33: /home/yc/tina-d1-open/out/d1-nezha/compile_dir/target/linux-d1-nezha/symtab.h] Error 1
make[3]: Leaving directory '/home/yc/tina-d1-open/target/allwinner/d1-nezha'
make[2]: *** [Makefile:13: install] Error 2
make[2]: Leaving directory '/home/yc/tina-d1-open/target/allwinner'
make[1]: *** [target/Makefile:22: target/allwinner/install] Error 2
make[1]: Leaving directory '/home/yc/tina-d1-open'
make: *** [/home/yc/tina-d1-open/build/toplevel.mk:306:target/allwinner/install] 错误 2make failed to build some targets (18:00 (mm:ss))
-
这个错误怎么解呀
if [ -f /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install.clean ]; then rm -f /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install.clean; fi; echo "terminfo" >> /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install
if [ -f /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install.clean ]; then rm -f /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install.clean; fi; echo "libncurses" >> /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/pkginfo/ncurses.libncurses.install
make[3]: Leaving directory '/home/yc/tina-d1-open/package/libs/ncurses'
make[2]: Leaving directory '/home/yc/tina-d1-open'
make[1]: *** [package/Makefile:189: /home/yc/tina-d1-open/out/d1-nezha/staging_dir/target/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/yc/tina-d1-open'
make: *** [/home/yc/tina-d1-open/build/toplevel.mk:306:world] 错误 2
[1]+ 已完成 $T/tools/build/buildserver --path $Tmake failed to build some targets (13 seconds)