lua-users home
lua-l archive

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


On Thu, 6 Mar 2003, bestworldweb wrote:

> gcc -o test main.c -L/usr/local/lib -llua -llualib

Add -lm to the line, and the problem will go away. Lua math lib needs it.

    gcc -o test main.c -L/usr/local/lib -llua -llualib -lm


Best regards,
Diego.

ps: Let's see if I am the first to answer this one.