We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.开启ssh,更新,安装运行所需环境: (Ubuntu 18.04 LTS) sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip apt-get install python 3.下载sdk: wget https://downloads.openwrt.org/releases/19.07.2/targets/apm821xx/nand/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64.tar.xz 4.解压sdk: xz -d openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64.tar.xz tar vxf openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64.tar 5.进入openwrt-sdk目录: cd openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64 6.添加 feeds(以shadowsocks-libev为例)
git clone https://github.com/ffftwo/openwrt-trojan.git package/feeds 7.获取Makefile(以shadowsocks-libev为例)
git clone https://github.com/ffftwo/openwrt-trojan package/trojan make menuconfig make package/trojan/compile V=99 编译失败::: -- Configuring incomplete, errors occurred! See also "/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-powerpc_464fp_musl/trojan-1.14.1/CMakeFiles/CMakeOutput.log". Makefile:86: recipe for target '/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-powerpc_464fp_musl/trojan-1.14.1/.configured_68b329da9893e34099c7d8ad5cb9c940' failed make[2]: *** [/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-powerpc_464fp_musl/trojan-1.14.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1 make[2]: Leaving directory '/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/package/trojan' time: package/trojan/compile#1.01#0.44#8.13 package/Makefile:111: recipe for target 'package/trojan/compile' failed make[1]: *** [package/trojan/compile] Error 2 make[1]: Leaving directory '/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64' /home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/include/toplevel.mk:218: recipe for target 'package/trojan/compile' failed make: *** [package/trojan/compile] Error 2 同样更换了openwrt-sdk-19.07.2-ipq40xx-generic_gcc-7.5.0_musl_eabi.Linux-x86_64 编译还是失败。。求解答。谷歌云和DO都失败
The text was updated successfully, but these errors were encountered:
我也是同样的问题, 解决了吗?
Sorry, something went wrong.
同样的问题
No branches or pull requests
2.开启ssh,更新,安装运行所需环境:
(Ubuntu 18.04 LTS)
sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip
apt-get install python
3.下载sdk:
wget https://downloads.openwrt.org/releases/19.07.2/targets/apm821xx/nand/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64.tar.xz
4.解压sdk:
xz -d openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64.tar.xz
tar vxf openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64.tar
5.进入openwrt-sdk目录:
cd openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64
6.添加 feeds(以shadowsocks-libev为例)
git clone https://github.com/shadowsocks/openwrt-feeds.git package/feeds
git clone https://github.com/ffftwo/openwrt-trojan.git package/feeds
7.获取Makefile(以shadowsocks-libev为例)
git clone https://github.com/shadowsocks/openwrt-shadowsocks.git package/shadowsocks-libev
git clone https://github.com/ffftwo/openwrt-trojan package/trojan
make menuconfig
make package/trojan/compile V=99
编译失败:::
-- Configuring incomplete, errors occurred!
See also "/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-powerpc_464fp_musl/trojan-1.14.1/CMakeFiles/CMakeOutput.log".
Makefile:86: recipe for target '/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-powerpc_464fp_musl/trojan-1.14.1/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[2]: *** [/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-powerpc_464fp_musl/trojan-1.14.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/package/trojan'
time: package/trojan/compile#1.01#0.44#8.13
package/Makefile:111: recipe for target 'package/trojan/compile' failed
make[1]: *** [package/trojan/compile] Error 2
make[1]: Leaving directory '/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64'
/home/openwrt-sdk-19.07.2-apm821xx-nand_gcc-7.5.0_musl.Linux-x86_64/include/toplevel.mk:218: recipe for target 'package/trojan/compile' failed
make: *** [package/trojan/compile] Error 2
同样更换了openwrt-sdk-19.07.2-ipq40xx-generic_gcc-7.5.0_musl_eabi.Linux-x86_64
编译还是失败。。求解答。谷歌云和DO都失败
The text was updated successfully, but these errors were encountered: