Skip to content

Instantly share code, notes, and snippets.

@AJFaraday
Created May 11, 2014 16:42
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 AJFaraday/2ee07be60ac7af5f7a6c to your computer and use it in GitHub Desktop.
Save AJFaraday/2ee07be60ac7af5f7a6c to your computer and use it in GitHub Desktop.
Failed make install for pure data on SUSE
pdlua.c:244:16: warning: unused parameter ‘L’ [-Wunused-parameter]
lua_State *L, /**< Lua interpreter state. */
^
pdlua.c: In function ‘pdlua_popatomtable’:
pdlua.c:1059:9: warning: implicit declaration of function ‘lua_objlen’ [-Wimplicit-function-declaration]
*count = lua_objlen(L, -1);
^
pdlua.c: In function ‘pdlua_dofile’:
pdlua.c:1558:17: error: too few arguments to function ‘lua_load’
if (lua_load(L, pdlua_reader, &reader, filename))
^
In file included from pdlua.c:45:0:
/usr/include/lua.h:261:16: note: declared here
LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
^
pdlua.c: In function ‘pdlua_loader’:
pdlua.c:1704:9: error: too few arguments to function ‘lua_load’
if (lua_load(L, pdlua_reader, &reader, name) || lua_pcall(L, 0, 0, 0))
^
In file included from pdlua.c:45:0:
/usr/include/lua.h:261:16: note: declared here
LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
^
pdlua.c: In function ‘pdlua_setup’:
pdlua.c:1770:5: warning: implicit declaration of function ‘lua_open’ [-Wimplicit-function-declaration]
L = lua_open();
^
pdlua.c:1770:7: warning: assignment makes pointer from integer without a cast [enabled by default]
L = lua_open();
^
pdlua.c:1800:9: error: too few arguments to function ‘lua_load’
result = lua_load(L, pdlua_reader, &reader, "pd.lua");
^
In file included from pdlua.c:45:0:
/usr/include/lua.h:261:16: note: declared here
LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
^
pdlua.c: At top level:
pdlua.c:503:13: warning: ‘pdlua_stack_dump’ defined but not used [-Wunused-function]
static void pdlua_stack_dump (lua_State *L)
^
make[3]: *** [pdlua.o] Error 1
make[3]: Leaving directory `/home/biorails/Downloads/pd-extended/externals/loaders/pdlua/src'
make[2]: *** [loaders-pdlua] Error 2
make[2]: Leaving directory `/home/biorails/Downloads/pd-extended/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory `/home/biorails/Downloads/pd-extended/packages'
make: *** [install] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment