Skip to content

Instantly share code, notes, and snippets.

@mathieujobin
Last active May 20, 2017 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieujobin/adfc858546197ef5a3527f9ae54ad427 to your computer and use it in GitHub Desktop.
Save mathieujobin/adfc858546197ef5a3527f9ae54ad427 to your computer and use it in GitHub Desktop.
[ 81%] Building C object libnvcore/src/CMakeFiles/nvcore.dir/logger.c.o
[ 82%] Building C object libnvcore/src/CMakeFiles/nvcore.dir/crypto.c.o
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c: In function 'get_dh_1024':
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:62:4: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}'
dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
^~
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c: In function 'krypt_set_renegotiate':
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:179:13: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
kconn->ssl->state = SSL_ST_ACCEPT;
^~
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c: In function 'krypt_secure_connection':
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:329:4: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]
kconn->ctx = SSL_CTX_new(TLSv1_method());
^~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:28:
/usr/include/openssl/ssl.h:1596:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
^
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c: In function 'krypt_fini':
/tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:389:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
ERR_remove_state(0);
^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ui.h:13:0,
from /usr/include/openssl/engine.h:29,
from /tmp/yaourt-tmp-arch/aur-netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:26:
/usr/include/openssl/err.h:247:1: note: declared here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
make[2]: *** [libnvcore/src/CMakeFiles/nvcore.dir/build.make:231: libnvcore/src/CMakeFiles/nvcore.dir/crypto.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:109: libnvcore/src/CMakeFiles/nvcore.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build netvirt-agent-git.
==> Restart building netvirt-agent-git ? [y/N]
==> ------------------------------------------
==>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment