Skip to content

Support for xchacha20: no #154

@gitbobo

Description

@gitbobo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions