|
源码是从https://github.com/updateing/lede-source/tree/phicomm-k3下载的 编译报错
make[5]: Entering directory '/home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools'
gcc -g -O2 -I/home/wq/phicommk3/lede-source/staging_dir/host/include -I/home/wq/phicommk3/lede-source/staging_dir/host/usr/include -I/home/wq/phicommk3/lede-source/staging_dir/hostpkg/include -I/home/wq/phicommk3/lede-source/staging_dir/target-mips_24kc_musl/host/include $(HOSTCPPFLAGS) -c -o crc32.o /home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/lib_generic/crc32.c
/bin/sh: 1: HOSTCPPFLAGS: not found
/home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/lib_generic/crc32.c:12:20: fatal error: common.h: No such file or directory
compilation terminated.
Makefile:200: recipe for target 'crc32.o' failed
make[5]: *** [crc32.o] Error 1
make[5]: Leaving directory '/home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/tools'
Makefile:364: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory '/home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03'
Makefile:31: recipe for target '/home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/.built' failed
make[3]: *** [/home/wq/phicommk3/lede-source/build_dir/target-mips_24kc_musl/u-boot-nbg460n_550n_550nh/u-boot-2010.03/.built] Error 2
make[3]: Leaving directory '/home/wq/phicommk3/lede-source/package/boot/uboot-ar71xx'
package/Makefile:109: recipe for target 'package/boot/uboot-ar71xx/compile' failed
make[2]: *** [package/boot/uboot-ar71xx/compile] Error 2
make[2]: Leaving directory '/home/wq/phicommk3/lede-source'
package/Makefile:105: recipe for target '/home/wq/phicommk3/lede-source/staging_dir/target-mips_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/wq/phicommk3/lede-source/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/wq/phicommk3/lede-source'
/home/wq/phicommk3/lede-source/include/toplevel.mk:199: recipe for target 'world' failed
make: *** [world] Error 2
|
|