![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
5 Mar
2009
5 Mar
'09
4:40 a.m.
David Kastrup wrote:
Ok, crossed my fingers and got the stuff to compile finally. I can send the diff. Does anybody have a quick clue what might cause the following on startup:
PANIC: unprotected error in call to Lua API (attempt to index a function value)
You probably have an error in the setup for opening luaexpat in luastuff.c. Some lua modules define a luaopen_XXX function that can be called directly, others need a lua_pushcfunction and lua_call, this has to do with require() vs. dofile(). Best wishes, Taco