Opened 9 years ago

Closed 9 years ago

#1861 closed defect (fixed)

Can't compile under mingw with geos 3.4.0 dev

Reported by: robe Owned by: strk
Priority: blocker Milestone: PostGIS 2.1.0
Component: postgis Version: master
Keywords: Cc:



I think your interruptibility changes are screwing me. Now even with the latest geos trunk (3673) I can't get either of my mingw environments to compile PostGIS trunk. Perhaps it's just a missing condition.

This is the error I get under my mingw64

postgis_module.c: In function '_PG_init':
postgis_module.c:54:3: error: too few arguments to function 'GEOS_interruptRegisterCallback'
c:/ming64/projects/geos/rel-3.4.0SVNw64/include/geos_c.h:159:40: note: declared
postgis_module.c: At top level:
postgis_module.c:35:13: warning: 'geosInterruptCallback' defined but not used
make[1]: *** [postgis_module.o] Error 1
make[1]: Leaving directory `/c/ming64/projects/postgis/2.1/postgis'
make: *** [all] Error 1

Change History (2)

comment:1 Changed 9 years ago by strk

could you please make sure you have only one geos_c.h installed and grep 'GEOS_interruptRegisterCallback' in it ?

comment:2 Changed 9 years ago by strk

Resolution: fixed
Status: newclosed

Should be fixed by r9902 (was my fault, blindly coding for the evil)

Note: See TracTickets for help on using tickets.