[gdal-dev] direct.h and other Windows issue

Martin Landa landa.martin at gmail.com
Thu Dec 10 01:22:38 PST 2015


Hi,

2015-12-10 10:11 GMT+01:00 Martin Landa <landa.martin at gmail.com>:
> 3) r.in.gdal
>
> OBJ.x86_64-w64-mingw32/main.o: In function `dump_rat':
> /home/landa/grass_trunk/raster/r.in.gdal/main.c:1601: undefined
> reference to `_snprintf'
> /home/landa/grass_trunk/raster/r.in.gdal/main.c:1601:(.text.startup+0x1655):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol
> `_snprintf'
> collect2: error: ld returned 1 exit status

update -  this issue solved by using GRASS snprinf fn [1].

Martin

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

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list