Yann Chemin wrote:

> I am trying to keep temporary files in DCELL **G_alloc_matrix(nrows,ncols)
> 
> on compilation I get an undefined reference to that function...
> 
> Checked in gis.h it is referring to gisdefs.h which has the definition.
> I just svn up on trunk with full distclean and full recompile, still same.

Contrary to what you would naturally assume from the headers,
G_alloc_matrix() is actually in the gmath library, so you need to add
$(GMATHLIB) to LIBES.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to