[GRASS-dev] GRASS 6 swig compile error
Markus Neteler
neteler at osgeo.org
Sat May 30 01:08:44 EDT 2009
On Sat, May 30, 2009 at 6:54 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> /home/neteler/grass64/swig/python/raster_wrap.c:3777: undefined
>> reference to `unlock_driver'
>
> Fixed in r37598 (in 6.5).
I still see
cd lib/raster
[neteler at host550 raster]$ svn up
At revision 37598.
[neteler at host550 raster]$ grep unlock_dr *
rem_io.c:extern int unlock_driver(int);
Also a leftover?
>> > 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).
>
OK, I'll check with Martin.
Markus
More information about the grass-dev
mailing list