> My guess is that when running the compile test ( This line: > 'configure:42995: gcc -o conftest -g -O2 conftest.c > -llua-5.1 >&5' > ) it is necessary to add '-lm' in order to link in the standard math > library. > > - Brad >
One more bit of magic necessary here, as pbx/pbx_lua.c has includes for: #include <lua5.1/lua.h> #include <lua5.1/lauxlib.h> #include <lua5.1/lualib.h> On Redhat-based systems, it needs to be: #include <lua.h> #include <lauxlib.h> #include <lualib.h> _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users