[GRASS5] Re: QGIS and GRASS plugin - Error compiling patched gdal
Radim Blazek
blazek at itc.it
Wed May 26 07:06:39 EDT 2004
On Wednesday 26 May 2004 12:55, Luigi Pirelli wrote:
> Hi at all,
>
> expecially to Radim that developped this plugin.
>
> I've this compilation problem after introducing gdal patchs:
>
>
> g++ ogrinfo.o -o .libs/ogrinfo ../.libs/libgdal.so -lodbc -lpng
> -L/home/riade/src/grass/grass-5.7_exp_26052004/dist.i686-pc-linux-gnu/
> -L/home/riade/src/grass/grass-5.7_exp_26052004/dist.i686-pc-linux-gnu//lib
> /usr/local/lib/libgrass5.so -lnsl -lz -ldl -L/usr/local/pgsql/lib -lpq
> -Wl,--rpath -Wl,/usr/local/lib
> ../.libs/libgdal.so: undefined reference to `G_add_mapset_to_search_path'
> ../.libs/libgdal.so: undefined reference to `GPJ_grass_to_wkt'
> ../.libs/libgdal.so: undefined reference to `G_set_gisrc_mode'
>
>
> `G_add_mapset_to_search_path', `GPJ_grass_to_wkt' and `G_set_gisrc_mode'
> are not presente in lates libgrass (today cvs version), but are present in:
>
> libgrass_gis.so libgrass_gproj.so of the latest cvs release of 5.7.
Did you apply also configure.in.patch and did you run autoconf and configure?
Obviously the command above still uses libgrass5.so and -lgrass_*
are missing.
Radim
More information about the grass-dev
mailing list