[gdal-dev] RE: [postgis-devel] Compiling PostGIS + GDAL + WKT Raster in Windows with MinGW

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue Jun 1 10:55:31 EDT 2010


Try with GDAL 1.7.1 instead... this is the I could compile with (--without-libtool).

>-----Original Message-----
>From: postgis-devel-bounces at postgis.refractions.net [mailto:postgis-devel-
>bounces at postgis.refractions.net] On Behalf Of Jorge Arévalo
>Sent: 31 mai 2010 07:42
>To: gdal-dev at lists.osgeo.org; PostGIS Development Discussion
>Subject: [postgis-devel] Compiling PostGIS + GDAL + WKT Raster in Windows with MinGW
>
>Hello,
>
>I'm trying to compile WKT Raster [1] in Windows using MinGW 5.1.6. I
>compiled PostgreSQL 8.4.3, PostGIS 1.4.2 and GDAL 1.7.2 properly
>following these instructions:
>
>http://trac.osgeo.org/gdal/wiki/BuildingWithMinGW (for GDAL)
>http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile (for PostgreSQL
>+ PostGIS)
>
>Now I'm trying to compile WKT Raster, but I get thousands of messages
>"undefined reference to..." in libgdal.a (one of the files WKT Raster
>is trying to link to). Seems to be a problem of "naming convention",
>or similar. For example, one of the error messages is:
>
>undefined reference to `GEOSOverlaps'
>
>If I execute nm libgdal.a | grep "GEOSOverlaps", I get this:
>
>U _GEOSOverlaps
>
>With an underscore before function's name. I think that's the problem,
>because if I execute the same command in a Linux machine, where I
>succeeded to compile WKT Raster, I get:
>
>U GEOSOverlaps
>
>Without underscore. The name expected.
>
>Am I right? Any clues on how to solve this problem with MinGW? I
>attach a build log file
>
>Many thanks in advance.
>
>Best regards,
>
>--
>Jorge Arévalo
>DEIMOS Space
>Internet & Mobilty Division
>Ronda de Poniente 19. Edificio Fiteni VI, portal 2, 2º
>28760 Tres Cantos (Madrid)
>Tel: +34 91 806 34 50 - ext: 155
>jorge.arevalo at deimos-space.com
>
>[1] http://trac.osgeo.org/postgis/wiki/WKTRaster


More information about the gdal-dev mailing list