[postgis-devel] [PostGIS] #1155: Can't compile PostGIS 2.0 under mingW

PostGIS trac at osgeo.org
Mon Aug 8 04:06:48 PDT 2011


#1155: Can't compile PostGIS 2.0 under mingW
---------------------------+------------------------------------------------
 Reporter:  robe           |       Owner:  strk         
     Type:  defect         |      Status:  new          
 Priority:  blocker        |   Milestone:  PostGIS 2.0.0
Component:  postgis        |     Version:  trunk        
 Keywords:  windows mingw  |  
---------------------------+------------------------------------------------
 strk,

 With the latest trunk r7709, I can no longer compile PostGIS 2.0 under
 MingW.

 Attached is full build.log

 excerpts that look like the critical area

 {{{
 Info: resolving _xmlFree by linking to __imp__xmlFree (auto-import)
 C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
 warning: auto-importing has been activated without --enable-auto-import
 specified on the command line.
 This should work unless it involves constant data structures referencing
 symbols from auto-imported DLLs.
 ../liblwgeom/liblwgeom.a(lwgeom_geos.o): In function `GEOS2LWGEOM':
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:98: undefined reference
 to `GEOSGetSRID'
 ../liblwgeom/liblwgeom.a(lwgeom_geos.o): In function `LWGEOM2GEOS':
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:299: undefined reference
 to `GEOSGeom_createLineString'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:314: undefined reference
 to `GEOSGeom_createLinearRing'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:315: undefined reference
 to `GEOSGeom_createPolygon'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:323: undefined reference
 to `GEOSGeom_createLinearRing'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:333: undefined reference
 to `GEOSGeom_createLinearRing'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:344: undefined reference
 to `GEOSGeom_createPolygon'
 ../liblwgeom/liblwgeom.a(lwgeom_geos.o): In function
 `lwgeom_intersection':
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:457: undefined reference
 to `GEOSIntersection'
 ../liblwgeom/liblwgeom.a(lwgeom_geos.o): In function
 `LWGEOM_GEOS_buildArea':
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:766: undefined reference
 to `GEOSGetSRID'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:839: undefined reference
 to `GEOSCoordSeq_clone'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:842: undefined reference
 to `GEOSGeom_createLinearRing'
 c:/projects/PostGIS/trunk/liblwgeom/lwgeom_geos.c:842: undefined reference
 to `GEOSGeom_createPolygon'
 collect2: ld returned 1 exit status
 C:\MinGW\bin\dllwrap.exe: C:\MinGW\bin\gcc exited with status 1
 make[1]: *** [postgis-2.0.dll] Error 1
 make[1]: Leaving directory `/c/projects/PostGIS/trunk/postgis'
 make: *** [all] Error 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1155>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list