On Tue, 2012-07-31 at 08:33 +0800, Nor Jaidi Tuah wrote:
Dear all,
My project (pasang-emas.sourceforge.net) uses automake,
using AM_PROG_VALAC macro in the configure.ac file.
It uses functions from Math (Math.sin, Math.hypot etc).
Recently, one user complains that upon issuing
* Why it works on my computer? I check my Makefile,
and there is no -lm.
I seem to remember that on certain platforms math functions are included
in libc and adding libm isn't necessary. It's probably not a good idea
to rely on that and either always pass -lm or use AC_CHECK_LIB (or
Dear all,
My project (pasang-emas.sourceforge.net) uses automake,
using AM_PROG_VALAC macro in the configure.ac file.
It uses functions from Math (Math.sin, Math.hypot etc).
Recently, one user complains that upon issuing
'./configure' and 'make', he got the following error:
/usr/bin/ld: note: