/home/rolfm/pd-extended-farm/externals/iem/iem_tab/src/tab_sum.c:100: warning: unused parameter s
pdlua.c:45:17: error: lua.h: No such file or directory
pdlua.c:46:21: error: lauxlib.h: No such file or directory
pdlua.c:47:20: error: lualib.h: No such file or directory
pdlua.c:86: error: expected =, ,, ;, asm or __attribute__ before * token
You can see that its missing the lua packages. I think you'll find the Debian page is the most up-to-date on which packages you need to install. The one you'll need is something like "lua-dev".
.hc