Description
Hello. When i try to install the bot i got this error
Missing dependencies for oauth: luacrypto
Using https://rocks.moonscript.org/luacrypto-0.3.0.20120524-1.src.rock... switching to 'build' mode
gcc -O2 -fPIC -I/usr/include -c src/lcrypto.c -o src/lcrypto.o -I/usr/include
In file included from src/lcrypto.c:31:0:
src/lcrypto.h:30:79: error: unknown type name ‘luaL_reg’
LUACRYPTO_API int luacrypto_createmeta (lua_State *L, const char *name, const luaL_reg *methods);
^
src/lcrypto.c:1708:79: error: unknown type name ‘luaL_reg’
LUACRYPTO_API int luacrypto_createmeta (lua_State *L, const char *name, const luaL_reg *methods)
^
src/lcrypto.c: In function ‘create_metatables’:
src/lcrypto.c:1758:19: error: array type has incomplete element type
struct luaL_reg core_functions[] = {
^
src/lcrypto.c:1763:19: error: array type has incomplete element type
struct luaL_reg digest_methods[] = {
^
src/lcrypto.c:1773:15: error: array type has incomplete element type
EVP_METHODS(encrypt);
^
src/lcrypto.c:1744:19: note: in definition of macro ‘EVP_METHODS’
struct luaL_reg name##_methods[] = {
^
src/lcrypto.c:1774:15: error: array type has incomplete element type
EVP_METHODS(decrypt);
^
src/lcrypto.c:1744:19: note: in definition of macro ‘EVP_METHODS’
struct luaL_reg name##_methods[] = {
^
src/lcrypto.c:1775:15: error: array type has incomplete element type
EVP_METHODS(sign);
^
src/lcrypto.c:1744:19: note: in definition of macro ‘EVP_METHODS’
struct luaL_reg name##_methods[] = {
^
src/lcrypto.c:1776:15: error: array type has incomplete element type
EVP_METHODS(verify);
^
src/lcrypto.c:1744:19: note: in definition of macro ‘EVP_METHODS’
struct luaL_reg name##_methods[] = {
^
src/lcrypto.c:1777:15: error: array type has incomplete element type
EVP_METHODS(seal);
^
src/lcrypto.c:1744:19: note: in definition of macro ‘EVP_METHODS’
struct luaL_reg name##_methods[] = {
^
src/lcrypto.c:1778:15: error: array type has incomplete element type
EVP_METHODS(open);
^
src/lcrypto.c:1744:19: note: in definition of macro ‘EVP_METHODS’
struct luaL_reg name##_methods[] = {
^
src/lcrypto.c:1779:19: error: array type has incomplete element type
struct luaL_reg hmac_functions[] = {
^
src/lcrypto.c:1784:19: error: array type has incomplete element type
struct luaL_reg hmac_methods[] = {
^
src/lcrypto.c:1794:19: error: array type has incomplete element type
struct luaL_reg rand_functions[] = {
^
src/lcrypto.c:1805:19: error: array type has incomplete element type
struct luaL_reg pkey_functions[] = {
^
src/lcrypto.c:1811:19: error: array type has incomplete element type
struct luaL_reg pkey_methods[] = {
^
src/lcrypto.c:1818:19: error: array type has incomplete element type
struct luaL_reg x509_functions[] = {
^
src/lcrypto.c:1821:19: error: array type has incomplete element type
struct luaL_reg x509_methods[] = {
^
src/lcrypto.c:1827:19: error: array type has incomplete element type
struct luaL_reg x509_ca_functions[] = {
^
src/lcrypto.c:1830:19: error: array type has incomplete element type
struct luaL_reg x509_ca_methods[] = {
^
src/lcrypto.c: In function ‘luaopen_crypto’:
src/lcrypto.c:1901:19: error: array type has incomplete element type
struct luaL_reg core[] = {
^
Error: Failed installing dependency: https://rocks.moonscript.org/luacrypto-0.3.0.20120524-1.src.rock - Build error: Failed compiling object src/lcrypto.o Error. Exiting.
I am on Arch Linux