Hi,
I am trying to install lcomplex on Lua 5.3 using
$luarocks install lcomplex --local
which gives
Installing
https://luarocks.org/lcomplex-20120430-1.src.rock
gcc -O2 -fPIC -I/usr/include -c lcomplex.c -o lcomplex.o
lcomplex.c: In function ‘luaopen_complex’:
lcomplex.c:155:2: warning: implicit declaration of function ‘luaL_register’; did you mean ‘lua_register’? [-Wimplicit-function-declaration]
luaL_register(L,MYNAME,R);
^~~~~~~~~~~~~
lua_register
gcc -shared -o complex.so lcomplex.o
lcomplex 20120430-1 is now installed in /home/adityam/.luarocks (license: MIT/X11)