[GRASS-dev] undefined reference to G_alloc_matrix()

Yann Chemin yann.chemin at gmail.com
Sat Aug 2 09:03:04 EDT 2008


Hello,

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.

my includes in case this helps...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/glocale.h>


Any idea / suggestion, I am a bit lost here...
Thanks
Yann

-- 
Yann Chemin
International Rice Research Institute
Office: http://www.irri.org/gis
Perso: http://www.freewebs.com/ychemin


More information about the grass-dev mailing list