Giter Site home page Giter Site logo

openwrt-trojan's People

Contributors

j3l11234 avatar wongsyrone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-trojan's Issues

Configuring incomplete, errors occurred! , About Boost,How to fix?

CMake Error at /home/liuxu/github/openwrt/staging_dir/host/share/cmake-3.13/Modules/FindBoost.cmake:2100 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:30 (find_package)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0
used as include directory in directory /home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0

-- Configuring incomplete, errors occurred!
See also "/home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0/CMakeFiles/CMakeOutput.log".
Makefile:81: recipe for target '/home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[3]: *** [/home/liuxu/github/openwrt/build_dir/target-x86_64_musl/trojan-1.10.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[3]: Leaving directory '/home/liuxu/github/openwrt/package/trojan'
time: package/trojan/compile#0.32#0.21#0.49
package/Makefile:107: recipe for target 'package/trojan/compile' failed
make[2]: *** [package/trojan/compile] Error 2
make[2]: Leaving directory '/home/liuxu/github/openwrt'
package/Makefile:103: recipe for target '/home/liuxu/github/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/liuxu/github/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/liuxu/github/openwrt'
/home/liuxu/github/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

openwrt 19.07.2 有openssl 1.1.1e 版

openwrt 官網的 19.07.2 有openssl 1.1.1e可以直接裝。
請問我照這個compile的時候要怎麼把openssl 1.1.1d排除掉,想直接用openwrt內建的openssl。
另外
目前這個makefile可以直接用來compile新版1.15.1版的trojan嗎?
謝謝

compile error openwrt chaos_calmer 15.05

openwrt chaos_calmer 15.05 ,CMake upgraded to 3.7.2

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
THREADS_PTHREAD_ARG (advanced)
For details see /home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/trojan-1.10.0/TryRunResults.cmake
-- Check if compiler accepts -pthread - no
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- program_options
-- Found OpenSSL: /home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/openssl1.1_staging_dir/usr/lib/libssl.a;/home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/openssl1.1_staging_dir/usr/lib/libcrypto.a (found suitable version "1.1.1a", minimum required is "1.1.1")
-- Configuring incomplete, errors occurred!
See also "/home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/trojan-1.10.0/CMakeFiles/CMakeOutput.log".
See also "/home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/trojan-1.10.0/CMakeFiles/CMakeError.log".
Makefile:81: recipe for target '/home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/trojan-1.10.0/.configured_yyyyyyyy' failed
make[2]: *** [/home/mac/openwrtcc/chaos_calmer/build_dir/target-mipsel_1004kc+dsp_uClibc-0.9.33.2/trojan-1.10.0/.configured_yyyyyyyy] Error 1
make[2]: Leaving directory '/home/mac/openwrtcc/chaos_calmer/package/openwrt-trojan/trojan'
package/Makefile:191: recipe for target 'package/openwrt-trojan/trojan/compile' failed
make[1]: *** [package/openwrt-trojan/trojan/compile] Error 2
make[1]: Leaving directory '/home/mac/openwrtcc/chaos_calmer'
/home/mac/openwrtcc/chaos_calmer/include/toplevel.mk:181: recipe for target 'package/openwrt-trojan/trojan/compile' failed
make: *** [package/openwrt-trojan/trojan/compile] Error 2

lede 17.01

