[GRASS-dev] GRASS 6 swig compile error

Glynn Clements glynn at gclements.plus.com
Sat May 30 00:54:30 EDT 2009


Markus Neteler wrote:

> /home/neteler/grass64/swig/python/raster_wrap.c:3777: undefined
> reference to `unlock_driver'

Fixed in r37598 (in 6.5).

> > means that anything which wants to use libgis from Python ends up
> > pulling in the gmath library, possibly along with BLAS/LAPACK and
> > FFTW. And BLAS/LAPACK can have some fairly obscure issues related to
> > gcc's Fortran support.
> 
> That's definitely undesired...

In which case, the declarations for the gmath functions need to be
moved from gis.h to gmath.h. Code which uses the functions may need to
be updated accordingly. See the aforementioned r35274 (or you might
just want to merge that in its entirety).

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


More information about the grass-dev mailing list