[postgis-tickets] [PostGIS] #4667: Fails to build with GCC-10
PostGIS
trac at osgeo.org
Fri Apr 17 06:02:22 PDT 2020
#4667: Fails to build with GCC-10
------------------------------------+------------------------
Reporter: Bas Couwenberg | Owner: Raúl Marín
Type: defect | Status: new
Priority: medium | Milestone:
Component: build/upgrade/install | Version: 3.0.x
Resolution: | Keywords:
------------------------------------+------------------------
Comment (by Bas Couwenberg):
With the changes from 8970075 added as patch, the package still fails to
build with gcc from Debian experimental:
{{{
/usr/bin/ld: cu_raster_basics.o:./raster/test/cunit/cu_tester.h:24:
multiple definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_band_basics.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_raster_wkb.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_raster_geometry.o:./raster/test/cunit/cu_tester.h:24:
multiple definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_raster_misc.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_band_stats.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_band_misc.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_gdal.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_spatial_relationship.o:./raster/test/cunit/cu_tester.h:24:
multiple definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_mapalgebra.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_misc.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
/usr/bin/ld: cu_tester.o:./raster/test/cunit/cu_tester.h:24: multiple
definition of `cu_error_msg';
cu_pixtype.o:./raster/test/cunit/cu_tester.h:24: first defined here
collect2: error: ld returned 1 exit status
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4667#comment:3>
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