编译lede,报错了
o0HalfLife0o opened this issue · comments
rm -f /home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/.configured_*
touch /home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/.configured_yyyyyyy
CFLAGS="-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/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6:shadowsocksR-libev-2.5.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/usr/include -I/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/include -I/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/usr/include -I/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/include/fortify -I/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/include " CXXFLAGS="-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/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6:shadowsocksR-libev-2.5.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/usr/include -I/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/include -I/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/usr/include -I/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/include/fortify -I/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/include " LDFLAGS="-L/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/usr/lib -L/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/lib -L/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/usr/lib -L/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib -znow -zrelro " make -C /home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/. AR="arm-openwrt-linux-muslgnueabi-gcc-ar" AS="arm-openwrt-linux-muslgnueabi-gcc -c -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/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6:shadowsocksR-libev-2.5.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=arm-openwrt-linux-muslgnueabi-ld NM="arm-openwrt-linux-muslgnueabi-gcc-nm" CC="arm-openwrt-linux-muslgnueabi-gcc" GCC="arm-openwrt-linux-muslgnueabi-gcc" CXX="arm-openwrt-linux-muslgnueabi-g++" RANLIB="arm-openwrt-linux-muslgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-muslgnueabi-strip OBJCOPY=arm-openwrt-linux-muslgnueabi-objcopy OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump SIZE=arm-openwrt-linux-muslgnueabi-size CROSS="arm-openwrt-linux-muslgnueabi-" ARCH="arm" ;
make[4]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6'
make all-recursive
make[5]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6'
Making all in libsodium
make[6]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium'
Making all in src
make[7]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src'
Making all in libsodium
make[8]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src/libsodium'
Making all in include
make[9]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src/libsodium/include'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src/libsodium/include'
make[9]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src/libsodium'
CC crypto_aead/chacha20poly1305/sodium/libsodium_la-aead_chacha20poly1305.lo
CC crypto_auth/libsodium_la-crypto_auth.lo
CC crypto_auth/hmacsha256/libsodium_la-auth_hmacsha256_api.lo
CC crypto_auth/hmacsha256/cp/libsodium_la-hmac_hmacsha256.lo
CC crypto_auth/hmacsha256/cp/libsodium_la-verify_hmacsha256.lo
CC crypto_auth/hmacsha512/libsodium_la-auth_hmacsha512_api.lo
CC crypto_auth/hmacsha512/cp/libsodium_la-hmac_hmacsha512.lo
CC crypto_auth/hmacsha512/cp/libsodium_la-verify_hmacsha512.lo
CC crypto_auth/hmacsha512256/libsodium_la-auth_hmacsha512256_api.lo
CC crypto_auth/hmacsha512256/cp/libsodium_la-hmac_hmacsha512256.lo
CC crypto_auth/hmacsha512256/cp/libsodium_la-verify_hmacsha512256.lo
CC crypto_box/libsodium_la-crypto_box.lo
CC crypto_box/libsodium_la-crypto_box_easy.lo
CC crypto_box/libsodium_la-crypto_box_seal.lo
CC crypto_box/curve25519xsalsa20poly1305/libsodium_la-box_curve25519xsalsa20poly1305_api.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-after_curve25519xsalsa20poly1305.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-before_curve25519xsalsa20poly1305.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-box_curve25519xsalsa20poly1305.lo
CC crypto_box/curve25519xsalsa20poly1305/ref/libsodium_la-keypair_curve25519xsalsa20poly1305.lo
CC crypto_core/hsalsa20/ref2/libsodium_la-core_hsalsa20.lo
CC crypto_core/hsalsa20/libsodium_la-core_hsalsa20_api.lo
CC crypto_core/salsa20/ref/libsodium_la-core_salsa20.lo
CC crypto_core/salsa20/libsodium_la-core_salsa20_api.lo
CC crypto_generichash/libsodium_la-crypto_generichash.lo
CC crypto_generichash/blake2/libsodium_la-generichash_blake2_api.lo
CC crypto_generichash/blake2/ref/libsodium_la-blake2b-compress-ref.lo
CC crypto_generichash/blake2/ref/libsodium_la-blake2b-ref.lo
CC crypto_generichash/blake2/ref/libsodium_la-generichash_blake2b.lo
CC crypto_hash/libsodium_la-crypto_hash.lo
CC crypto_hash/sha256/libsodium_la-hash_sha256_api.lo
CC crypto_hash/sha256/cp/libsodium_la-hash_sha256.lo
CC crypto_hash/sha512/libsodium_la-hash_sha512_api.lo
CC crypto_hash/sha512/cp/libsodium_la-hash_sha512.lo
CC crypto_onetimeauth/libsodium_la-crypto_onetimeauth.lo
CC crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305.lo
CC crypto_onetimeauth/poly1305/donna/libsodium_la-poly1305_donna.lo
CC crypto_pwhash/scryptsalsa208sha256/libsodium_la-crypto_scrypt-common.lo
CC crypto_pwhash/scryptsalsa208sha256/libsodium_la-scrypt_platform.lo
CC crypto_pwhash/scryptsalsa208sha256/libsodium_la-pbkdf2-sha256.lo
CC crypto_pwhash/scryptsalsa208sha256/libsodium_la-pwhash_scryptsalsa208sha256.lo
CC crypto_pwhash/scryptsalsa208sha256/nosse/libsodium_la-pwhash_scryptsalsa208sha256_nosse.lo
CC crypto_scalarmult/libsodium_la-crypto_scalarmult.lo
CC crypto_scalarmult/curve25519/libsodium_la-scalarmult_curve25519.lo
CC crypto_secretbox/libsodium_la-crypto_secretbox.lo
CC crypto_secretbox/libsodium_la-crypto_secretbox_easy.lo
CC crypto_secretbox/xsalsa20poly1305/libsodium_la-secretbox_xsalsa20poly1305_api.lo
CC crypto_secretbox/xsalsa20poly1305/ref/libsodium_la-box_xsalsa20poly1305.lo
CC crypto_shorthash/libsodium_la-crypto_shorthash.lo
CC crypto_shorthash/siphash24/libsodium_la-shorthash_siphash24_api.lo
CC crypto_shorthash/siphash24/ref/libsodium_la-shorthash_siphash24.lo
CC crypto_sign/libsodium_la-crypto_sign.lo
CC crypto_sign/ed25519/libsodium_la-sign_ed25519_api.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_0.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_1.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_add.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_cmov.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_copy.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_frombytes.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_invert.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_isnegative.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_isnonzero.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_mul.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_neg.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_pow22523.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_sq.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_sq2.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_sub.lo
CC crypto_sign/ed25519/ref10/libsodium_la-fe_tobytes.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_add.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_double_scalarmult.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_frombytes.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_madd.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_msub.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p2.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p1p1_to_p3.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p2_0.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p2_dbl.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p3_0.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p3_dbl.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_cached.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p3_to_p2.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_p3_tobytes.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_precomp_0.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_scalarmult_base.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_sub.lo
CC crypto_sign/ed25519/ref10/libsodium_la-ge_tobytes.lo
CC crypto_sign/ed25519/ref10/libsodium_la-keypair.lo
CC crypto_sign/ed25519/ref10/libsodium_la-open.lo
CC crypto_sign/ed25519/ref10/libsodium_la-sc_muladd.lo
CC crypto_sign/ed25519/ref10/libsodium_la-sc_reduce.lo
CC crypto_sign/ed25519/ref10/libsodium_la-sign.lo
CC crypto_stream/libsodium_la-crypto_stream.lo
CC crypto_stream/chacha20/libsodium_la-stream_chacha20.lo
CC crypto_stream/chacha20/ref/libsodium_la-stream_chacha20_ref.lo
CC crypto_stream/salsa20/libsodium_la-stream_salsa20_api.lo
CC crypto_stream/xsalsa20/libsodium_la-stream_xsalsa20_api.lo
CC crypto_stream/xsalsa20/ref/libsodium_la-stream_xsalsa20.lo
CC crypto_stream/xsalsa20/ref/libsodium_la-xor_xsalsa20.lo
CC crypto_verify/16/libsodium_la-verify_16_api.lo
CC crypto_verify/16/ref/libsodium_la-verify_16.lo
CC crypto_verify/32/libsodium_la-verify_32_api.lo
CC crypto_verify/32/ref/libsodium_la-verify_32.lo
CC crypto_verify/64/libsodium_la-verify_64_api.lo
CC crypto_verify/64/ref/libsodium_la-verify_64.lo
CC randombytes/libsodium_la-randombytes.lo
CC sodium/libsodium_la-core.lo
CC sodium/libsodium_la-runtime.lo
CC sodium/libsodium_la-utils.lo
CC sodium/libsodium_la-version.lo
CC randombytes/salsa20/libsodium_la-randombytes_salsa20_random.lo
CC randombytes/sysrandom/libsodium_la-randombytes_sysrandom.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_0_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_1_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_add_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_copy_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_cswap_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_frombytes_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_invert_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_mul_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_mul121666_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_sq_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_sub_curve25519_ref10.lo
CC crypto_scalarmult/curve25519/ref10/libsodium_la-fe_tobytes_curve25519_ref10.lo
CC crypto_stream/salsa20/ref/libsodium_la-stream_salsa20_ref.lo
CC crypto_stream/salsa20/ref/libsodium_la-xor_salsa20_ref.lo
CC crypto_core/salsa2012/ref/libsodium_la-core_salsa2012.lo
CC crypto_core/salsa2012/libsodium_la-core_salsa2012_api.lo
CC crypto_core/salsa208/ref/libsodium_la-core_salsa208.lo
CC crypto_core/salsa208/libsodium_la-core_salsa208_api.lo
CC crypto_sign/ed25519/ref10/libsodium_la-obsolete.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-afternm_aes128ctr.lo
CC crypto_stream/aes128ctr/libsodium_la-stream_aes128ctr_api.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-beforenm_aes128ctr.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-common_aes128ctr.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-consts_aes128ctr.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-int128_aes128ctr.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-stream_aes128ctr.lo
CC crypto_stream/aes128ctr/portable/libsodium_la-xor_afternm_aes128ctr.lo
CC crypto_stream/salsa2012/libsodium_la-stream_salsa2012_api.lo
CC crypto_stream/salsa2012/ref/libsodium_la-stream_salsa2012.lo
CC crypto_stream/salsa2012/ref/libsodium_la-xor_salsa2012.lo
CC crypto_stream/salsa208/libsodium_la-stream_salsa208_api.lo
CC crypto_stream/salsa208/ref/libsodium_la-stream_salsa208.lo
CC crypto_stream/salsa208/ref/libsodium_la-xor_salsa208.lo
CC crypto_aead/aes256gcm/aesni/libaesni_la-aead_aes256gcm_aesni.lo
CCLD libaesni.la
OpenWrt-libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
CC crypto_pwhash/scryptsalsa208sha256/sse/libsse2_la-pwhash_scryptsalsa208sha256_sse.lo
CC crypto_onetimeauth/poly1305/sse2/libsse2_la-poly1305_sse2.lo
CCLD libsse2.la
OpenWrt-libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
CC crypto_generichash/blake2/ref/libssse3_la-blake2b-compress-ssse3.lo
CC crypto_stream/chacha20/vec/libssse3_la-stream_chacha20_vec.lo
CCLD libssse3.la
OpenWrt-libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
CC crypto_generichash/blake2/ref/libsse41_la-blake2b-compress-sse41.lo
CCLD libsse41.la
OpenWrt-libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
CCLD libsodium.la
OpenWrt-libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[9]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src/libsodium'
make[8]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src/libsodium'
make[8]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src'
make[7]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium/src'
make[7]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium'
make[6]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libsodium'
Making all in libcork
make[6]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libcork'
CC cli/libcork_la-commands.lo
CC core/libcork_la-allocator.lo
CC core/libcork_la-error.lo
CC core/libcork_la-gc.lo
CC core/libcork_la-hash.lo
CC core/libcork_la-ip-address.lo
CC core/libcork_la-mempool.lo
CC core/libcork_la-timestamp.lo
CC core/libcork_la-u128.lo
CC ds/libcork_la-array.lo
CC ds/libcork_la-bitset.lo
CC ds/libcork_la-buffer.lo
CC ds/libcork_la-dllist.lo
CC ds/libcork_la-file-stream.lo
CC ds/libcork_la-hash-table.lo
CC ds/libcork_la-managed-buffer.lo
CC ds/libcork_la-ring-buffer.lo
CC ds/libcork_la-slice.lo
CC posix/libcork_la-directory-walker.lo
CC posix/libcork_la-env.lo
CC posix/libcork_la-exec.lo
CC posix/libcork_la-files.lo
CC posix/libcork_la-process.lo
CC posix/libcork_la-subprocess.lo
CC pthreads/libcork_la-thread.lo
CCLD libcork.la
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[6]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libcork'
Making all in libipset
make[6]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libipset'
CC libipset_la-general.lo
CC bdd/libipset_la-assignments.lo
CC bdd/libipset_la-basics.lo
CC bdd/libipset_la-bdd-iterator.lo
CC bdd/libipset_la-expanded.lo
CC bdd/libipset_la-reachable.lo
CC bdd/libipset_la-read.lo
CC bdd/libipset_la-write.lo
CC map/libipset_la-allocation.lo
CC map/libipset_la-inspection.lo
CC map/libipset_la-ipv4_map.lo
CC map/libipset_la-ipv6_map.lo
CC map/libipset_la-storage.lo
CC set/libipset_la-allocation.lo
CC set/libipset_la-inspection.lo
CC set/libipset_la-ipv4_set.lo
CC set/libipset_la-ipv6_set.lo
CC set/libipset_la-iterator.lo
CC set/libipset_la-storage.lo
CCLD libipset.la
copying selected object files to avoid basename conflicts...
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[6]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libipset'
Making all in libudns
make[6]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libudns'
CC udns_dn.lo
CC udns_dntosp.lo
CC udns_parse.lo
CC udns_resolver.lo
In file included from udns_resolver.c:38:0:
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
CC udns_init.lo
CC udns_misc.lo
CC udns_XtoX.lo
CC udns_rr_a.lo
CC udns_rr_ptr.lo
CC udns_rr_mx.lo
CC udns_rr_txt.lo
CC udns_bl.lo
CC udns_rr_srv.lo
CC udns_rr_naptr.lo
CC udns_codes.lo
CC udns_jran.lo
CCLD libudns.la
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[6]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libudns'
Making all in libev
make[6]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libev'
CC ev.lo
ev.c:1825:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern'
EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialis
^
CC event.lo
CCLD libev.la
OpenWrt-libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[6]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/libev'
Making all in src
make[6]: Entering directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/src'
CC libshadowsocks_libev_la-utils.lo
CC libshadowsocks_libev_la-jconf.lo
CC libshadowsocks_libev_la-json.lo
CC libshadowsocks_libev_la-encrypt.lo
CC libshadowsocks_libev_la-udprelay.lo
CC libshadowsocks_libev_la-cache.lo
CC libshadowsocks_libev_la-acl.lo
CC libshadowsocks_libev_la-netutils.lo
CC libshadowsocks_libev_la-local.lo
CC libshadowsocks_libev_la-http.lo
CC libshadowsocks_libev_la-tls.lo
CC libshadowsocks_libev_la-rule.lo
CCLD libshadowsocks-libev.la
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: `u' modifier ignored since `D' is the default (see `U')
CC ss_local-utils.o
CC ss_local-jconf.o
CC ss_local-json.o
CC ss_local-encrypt.o
CC ss_local-udprelay.o
CC ss_local-cache.o
CC ss_local-acl.o
CC ss_local-netutils.o
CC ss_local-local.o
CC ss_local-http.o
CC ss_local-tls.o
CC ss_local-rule.o
CCLD ss-local
/home/ming/lede/staging_dir/toolchain-arm_cortex-a9_gcc-5.4.0_musl-1.1.16_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: copy reloc against protected `__stack_chk_guard' is dangerous
CC ss_tunnel-utils.o
CC ss_tunnel-jconf.o
CC ss_tunnel-json.o
CC ss_tunnel-encrypt.o
CC ss_tunnel-udprelay.o
CC ss_tunnel-cache.o
CC ss_tunnel-netutils.o
CC ss_tunnel-tunnel.o
tunnel.c: In function 'server_recv_cb':
tunnel.c:212:27: error: 'cipher_env' undeclared (first use in this function)
int err = ss_encrypt(&cipher_env, remote->buf, server->e_ctx, BUF_SIZE);
^
tunnel.c:212:27: note: each undeclared identifier is reported only once for each function it appears in
tunnel.c: In function 'remote_recv_cb':
tunnel.c:394:27: error: 'cipher_env' undeclared (first use in this function)
int err = ss_decrypt(&cipher_env, server->buf, server->d_ctx, BUF_SIZE);
^
tunnel.c: In function 'remote_send_cb':
tunnel.c:531:35: error: 'cipher_env' undeclared (first use in this function)
int err = ss_encrypt(&cipher_env, remote->buf, server->e_ctx, BUF_S
^
tunnel.c: In function 'new_server':
tunnel.c:680:23: error: 'cipher_env' undeclared (first use in this function)
enc_ctx_init(&cipher_env, server->e_ctx, 1);
^
tunnel.c: In function 'free_server':
tunnel.c:701:30: error: 'cipher_env' undeclared (first use in this function)
enc_ctx_release(&cipher_env, server->e_ctx);
^
tunnel.c: In function 'main':
tunnel.c:1005:30: error: 'jconf_t {aka struct <anonymous>}' has no member named 'remote_num'
remote_num = conf->remote_num;
^
tunnel.c:1007:38: error: 'jconf_t {aka struct <anonymous>}' has no member named 'remote_addr'
remote_addr[i] = conf->remote_addr[i];
^
tunnel.c:1010:31: error: 'jconf_t {aka struct <anonymous>}' has no member named 'remote_port'
remote_port = conf->remote_port;
^
tunnel.c:1013:30: error: 'jconf_t {aka struct <anonymous>}' has no member named 'local_addr'
local_addr = conf->local_addr;
^
tunnel.c:1016:30: error: 'jconf_t {aka struct <anonymous>}' has no member named 'local_port'
local_port = conf->local_port;
^
tunnel.c:1019:28: error: 'jconf_t {aka struct <anonymous>}' has no member named 'password'
password = conf->password;
^
tunnel.c:1023:28: error: 'jconf_t {aka struct <anonymous>}' has no member named 'protocol'
protocol = conf->protocol;
^
tunnel.c:1027:34: error: 'jconf_t {aka struct <anonymous>}' has no member named 'protocol_param'
protocol_param = conf->protocol_param;
^
tunnel.c:1031:26: error: 'jconf_t {aka struct <anonymous>}' has no member named 'method'
method = conf->method;
^
tunnel.c:1035:24: error: 'jconf_t {aka struct <anonymous>}' has no member named 'obfs'
obfs = conf->obfs;
^
tunnel.c:1039:30: error: 'jconf_t {aka struct <anonymous>}' has no member named 'obfs_param'
obfs_param = conf->obfs_param;
^
tunnel.c:1131:23: error: 'cipher_env' undeclared (first use in this function)
int m = enc_init(&cipher_env, password, method);
^
tunnel.c:1191:68: error: passing argument 9 of 'init_udprelay' from incompatible pointer type [-Werror=incompatible-pointer-types]
tunnel_addr, mtu, listen_ctx.timeout, iface, protocol, pr
^
In file included from tunnel.h:31:0,
from tunnel.c:60:
common.h:40:5: note: expected 'cipher_env_t * {aka struct <anonymous> *}' but argument is of type 'char *'
int init_udprelay(const char *server_host, const char *server_port,
^
tunnel.c:1189:9: error: too few arguments to function 'init_udprelay'
init_udprelay(local_addr, local_port, listen_ctx.remote_addr[0],
^
In file included from tunnel.h:31:0,
from tunnel.c:60:
common.h:40:5: note: declared here
int init_udprelay(const char *server_host, const char *server_port,
^
cc1: all warnings being treated as errors
make[6]: *** [ss_tunnel-tunnel.o] Error 1
make[6]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6'
make[3]: *** [/home/ming/lede/build_dir/target-arm_cortex-a9_musl-1.1.16_eabi/shadowsocksR-libev-openssl/shadowsocksR-libev-2.5.6/.built] Error 2
make[3]: Leaving directory `/home/ming/lede/feeds/packages/net/shadowsocksR-libev'
make[2]: *** [package/feeds/packages/shadowsocksR-libev/compile] Error 2
make[2]: Leaving directory `/home/ming/lede'
make[1]: *** [/home/ming/lede/staging_dir/target-arm_cortex-a9_musl-1.1.16_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/ming/lede'
make: *** [world] 错误 2
[ming@localhost lede]$
在openwrt下一样
怎么修复的,求大佬贴出来。具体帖不见了