|
本帖最后由 ascc2344 于 2019-4-20 15:22 编辑
错误1(看来是网络不好导致的):make V=99之后:
make[3]: Entering directory '/home/l-w/openwrt/package/lean/kcptun'
rm -f /home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.built
touch /home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.built_check
( cd /home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build ; export GOPATH=/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build GOCACHE=/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/cache GOTMPDIR=/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/tmp GOROOT_FINAL=/usr/lib/go-1.10 CC=arm-openwrt-linux-muslgnueabi-gcc CXX=arm-openwrt-linux-muslgnueabi-g++ GOOS=linux GOARCH=arm GO386=387 GOARM=7 GOMIPS= CGO_ENABLED=1 CGO_CFLAGS="-Os -pipe -mcpu=cortex-a15 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401:kcptun-20190401 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/l-w/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -I/home/l-w/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/include -I/home/l-w/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/include -I/home/l-w/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/include/fortify -I/home/l-w/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/include" CGO_CXXFLAGS="-Os -pipe -mcpu=cortex-a15 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401:kcptun-20190401 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" ; targets=$(go list github.com/xtaci/kcptun/...) ; for pattern in ; do targets=$(echo "$targets" | grep -v "$pattern") ; done ; if [ "" = 1 ]; then go generate -v $targets ; fi ; if [ "" != 1 ]; then case arm in arm) installsuffix="-installsuffix v7" ;; mips|mipsle) installsuffix="-installsuffix " ;; esac ; trimpath="all=-trimpath=/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build" ; ldflags="all=-linkmode external -extldflags '-L/home/l-w/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib -L/home/l-w/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/lib -L/home/l-w/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/lib -L/home/l-w/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/lib -znow -zrelro'" ; go install $installsuffix -gcflags "$trimpath" -asmflags "$trimpath" -ldflags "$ldflags" -v $targets ; retval=$? ; if [ "$retval" -eq 0 ] && [ -z "$(find /home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/bin/linux_arm -maxdepth 0 -type d \! -empty 2>/dev/null)" ]; then echo "No binaries were generated, consider adding GO_PKG_SOURCE_ONLY:=1 to Makefile" ; fi ; fi ; exit $retval ; )
src/github.com/xtaci/kcptun/client/main.go:16:2: cannot find package "github.com/golang/snappy" in any of:
/home/l-w/openwrt/staging_dir/hostpkg/lib/go-cross/src/github.com/golang/snappy (from $GOROOT)
/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/src/github.com/golang/snappy (from $GOPATH)
src/github.com/xtaci/kcptun/client/main.go:17:2: cannot find package "github.com/pkg/errors" in any of:
/home/l-w/openwrt/staging_dir/hostpkg/lib/go-cross/src/github.com/pkg/errors (from $GOROOT)
/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/src/github.com/pkg/errors (from $GOPATH)
src/github.com/xtaci/kcptun/client/main.go:18:2: cannot find package "github.com/urfave/cli" in any of:
/home/l-w/openwrt/staging_dir/hostpkg/lib/go-cross/src/github.com/urfave/cli (from $GOROOT)
/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/src/github.com/urfave/cli (from $GOPATH)
src/github.com/xtaci/kcptun/client/main.go:19:2: cannot find package "github.com/xtaci/kcp-go" in any of:
/home/l-w/openwrt/staging_dir/hostpkg/lib/go-cross/src/github.com/xtaci/kcp-go (from $GOROOT)
/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/src/github.com/xtaci/kcp-go (from $GOPATH)
src/github.com/xtaci/kcptun/client/main.go:20:2: cannot find package "github.com/xtaci/smux" in any of:
/home/l-w/openwrt/staging_dir/hostpkg/lib/go-cross/src/github.com/xtaci/smux (from $GOROOT)
/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/src/github.com/xtaci/smux (from $GOPATH)
src/github.com/xtaci/kcptun/client/main.go:14:2: cannot find package "golang.org/x/crypto/pbkdf2" in any of:
/home/l-w/openwrt/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/crypto/pbkdf2 (from $GOROOT)
/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.go_work/build/src/golang.org/x/crypto/pbkdf2 (from $GOPATH)
Makefile:80: recipe for target '/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.built' failed
make[3]: *** [/home/l-w/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/kcptun-20190401/.built] Error 1
make[3]: Leaving directory '/home/l-w/openwrt/package/lean/kcptun'
time: package/lean/kcptun/compile#0.27#0.17#0.49
package/Makefile:107: recipe for target 'package/lean/kcptun/compile' failed
make[2]: *** [package/lean/kcptun/compile] Error 2
make[2]: Leaving directory '/home/l-w/openwrt'
package/Makefile:103: recipe for target '/home/l-w/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/home/l-w/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/l-w/openwrt'
/home/l-w/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2
错误2(已通过去掉luci-app-v2瑞-pro的makefile文件里面的第一个依赖项解决):make menuconfig之后:
tmp/.config-package.in:58473:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:58473: symbol PACKAGE_iptables is selected by PACKAGE_sqm-scripts
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:1011: symbol PACKAGE_sqm-scripts is selected by PACKAGE_luci-app-sqm
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:41649: symbol PACKAGE_luci-app-sqm depends on PACKAGE_lua
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:18642: symbol PACKAGE_lua is selected by PACKAGE_lua-cjson
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:18674: symbol PACKAGE_lua-cjson is selected by PACKAGE_luci-app-v2瑞-pro
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:41923: symbol PACKAGE_luci-app-v2瑞-pro depends on PACKAGE_iptables
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
|
|