Lua 5.0 and FreeBSD 4.1

FreeLSD freebsd at rea.mbslab.kiae.ru
Tue Jan 17 06:44:30 PST 2006


> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_sin':
> lmathlib.o(.text+0x52): undefined reference to 'sin'
 Hardly a hackers@ question, but you should link with the math library
libm by using the '-lm' switch to the linker.
-- 
 rea

BOFH excuse #55:
Plumber mistook routing panel for decorative wall fixture


More information about the freebsd-hackers mailing list