Ok I've managed to hack the lua.pas into compilable state.
you can get the "FPC ready" version here: http://members.chello.sk/ales/lua.pas

It does exactly the same exception on the same method as for you in windows however. This is too much to be coincidental so there's a bug somewhere. Might be something in lua.pas which I don't have a clue about.

Ales