[GRASS-user] Linking error in photo.2image (resolved)

Glynn wrote:

In that case, it's almost certainly due to the fact
that GDAL exports a variable named "line".

Hamish wrote:

fixed in GDAL, http://trac.osgeo.org/gdal/ticket/2571

Glynn and Hamish thanks for your input to get this resolved.

Curious how it seems to only have affected two users; one on Debian
and the other on Ubuntu ??

Best regards

Craig

Craig Leat wrote:

>> In that case, it's almost certainly due to the fact
>> that GDAL exports a variable named "line".

Hamish wrote:
> fixed in GDAL, http://trac.osgeo.org/gdal/ticket/2571

Glynn and Hamish thanks for your input to get this resolved.

Curious how it seems to only have affected two users; one on Debian
and the other on Ubuntu ??

It's likely to depend upon a lot of factors, e.g. the linking options
for photo.2image, the linking options for GDAL, whether GDAL is a
shared or static library, etc.

Also, the GDAL variable is only used for the ILWIS format, and is
larger than the "int" used by photo.2image. Even if the linker merges
the two variables, there won't be any adverse consquences unless you
actually read ILWIS data from within photo.2image (i.e. if it reads a
map which is a link to ILWIS data created with r.external).

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