Installation Error
ALIENreal opened this issue · 1 comments
ALIENreal commented
Branch 0.0
# make
/bin/sh /home/areal/scp/secp256k1/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/home/areal/scp/secp256k1 -DPHP_ATOM_INC -I/home/areal/scp/secp256k1/include -I/home/areal/scp/secp256k1/main -I/home/areal/scp/secp256k1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /home/areal/scp/secp256k1/secp256k1.c -o secp256k1.lo
libtool: compile: cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/home/areal/scp/secp256k1 -DPHP_ATOM_INC -I/home/areal/scp/secp256k1/include -I/home/areal/scp/secp256k1/main -I/home/areal/scp/secp256k1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /home/areal/scp/secp256k1/secp256k1.c -fPIC -DPIC -o .libs/secp256k1.o
/home/areal/scp/secp256k1/secp256k1.c: In function 'zif_secp256k1_ecdh':
/home/areal/scp/secp256k1/secp256k1.c:991:5: error: too few arguments to function 'secp256k1_ecdh'
result = secp256k1_ecdh(ctx, resultChars, pubkey, privKey);
^
In file included from /home/areal/scp/secp256k1/php_secp256k1.h:3:0,
from /home/areal/scp/secp256k1/secp256k1.c:10:
/usr/local/include/secp256k1_ecdh.h:42:48: note: declared here
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ecdh(
^
make: *** [secp256k1.lo] Error 1