/usr/bin/ld: lua/src/liblua.a(lvm.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [codakido] Error 1
If I explicitly add -lm to the Makefile it works just fine:
Compilation fails with an error:
If I explicitly add
-lm
to the Makefile it works just fine: