[postgis-tickets] [PostGIS] #2934: Winnie not happy -- undefined reference to `strcasestr'

PostGIS trac at osgeo.org
Fri Sep 19 12:03:04 PDT 2014


#2934: Winnie not happy --  undefined reference to `strcasestr'
-----------------------+----------------------------------------------------
 Reporter:  robe       |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  blocker    |   Milestone:  PostGIS 2.1.5
Component:  buildbots  |     Version:  2.1.x        
 Keywords:             |  
-----------------------+----------------------------------------------------
 Issue seems to have started around r12983

 #2931, BOX representation is case sensitive


 {{{
 gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g   -shared -o
 postgis-2.1.dll  postgis_module.o  lwgeom_accum.o  lwgeom_spheroid.o
 lwgeom_ogc.o  lwgeom_functions_analytic.o  lwgeom_inout.o
 lwgeom_functions_basic.o  lwgeom_btree.o  lwgeom_box.o  lwgeom_box3d.o
 lwgeom_geos.o  lwgeom_backend_api.o  lwgeom_geos_prepared.o
 lwgeom_geos_clean.o  lwgeom_geos_relatematch.o  lwgeom_export.o
 lwgeom_in_gml.o  lwgeom_in_kml.o  lwgeom_in_geohash.o  lwgeom_in_geojson.o
 lwgeom_triggers.o  lwgeom_dump.o  lwgeom_dumppoints.o
 lwgeom_functions_lrs.o  long_xact.o  lwgeom_sqlmm.o  lwgeom_rtree.o
 lwgeom_transform.o  gserialized_typmod.o  gserialized_gist_2d.o
 gserialized_gist_nd.o  gserialized_estimate.o  geography_inout.o
 geography_btree.o  geography_measurement.o  geography_measurement_trees.o
 geometry_inout.o -Le:/jenkins/postgresql/rel/pg9.4w32gcc481/lib -Wl
 ,--allow-multiple-definition  -Wl,--as-needed
 ../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a
 -L/projects/geos/rel-3.4.2w32gcc481/lib
 -L/projects/proj/rel-4.8.0w32gcc481/lib -lgeos_c -lproj
 -L/projects/json-c/rel-0.12w32gcc481/lib -ljson-c -L/projects/libxml/rel-
 libxml2-2.7.8w32gcc481/lib -lxml2 -lws2_32
 -Le:/jenkins/postgresql/rel/pg9.4w32gcc481/lib -lpostgres -lpgcommon
 -lpgport -lm  -lws2_32 -lshfolder -Wl,--export-all-symbols -Wl,--out-
 implib=libpostgis-2.1.a
 lwgeom_box.o: In function `BOX2D_in':
 e:\jenkins\postgis\branches\2.1\postgis/lwgeom_box.c:55: undefined
 reference to `strcasestr'
 collect2.exe: error: ld returned 1 exit status
 e:/jenkins/postgresql/rel/pg9.4w32gcc481/lib/pgxs/src/makefiles/../../src/Makefile.shlib:382:
 recipe for target `postgis-2.1.dll' failed
 make[1]: *** [postgis-2.1.dll] Error 1
 make[1]: Leaving directory `/projects/postgis/branches/2.1/postgis'
 GNUmakefile:14: recipe for target `all' failed
 make: *** [all] Error 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2934>
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