[GRASS-user] SVN problems

Glynn Clements glynn at gclements.plus.com
Wed Aug 18 01:43:18 EDT 2010


Daniel Victoria wrote:

> I get errors in lib/gmath that says:
> 
>  /home/daniel/grass/grass6_devel/lib/gmath/blas_level_1.c:91:
> undefined reference to `sqrt'
> 
> Am I missing some library?

No; it's a bug in lib/gmath/Makefile, which should have $(MATHLIB) in
the definition of EXTRA_LIBS.

$(MATHLIB) (typically -lm) will usually get pulled in anyhow (e.g. via
$(FFTWLIB)), hence the reason that no-one has noticed this before.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list