Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for xchacha20: no #154

Open
gitbobo opened this issue Jun 16, 2018 · 2 comments
Open

Support for xchacha20: no #154

gitbobo opened this issue Jun 16, 2018 · 2 comments

Comments

@gitbobo
Copy link

gitbobo commented Jun 16, 2018

My server is centos 6, with xchacha20poly1305.
When I run ./configure, got error as below:
Configuration summary:

Support for event library: yes
Support for sodium library: yes
Support for xchacha20: no

Then I make install,got error as below:
CC dnscrypt.o
dnscrypt.c: In function ‘dnscrypt_server_uncurve’:
dnscrypt.c:298: warning: implicit declaration of function ‘crypto_box_open_easy_afternm’
dnscrypt.c: In function ‘dnscrypt_server_curve’:
dnscrypt.c:377: warning: implicit declaration of function ‘crypto_box_easy_afternm’
CC udp_request.o
CC tcp_request.o
CC edns.o
CC logger.o
CC rfc1035.o
CC safe_rw.o
CC cert.o
cert.c: In function ‘cert_build_cert’:
cert.c:27: warning: implicit declaration of function ‘sodium_increment’
cert.c: In function ‘cert_sign’:
cert.c:50: warning: implicit declaration of function ‘crypto_sign_detached’
CC pidfile.o
CC debug.o
CC fpst.o
CC block.o
CC main.o
main.c: In function ‘filter_signed_certs’:
main.c:234: warning: dereferencing type-punned pointer will break strict-aliasing rules
main.c:234: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: Entering directory /root/dnscrypt-wrapper/argparse' cc -o argparse.o -c -Wall -fPIC -O3 -g -ggdb argparse.c ar rcs libargparse.a argparse.o make[1]: Leaving directory /root/dnscrypt-wrapper/argparse'
LINK dnscrypt-wrapper
dnscrypt.o: In function dnscrypt_server_uncurve': /root/dnscrypt-wrapper/dnscrypt.c:297: undefined reference to crypto_box_open_easy_afternm'
dnscrypt.o: In function dnscrypt_server_curve': /root/dnscrypt-wrapper/dnscrypt.c:377: undefined reference to crypto_box_easy_afternm'
cert.o: In function cert_build_cert': /root/dnscrypt-wrapper/cert.c:27: undefined reference to sodium_increment'
cert.o: In function cert_sign': /root/dnscrypt-wrapper/cert.c:50: undefined reference to crypto_sign_detached'
collect2: ld returned 1 exit status
make: *** [dnscrypt-wrapper] Error 1

@jedisct1
Copy link
Contributor

Your libsodium version is very old. You should use a more recent version.

@pysiak
Copy link
Contributor

pysiak commented Jun 16, 2018 via email

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

No branches or pull requests

3 participants