Opened 6 years ago

Closed 6 years ago

#4242 closed defect (fixed)

Getting compile error on winnie

Reported by: robe Owned by: robe
Priority: blocker Milestone: PostGIS 2.5.1
Component: postgis Version: 2.4.x
Keywords: Cc:

Description

Seems this has been going on for over a month.

*** Warning: Linking the executable cu_tester against the loadable module
*** libSFCGAL.dll is not portable!
libtool: link: x86_64-w64-mingw32-gcc -Wall -fno-omit-frame-pointer -Wall -Wmissing-prototypes -IE:/jenkins/geos/rel-3.7.0w64gcc48/include -I/projects/proj/rel-4.9.3w64gcc48/include -I/projects/postgresql/rel/pg11w64gcc48/include -I/projects/rel-libiconv-1.13.1w64gcc48/include -I.. -I/projects/CGAL/rel-sfcgal-1.3.2w64gcc48/include -DHAVE_SFCGAL -o .libs/cu_tester cu_algorithm.o cu_bytebuffer.o cu_buildarea.o cu_clean.o cu_print.o cu_minimum_bounding_circle.o cu_misc.o cu_ptarray.o cu_geodetic.o cu_geos.o cu_geos_cluster.o cu_tree.o cu_measures.o cu_effectivearea.o cu_chaikin.o cu_filterm.o cu_node.o cu_clip_by_rect.o cu_libgeom.o cu_lwstroke.o cu_split.o cu_stringbuffer.o cu_triangulate.o cu_homogenize.o cu_force_sfs.o cu_out_twkb.o cu_out_wkt.o cu_out_wkb.o cu_out_gml.o cu_out_kml.o cu_out_geojson.o cu_out_svg.o cu_out_encoded_polyline.o cu_surface.o cu_out_x3d.o cu_in_geojson.o cu_in_twkb.o cu_in_wkb.o cu_in_wkt.o cu_in_encoded_polyline.o cu_iterator.o cu_varint.o cu_unionfind.o cu_wrapx.o cu_tester.o cu_sfcgal.o  ../.libs/liblwgeom.a -L/projects/postgresql/rel/pg11w64gcc48/lib -L/projects/gdal/rel-2.2.4w64gcc48/lib -L/projects/rel-libiconv-1.13.1w64gcc48/lib -LE:/jenkins/geos/rel-3.7.0w64gcc48/lib -L/projects/proj/rel-4.9.3w64gcc48/lib -L/projects/json-c/rel-0.12w64gcc48/lib -L/projects/CGAL/rel-sfcgal-1.3.2w64gcc48/lib /projects/proj/rel-4.9.3w64gcc48/lib/libproj.dll.a -lpthread /projects/json-c/rel-0.12w64gcc48/lib/libjson-c.a -lgeos_c /mingw/x86_64-w64-mingw32/lib/libcunit.a -L/sources/CUnit-2.1-2/CUnit/Sources E:/jenkins/CGAL/rel-sfcgal-1.3.2w64gcc48/lib/libSFCGAL.dll -L/projects/proj/rel-4.9.3w64gcc48/lib -L/projects/json-c/rel-0.12w64gcc48/lib -LE:/jenkins/CGAL/rel-sfcgal-1.3.2w64gcc48/lib
Makefile:88: recipe for target 'check' failed
make[2]: *** [check] Error 127
make[2]: Leaving directory '/projects/postgis/branches/2.5/liblwgeom/cunit'
Makefile:204: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/projects/postgis/branches/2.5/liblwgeom'
GNUmakefile:16: recipe for target 'check' failed
make: *** [check] Error 1

Note sure what changed, guess I'll revert back to 2.5.1dev until I sort this one out.

Change History (2)

comment:1 by robe, 6 years ago

Owner: changed from pramsey to robe

comment:2 by robe, 6 years ago

Resolution: fixed
Status: newclosed

Not sure what was wrong there. I think it might be I had an old CGAL library in the pg11 folder. Deleted that so it uses the one I am configuring with and also updated the pg11 files to plain vanilla. Seems to be running fine now - well past compile step anyway.

Note: See TracTickets for help on using tickets.