[GRASS5] r.in.gdal compile error in 5.3.0

Paul Kelly paul-grass at stjohnspoint.co.uk
Fri May 21 09:23:43 EDT 2004


Hello Frank

On Tue, 18 May 2004, Frank Warmerdam wrote:

> Paul Kelly wrote:
>> /cygdrive/d/paul/gbld/src/raster/r.in.gdal/main.o 
>> /cygdrive/d/paul/gbld/src/raster/r.in.gdal/gbgetsymbol.o 
>> /cygdrive/d/paul/gbld/src/raster/r.in.gdal/gdalbridge.o \
>>     -L/usr/local/lib -lgdal -lgrass_gproj -L/usr/local/lib -lproj 
>> -lgrass_gis   -lgrass_I -lgrass_gmath  -lrpclib    -lz collect2: ld 
>> terminated with signal 11 [Segmentation fault], core dumped
>> /usr/local/lib/libgdal.dll(.text+0x0):crtstuff.c: multiple definition of 
>> `___do_sjlj_init'
>
> Paul,
>
> This doesn't ring any bells for me.  Have you made any progess?  Based on
> the fact that it reports crtstuff.c, I am wondering if a main() is getting
> linked into libgdal.dll somehow?

Well I've discovered it works when I compile using libtool. Had been using 
without-libtool as it didn't create DLLs properly on Cygwin before but that
seems to have been fixed now. So I suppose it is OK for now.

Paul




More information about the grass-dev mailing list