[postgis-tickets] [PostGIS] #4963: PostGIS 2.5 compile fail on windows (mingw64)

PostGIS trac at osgeo.org
Sun Aug 15 09:37:29 PDT 2021


#4963: PostGIS 2.5 compile fail on windows (mingw64)
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.5.6
 Component:  postgis  |    Version:  2.5.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 okay it's not just winnie. Dronie 9.6 is having the same issue:

 https://dronie.osgeo.org/postgis/postgis/2041/1/2


 {{{
 /local/include  -I.. -c -o cu_geodetic.o cu_geodetic.c
 gcc -O0 -Wall -fno-omit-frame-pointer -Werror  -Wall -Wmissing-prototypes
 -I/usr/local/include  -I.. -c -o cu_geos.o cu_geos.c
 gcc -O0 -Wall -fno-omit-frame-pointer -Werror  -Wall -Wmissing-prototypes
 -I/usr/local/include  -I.. -c -o cu_geos_cluster.o cu_geos_cluster.c
 gcc -O0 -Wall -fno-omit-frame-pointer -Werror  -Wall -Wmissing-prototypes
 -I/usr/local/include  -I.. -c -o cu_tree.o cu_tree.c
 gcc -O0 -Wall -fno-omit-frame-pointer -Werror  -Wall -Wmissing-prototypes
 -I/usr/local/include  -I.. -c -o cu_measures.o cu_measures.c
 cu_measures.c: In function 'test_mindistance2d_tolerance':
 cu_measures.c:209:71: error: macro "DIST2DTEST" passed 4 arguments, but
 takes just 3
    "POINT(5433865 8243495)", 2271704.2698450615, default_accepted_error);
                                                                        ^
 cu_measures.c:207:2: error: 'DIST2DTEST' undeclared (first use in this
 function)
   DIST2DTEST(
   ^
 cu_measures.c:207:2: note: each undeclared identifier is reported only
 once for each function it appears in
 Makefile:98: recipe for target 'cu_measures.o' failed
 make[2]: Leaving directory '/drone/src/liblwgeom/cunit'
 make[2]: *** [cu_measures.o] Error 1
 Makefile:204: recipe for target 'check' failed
 make[1]: Leaving directory '/drone/src/liblwgeom'
 make[1]: *** [check] Error 2
 make: *** [check] Error 1
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4963#comment:1>
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-tickets mailing list