|
Hallo,
On 10/25/07, Crystal Jewelswrote:
>
> // compile as:
> // gcc mylib.c -shared -L/usr/local/lua5.1/lib -I/usr/local/lua5.1/include
> // -llua -llualib -lm -ldl -o mylib.so
>
You should not link your extensions with the Lua library.
Instead, link the Lua interpreter in way that makes it exports its
symbols.
Cheers,
--
-alex
http://www.ventonegro.org/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com