openwrt-dnsforwarder icon indicating copy to clipboard operation
openwrt-dnsforwarder copied to clipboard

编译过程出错 请问编译依赖什么特殊的包吗

Open paladin4fan opened this issue 6 years ago • 1 comments

Package nettle was not found in the pkg-config search path. Perhaps you should add the directory containing nettle.pc' to the PKG_CONFIG_PATH environment variable No package 'nettle' found Package hogweed was not found in the pkg-config search path. Perhaps you should add the directory containing hogweed.pc' to the PKG_CONFIG_PATH environment variable No package 'hogweed' found Package nettle was not found in the pkg-config search path. Perhaps you should add the directory containing nettle.pc' to the PKG_CONFIG_PATH environment variable No package 'nettle' found Package hogweed was not found in the pkg-config search path. Perhaps you should add the directory containing hogweed.pc' to the PKG_CONFIG_PATH environment variable No package 'hogweed' found make[4]: Entering directory '/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73/src' ccache_cc -Os -pipe -mcpu=cortex-a9 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -iremap /home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73:dnsmasq-2.73 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -DHAVE_DNSSEC -DVERSION='"2.73"' -c dnssec.c dnssec.c:22:24: fatal error: nettle/rsa.h: No such file or directory compilation terminated. /home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73/Makefile:156: recipe for target 'dnssec.o' failed make[4]: *** [dnssec.o] Error 1 make[4]: Leaving directory '/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73/src' Makefile:82: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73' Makefile:151: recipe for target '/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73/.built' failed make[2]: *** [/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/dnsmasq-full/dnsmasq-2.73/.built] Error 2 make[2]: Leaving directory '/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/package/feeds/base/dnsmasq' package/Makefile:105: recipe for target 'package/feeds/base/dnsmasq/compile' failed make[1]: *** [package/feeds/base/dnsmasq/compile] Error 2 make[1]: Leaving directory '/home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64' /home/umi-kotomi/lede/lede-sdk-17.01.1-bcm53xx_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64/include/toplevel.mk:190: recipe for target 'package/dnsforwarder/compile' failed make: *** [package/dnsforwarder/compile] Error 2

paladin4fan avatar Mar 26 '18 03:03 paladin4fan

很奇怪,如果单独把这个拿出来用一份全新的sdk来编译的话是可以通过的,但是把这个跟https://github.com/AlexZhuo/luci-app-shadowsocksRhttps://github.com/AlexZhuo/openwrt-shadowsocksr 放在一起编译的话就会出错

starP-W avatar May 29 '18 12:05 starP-W