|
Hallo, On 12/27/06, Rici Lake <lua@ricilake.net> wrote:
On 26-Dec-06, at 9:40 PM, Mildred wrote: > My compilation commands : > > $ g++ -g -shared luamod.cpp -llua -lm -o luamod.so > $ gcc -g testlua.c -ldl -llua -lm -o testlua My guess is that you're ending up with two instances of liblua. That won't work.
There is a nice page in the wiki for this: http://lua-users.org/wiki/BuildingModules -- -alex http://www.ventonegro.org/