[GRASS-user] Grass 7 compile errors

Sören Gebbert soerengebbert at googlemail.com
Fri Mar 23 09:46:05 EDT 2012


Hi Daniel,
i faced the same problem. OGR_L_GetGeomType was introduced in r51126 [1].
I solved this by removing the default Ubuntu gdal package and
compiling+installing the gdal version 1.9.0 from sources. I would have
expected an announcement about this changes, since OGR_L_GetGeomType
was introduced recently in gdal version > 1.7.2?

A gdal version check should be provided to detect this dependency at
configuration time or at least an announcement in the
REQUIREMENTS.html file (... dear Martin).

Best regards
Soeren

[1] https://trac.osgeo.org/grass/changeset/51126

2012/3/23 Daniel Victoria <daniel.victoria at gmail.com>:
> Hi all,
>
> Just updated to the latest svn version of grass 7. Configure went OK
> but I got a bunch off errors on make, the first one being in
> display/d.path. So I went into that directory and issued make. The
> output is the following:
>
> daniel at debian:~/grass/grass_trunk/display/d.path$ make
> : && gcc -L/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/lib
> -L/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/lib
> -Wl,--export-dynamic
> -Wl,-rpath-link,/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/lib
>  -o /home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/bin/d.path
> OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/select.o
> -lgrass_display.7.0.svn -lgrass_vector.7.0.svn -lgrass_gis.7.0.svn
> -lm
> /home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/lib/libgrass_vector.7.0.svn.so:
> undefined reference to `OGR_L_GetName'
> /home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/lib/libgrass_vector.7.0.svn.so:
> undefined reference to `OGR_L_GetGeomType'
> collect2: ld returned 1 exit status
> make: *** [/home/daniel/grass/grass_trunk/dist.i686-pc-linux-gnu/bin/d.path]
> Error 1
> daniel at debian:~/grass/grass_trunk/display/d.path$
>
> Am I missing some library? I could not understand anything from the
> error message. I'm running grass on a Debian system
>
> Thanks
> Daniel
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list