lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hallo,

On 2/14/07, Graham Henstridge <graham@capgo.com> wrote:

So the question is, how can "undefined symbol" come about in my program but
not in lua.c, when both are built against the same static lualib.a?


    The Lua interpreter is linked in a way that it exports its
symbols, so they can be resolved at load time by dynamic modules. You
shoud link your program like that. There is a nice page in the wiki
that may help:

http://lua-users.org/wiki/BuildingModules

--
-alex
http://www.ventonegro.org/