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

Glynn Clements glynn at gclements.plus.com
Mon Sep 15 09:50:55 EDT 2008


Craig Leat wrote:

> > In that case, it's almost certainly due to the fact that GDAL exports
> > a variable named "line".
> >
> > You might want to report this to the GDAL developers; most of the
> > other variables have names which are unlikely to accidentally
> > conflict, but "line" is likely to be quite a common variable name.
> 
> $ grep -r --include="*.h" "int line" ./src/gdal-1.5.2

> I don't see any global declaration for "line".

It may not be declared in the headers, but it's being exported from
the library (use "nm" or "nm -D" to see a list of symbols exported or
imported by a binary).

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


More information about the grass-user mailing list