make[3]: *** [Makefile:92: /home/wenbo/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/trojan-1.14.1/.configured_0a39edc831f59554e08d925423c9f64b] Error 1
make[3]: Leaving directory '/home/wenbo/lede/package/trojan'
make[2]: *** [package/Makefile:110: package/trojan/compile] Error 2
make[2]: Leaving directory '/home/wenbo/lede'
make[1]: *** [package/Makefile:105: /home/wenbo/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/wenbo/lede'
make: *** [/home/wenbo/lede/include/toplevel.mk:207:world] 错误 2
[wenbo@localhost lede]$ make menuconfig

CMake could not find Boost.

CMake Error at /home/user1/openwrt/staging_dir/host/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find Boost (missing: system program_options) (found suitable
  version "1.72.0", minimum required is "1.66.0")
Call Stack (most recent call first):
  /home/user1/openwrt/staging_dir/host/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  /home/user1/openwrt/staging_dir/host/share/cmake-3.17/Modules/FindBoost.cmake:2145 (find_package_handle_standard_args)
  CMakeLists.txt:39 (find_package)


-- Configuring incomplete, errors occurred!

Build against OpenWrt master r13124-3f660249e6
Build command:

make package/openwrt-trojan/trojan/compile V=s

openwrt-sdk-19.07.2-ipq806x 编译失败

系统Ubuntu 19.10

https://downloads.openwrt.org/releases/19.07.2/targets/ipq806x/generic/openwrt-sdk-19.07.2-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64.tar.xz
下载SDK、解压。

apt-get update
安装工具
apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc wget unzip python time

之前还装了:sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk
sudo apt-get install subversion mercurial
sudo apt-get install ccache

下载openwrt-trojan
git clone https://github.com/trojan-gfw/openwrt-trojan.git
mv openwrt-trojan/* ./

安装feeds
./scripts/feeds update -a
./scripts/feeds install -a

进入make menuconfig
make menuconfig

进入Global build settings
勾掉前三个星号,保存

进入network
星号勾选trojan,保存,退出

然后执行编译trojan
make package/trojan/compile -j 4 V=99

报错:

-- Configuring incomplete, errors occurred!
See also "/home/darkzack/openwrt-sdk-19.07.2-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/trojan-1.14.1/CMakeFiles/CMakeOutput.log".
make[2]: *** [Makefile:93: /home/darkzack/openwrt-sdk-19.07.2-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/trojan-1.14.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/home/darkzack/openwrt-sdk-19.07.2-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/package/trojan'
time: package/trojan/compile#0.54#0.29#3.66
make[1]: *** [package/Makefile:113: package/trojan/compile] Error 2
make[1]: Leaving directory '/home/darkzack/openwrt-sdk-19.07.2-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64'
make: *** [/home/darkzack/openwrt-sdk-19.07.2-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/include/toplevel.mk:220: package/trojan/compile] Error 2

请问是我哪步错了或者少了什么步骤吗?谢谢

附上CMakeOutput.log
CMakeOutput.log

Unify default config file path?

default config path of trojan-gfw is /etc/trojan/config.json, while /etc/trojan.json in trojan.init of openwrt-trojan, any specific reason for it? why not keep consistent to use /etc/trojan/config.json?

Error loading shared library libboost_system.so.1.73.0: No such file or directory (needed by /usr/sbin/trojan) Started!

I got below error when I tried to start up trojan server with my RT-N14U router, which is running on OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.287.57033-3d52019.
Here's the error.
------------end------------
2020-10-25 23:05:42 Global_Socks5:Error loading shared library libboost_system.so.1.73.0: No such file or directory (needed by /usr/sbin/trojan) Started!
2020-10-25 23:05:25 UDP TPROXY Relay:Error loading shared library libboost_system.so.1.73.0: No such file or directory (needed by /usr/sbin/trojan) Started!
2020-10-25 23:05:25 Main node:Error loading shared library libboost_system.so.1.73.0: No such file or directory (needed by /usr/sbin/trojan) , 1 Threads Started!
-----------start-----------

Here the trojan was complied along SSR-Plus+ by me last week, using the latest code pulled from git.
I checked software libraries on the router, and it looked that v1.71.0 was there with the base.
boost 1.71.0-6 1.2 KB This package provides the Boost v1.71.0 libraries.…

What can I do here to fix my problem?
Thanks much.

Regards,
Stan

Package request: Entware (Optware) support

I am going to install trojan on Synology NAS DS118 ( cpu: armv8/aarch64, Entware installed ), Entware is based on modified OpenWrt environment, is it any possible to turn this to a Entware package? Help plz.

How can I use openssl from openwrt?

How can I use openssl from openwrt?
just delete <openssl1.1> folder?

If built-in openssl version is 1.1.1g, would I have cutting-edge features, e.g. TLS 1.3 while using openssl from openwrt?

and need 1.16.0 update. thanks

Help trojan eror build openwrt 18.06.2

` -- [ /home/cortexa53_sdk/staging_dir/host/share/cmake-3.11/Modules/FindBoost.cmake:1883 ] Boost_FOUND = 1
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- system
-- program_options
CMake Error at /home/cortexa53_sdk/staging_dir/host/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR: Found unsuitable version "1.0.2q", but
required is at least "1.1.0" (found
/home/cortexa53_sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libcrypto.so)
Call Stack (most recent call first):
/home/cortexa53_sdk/staging_dir/host/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
/home/cortexa53_sdk/staging_dir/host/share/cmake-3.11/Modules/FindOpenSSL.cmake:379 (find_package_handle_standard_args)
CMakeLists.txt:46 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/cortexa53_sdk/build_dir/target-aarch64_cortex-a53_musl/trojan-1.15.1/CMakeFiles/CMakeOutput.log".
Makefile:68: recipe for target '/home/cortexa53_sdk/build_dir/target-aarch64_cortex-a53_musl/trojan-1.15.1/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[2]: *** [/home/cortexa53_sdk/build_dir/target-aarch64_cortex-a53_musl/trojan-1.15.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/home/cortexa53_sdk/package/trojan'
time: package/trojan/compile#1.43#0.69#1.80
package/Makefile:107: recipe for target 'package/trojan/compile' failed
make[1]: *** [package/trojan/compile] Error 2
make[1]: Leaving directory '/home/cortexa53_sdk'
/home/cortexa53_sdk/include/toplevel.mk:209: recipe for target 'package/luci-app-ssr-plus/compile' failed
make: *** [package/luci-app-ssr-plus/compile] Error 2`

CPU: multicore_ready is false

I use Qemu to run OpenWrt 19.07.1-x86_64. (Kernel Version : 4.14.167)
And I can recognize 4 cpu cores by cpuinfo in the Openwrt.

But I saw this following notice at System Log....
daemon.notice procd: /etc/rc.d/S95trojan: multicore_ready is false
daemon.notice procd: /etc/rc.d/S95trojan: cpunum is 1
daemon.err trojan[1822]: Welcome to trojan 1.14.1

Does it matter to performance?

如何设置openwrt上的参数

快照3

trojan,已经在vps装完,一切正常,域名也申请的ssl证书。pc端,利用配置文件,已经可以顺利上网。

几个问题
1:TLS host,是填写服务器的域名吗?如果选TLS,
2:TCP快速打开,需要做什么,如果选上
3:如果我的网站,只允许https访问,那么是不是不要勾选上allowlnsecure?

基于openwrt sdk 19.07.2编译ipk失败。不解惑。

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都失败

Hi I have compiled the ipk packages and Upload to the tmp directory to install But I got the installation errors

root@OpenWrt:/tmp# opkg install boost_.ipk boost-system_.ipk boost-program_options_.ipk boost-date_time_.ipk trojan_*.ipk

Installing boost (1.68.0-6) to root...
Downloading http://mirror.0x.sg/openwrt/releases/18.06.4/packages/arm_cortex-a9/packages/boost_1.68.0-6_arm_cortex-a9.ipk
Installing boost-system (1.68.0-6) to root...
Downloading http://mirror.0x.sg/openwrt/releases/18.06.4/packages/arm_cortex-a9/packages/boost-system_1.68.0-6_arm_cortex-a9.ipk
Installing boost-program_options (1.68.0-6) to root...
Downloading http://mirror.0x.sg/openwrt/releases/18.06.4/packages/arm_cortex-a9/packages/boost-program_options_1.68.0-6_arm_cortex-a9.ipk
Installing boost-date_time (1.68.0-6) to root...
Downloading http://mirror.0x.sg/openwrt/releases/18.06.4/packages/arm_cortex-a9/packages/boost-date_time_1.68.0-6_arm_cortex-a9.ipk
Unknown package 'trojan'.
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for boost:
  • libstdcpp
  • librt
  • opkg_install_cmd: Cannot install package boost.
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for boost-system:
  • libstdcpp
  • librt
  • opkg_install_cmd: Cannot install package boost-system.
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for boost-program_options:
  • libstdcpp
  • librt
  • opkg_install_cmd: Cannot install package boost-program_options.
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for boost-date_time:
  • libstdcpp
  • librt
  • opkg_install_cmd: Cannot install package boost-date_time.
  • pkg_hash_fetch_best_installation_candidate: Packages for trojan found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package trojan.

Build error aarch64

I'm building trojan for lede Phicomm N1. Got the error below for openssl1.1

make[4]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-aarch64_generic_musl/openssl1.1-1.1.1d/openssl-1.1.1d'
/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/staging_dir/toolchain-aarch64_generic_gcc-7.5.0_musl/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: ca.c:(.text.do_revoke+0x498): warning: too many GOT entries for -fpic, please recompile with -fPIC
/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/staging_dir/toolchain-aarch64_generic_gcc-7.5.0_musl/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: final link failed: symbol needs debug section which does not exist
collect2: error: ld returned 1 exit status
make[4]: *** [apps/openssl] Error 1
make[3]: *** [all] Error 2
make[2]: *** [/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-aarch64_generic_musl/openssl1.1-1.1.1d/openssl-1.1.1d/.built] Error 2
time: package/lean/openssl1.1/compile#110.22#16.58#125.19
Makefile:174: recipe for target 'all' failed
make[1]: *** [package/lean/openssl1.1/compile] Error 2
make[3]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-aarch64_generic_musl/openssl1.1-1.1.1d/openssl-1.1.1d'
Makefile:158: recipe for target '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-aarch64_generic_musl/openssl1.1-1.1.1d/openssl-1.1.1d/.built' failed
make[2]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/package/lean/openssl1.1'
package/Makefile:107: recipe for target 'package/lean/openssl1.1/compile' failed
make[1]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt'
make: *** [package/openssl1.1/compile] Error 2
/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/include/toplevel.mk:216: recipe for target 'package/openssl1.1/compile' failed
##[error]Process completed with exit code 2.

Any ideas?

OpenWrt 19.07.2 multicore_ready is false

After installation, start to display these:

multicore_ready is false
real cpu core num is
all cpu core num is 2, including Hyper-threading virtual cores
cpunum is 1

How to compile it at openwrt 14.07?

Hi, my device has no way to upgrade to modern openwrt versions. Vendor doesn't support it.
It's running openwrt 14.07.

I have tried many ways for a week to compile trojan, but no luck.

I tried to upgrade openwrt, but failed many times. Tried to upgrade to 15, 17, 18, 19 with different dts files and .config files etc..., but no luck.

I tried to compile trojan on openwert 14.07 at debian7, debian8, debian10.

Hack the code etc.. There are many stories. I even combile half at debian7 and then copy the half work to debian10 and continue the compilation, this is because packages requirement for 14.07 official release and trojan are different. etc.. etc..

In conclusion, I don't find a way to complete this job.

Can anyone help me on this?

I don't need any cutting-edge features such as tls13 on openssl1.1. As long as it work, it should be fine. I also tried to comment out its own openssl1.1 related lines in Makefile and add +libopenssl on Depends trying to use the built-in openssl. (not sure if I did it correctly since there is no doc on this), but again, all attempts failed.

Thank you very much for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.