[GRASS5] grass51: value of $(GDALLIBS) in a Makefile

Jaro Hofierka hofierka at geomodel.sk
Sun Jun 15 15:02:53 EDT 2003


I am having the similar problem in v.in.ogr (even with -with-gdal option):

make[2]: Entering directory 
		main.c: In function `main':
		main.c:142: `wkbLinearRing' undeclared (first use in this function)
		main.c:142: (Each undeclared identifier is reported only once
		main.c:142: for each function it appears in.)
		main.c:52: warning: `Ogr_layer' might be used uninitialized in this 
		main.c: At top level:
		/home/grass/grass51_exp_2003_06_07/include/gis.h:36: warning: 
`GRASS_copyright' defined but not used
		make[2]: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
		make[2]: Leaving directory 
		make[1]: *** [subdirs] Error 1
		make[1]: Leaving directory `/home/grass/grass51_exp_2003_06_07/vector'
		make: *** [default] Error 1

Moreover, v.out.ogr compiled OK but it doesn't work:

GRASS 5.1.0-cvs:~ > v.out.ogr
v.out.ogr: error while loading shared libraries: libgdal.1.1.so: cannot 
open shared object file: No such file or directory


Paul Kelly wrote:
> On Sat, 14 Jun 2003, Aleksey Naumov wrote:
>>I noticed this when compilation got to v.out.ogr, it compained about
>>unresolved OGR* symbols. This is due to wrong definition of GDALLIBS in
>>Platform.make -- here's what it has:
> You need to use the --with-gdal option with the configure script. I will
> look at making this the default for 5.1
> Paul
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5

More information about the grass-dev mailing list