Open ghost opened 4 years ago
disable掉shadowsock
如果我没猜错的话应该不是编译失败而是连接失败。把最后一步的链接命令拷贝出来。然后把命令行中的下面部分去掉。-lssl 和-lz 如果我没记错的话。然后运行这条命令就可以了。
GektorUA @.***> 于 2022年6月3日周五 04:05写道:
Have same issue on OpenWrt 21.02.3 build, have try already:
make DISABLE_SHADOWSOCKS=1 make DISABLE_SHADOWSOCKS=true
nothing helps., same issue. How to resolve?
— Reply to this email directly, view it on GitHub https://github.com/semigodking/redsocks/issues/139#issuecomment-1145291891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2XD2QB2LGAJ5EETZOKRLVNEH2HANCNFSM4KQXLJIA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/hyird/lede/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/redsocks2//redsocks2-0.67:redsocks2-0.67 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/hyird/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include -I/home/hyird/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/include -I/home/hyird/lede/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/usr/include -I/home/hyird/lede/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/include/fortify -I/home/hyird/lede/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_musl_eabi/include -fPIC -O3 -D_BSD_SOURCE -D_DEFAULT_SOURCE -Wall -std=c99 -D_XOPEN_SOURCE=600 -DUSE_CRYPTO_OPENSSL -c -o encrypt.o encrypt.c In file included from encrypt.c:50:0: encrypt.h:92:18: error: field 'evp' has incomplete type cipher_evp_t evp; ^~~ encrypt.c: In function 'enc_key_init': encrypt.c:919:17: error: storage size of 'cipher_info' isn't known cipher_kt_t cipher_info; ^: encrypt.o] Error 1
make[4]: Leaving directory '/home/hyird/lede/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/redsocks2/redsocks2-0.67'
make[3]: [Makefile:57: /home/hyird/lede/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/redsocks2//redsocks2-0.67/.built] Error 2
make[3]: Leaving directory '/home/hyird/lede/feeds/lienol/package/redsocks2'
time: package/feeds/lienol/redsocks2/compile#0.14#0.01#0.14
make[2]: [package/Makefile:109: package/feeds/lienol/redsocks2/compile] Error 2
make[2]: Leaving directory '/home/hyird/lede'
make[1]: [package/Makefile:103: /home/hyird/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/hyird/lede'
make: *** [/home/hyird/lede/include/toplevel.mk:218:world] 错误 2
~~encrypt.c:919:17: warning: unused variable 'cipher_info' [-Wunused-variable] At top level: encrypt.c:146:12: warning: 'crypto_stream_xor_ic' defined but not used [-Wunused-function] static int crypto_stream_xor_ic(uint8_t c, const uint8_t m, uint64_t mlen, ^~~~~~~~ encrypt.c:139:18: warning: 'supported_ciphers_key_size' defined but not used [-Wunused-const-variable=] static const int supported_ciphers_key_size[] = ^~~~~~encrypt.c:134:18: warning: 'supported_ciphers_iv_size' defined but not used [-Wunused-const-variable=] static const int supported_ciphers_iv_size[] = ^~~~~~~~~ make[4]: [