Try with GDAL 1.7.1 instead... this is the I could compile with (--without-libtool).
>-----Original Message----- >From: [email protected] [mailto:postgis-devel- >[email protected]] On Behalf Of Jorge Arévalo >Sent: 31 mai 2010 07:42 >To: [email protected]; 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 >[email protected] > >[1] http://trac.osgeo.org/postgis/wiki/WKTRaster _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
