Skip to content
New issue

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

Error for building libsodium on OpenWrt #31

Open
angusding opened this issue Mar 5, 2018 · 0 comments
Open

Error for building libsodium on OpenWrt #31

angusding opened this issue Mar 5, 2018 · 0 comments

Comments

@angusding
Copy link

/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-poly1305_donna.o): In function crypto_onetimeauth_poly1305_donna': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c:57: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c:65: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c:65: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-poly1305_donna.o): In function crypto_onetimeauth_poly1305_donna_verify': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c:102: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c:108: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c:108: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-randombytes_salsa20_random.o): In function randombytes_salsa20_random_stir': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c:301: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c:356: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c:356: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-randombytes_sysrandom.o): In function randombytes_sysrandom_stir': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c:257: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c:262: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c:262: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-stream_salsa208.o): In function crypto_stream_salsa208': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.c:16: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.c:51: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.c:51: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-xor_salsa208.o): In function crypto_stream_salsa208_xor': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.c:17: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.c:54: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.c:54: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsse2_la-poly1305_sse2.o): In function poly1305_finish_ext': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:569: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:626: undefined reference to __stack_chk_fail' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsse2_la-poly1305_sse2.o): In function crypto_onetimeauth_poly1305_sse2':
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:668: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:682: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:682: undefined reference to __stack_chk_fail' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsse2_la-poly1305_sse2.o): In function crypto_onetimeauth_poly1305_sse2_verify':
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:689: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c:695: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-blake2b-ref.o): In function crypto_generichash_blake2b__init_key': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c:227: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c:256: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c:256: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-stream_chacha20_ref.o): In function chacha_encrypt_bytes': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c:83: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c:222: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c:222: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-curve25519_donna_c64.o): In function crypto_scalarmult_curve25519_donna_c64': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c:449: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c:465: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c:465: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-curve25519_sandy2x.o): In function crypto_scalarmult_curve25519_sandy2x_base': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c:73: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c:106: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c:106: undefined reference to __stack_chk_fail'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/.libs/libsodium.a(libsodium_la-curve25519_sandy2x.o): In function crypto_scalarmult_curve25519_sandy2x': /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c:27: undefined reference to __stack_chk_guard'
/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c:62: undefined reference to __stack_chk_guard' /home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/3rd/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c:62: undefined reference to __stack_chk_fail'
collect2: error: ld returned 1 exit status
Makefile:270: recipe for target '/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/xSocks' failed
make[3]: *** [/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/xSocks] Error 1
make[3]: Leaving directory '/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5'
Makefile:57: recipe for target '/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/.built' failed
make[2]: *** [/home/openwrt/branches/master/openwrt/build_dir/target-x86_64_uClibc/xSocks-0.4.5/.built] Error 2
make[2]: Leaving directory '/home/everun/source/everun/3.utilities/3.2.network/xsocks/v0.4.5-p1/xsocks'
package/Makefile:106: recipe for target 'package/everun/general/xsocks/compile' failed
make[1]: *** [package/everun/general/xsocks/compile] Error 2
make[1]: Leaving directory '/home/openwrt/branches/master/openwrt'
/home/openwrt/branches/master/openwrt/include/toplevel.mk:216: recipe for target 'package/everun/general/xsocks/compile' failed
make: *** [package/everun/general/xsocks/compile] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant