[postgis-tickets] [PostGIS] #3167: Windows build broken, lwin_geojson.c undefined reference to json_..

PostGIS trac at osgeo.org
Sun Jun 14 15:21:54 PDT 2015


#3167: Windows build broken, lwin_geojson.c undefined reference to json_..
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by robe:

Old description:

> Seems womthing in r13650 borken winnie's build.  She compiles against
> json 0.12 so not sure if its something with the way I have things
> configured or specific to mingw or json 0.12.
>
> configure output looks like this:
>

> {{{
>   PostGIS is now configured for i686-w64-mingw32
>
>  -------------- Compiler Info -------------
>   C compiler:           i686-w64-mingw32-gcc -g -O2
>   C++ compiler:         i686-w64-mingw32-g++ -g -O2
>   SQL preprocessor:     /mingw/bin/cpp -traditional-cpp -w -P
>
>  -------------- Dependencies --------------
>   GEOS config:          /projects/geos/rel-3.5.0devw32gcc481/bin/geos-
> config
>   GEOS version:         3.5.0dev
>   GDAL config:          /projects/gdal/rel-1.11.1w32gcc481/bin/gdal-
> config
>   GDAL version:         1.11.1
>   SFCGAL config:        /projects/CGAL/rel-sfcgal-1.0.5w32gcc481/bin
> /sfcgal-config
>   SFCGAL version:       1.0.5
>   PostgreSQL config:
> /projects/postgresql/rel/pg9.4w32gcc481/bin/pg_config
>   PostgreSQL version:   PostgreSQL 9.4.1
>   PROJ4 version:        48
>   Libxml2 config:       /projects/libxml/rel-
> libxml2-2.7.8w32gcc481/bin/xml2-config
>   Libxml2 version:      2.7.8
>   JSON-C support:       yes
>   PCRE support:       no
>   PostGIS debug level:  0
>   Perl:                 /bin/perl
>
>  --------------- Extensions ---------------
>   PostGIS Raster:       enabled
>   PostGIS Topology:     enabled
>   SFCGAL support:       enabled
>   Address Standardizer support:       disabled
>
>  -------- Documentation Generation --------
>   xsltproc:             /projects/xsltproc/xsltproc
>   xsl style sheets:     /projects/docbook/docbook-xsl-1.76.1
>   dblatex:
>   convert:              /c/Windows/system32/convert
>   mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
> }}}
>

> end of compile looks like this before it kicks the bucket.
>
> {{{
> libtool: link: i686-w64-mingw32-gcc -shared  .libs/stringbuffer.o
> .libs/bytebuffer.o .libs/measures.o .libs/measures3d.o .libs/box2d.o
> .libs/ptarray.o .libs/lwgeom_api.o .libs/lwgeom.o .libs/lwpoint.o
> .libs/lwline.o .libs/lwpoly.o .libs/lwtriangle.o .libs/lwmpoint.o
> .libs/lwmline.o .libs/lwmpoly.o .libs/lwcollection.o .libs/lwcircstring.o
> .libs/lwcompound.o .libs/lwcurvepoly.o .libs/lwmcurve.o
> .libs/lwmsurface.o .libs/lwpsurface.o .libs/lwtin.o .libs/lwout_wkb.o
> .libs/lwin_geojson.o .libs/lwin_wkb.o .libs/lwin_twkb.o .libs/lwout_wkt.o
> .libs/lwout_twkb.o .libs/lwin_wkt_parse.o .libs/lwin_wkt_lex.o
> .libs/lwin_wkt.o .libs/lwin_encoded_polyline.o .libs/lwutil.o
> .libs/lwhomogenize.o .libs/lwalgorithm.o .libs/lwsegmentize.o
> .libs/lwlinearreferencing.o .libs/lwprint.o .libs/vsprintf.o
> .libs/g_box.o .libs/g_serialized.o .libs/g_util.o .libs/lwgeodetic.o
> .libs/lwgeodetic_tree.o .libs/lwtree.o .libs/lwout_gml.o
> .libs/lwout_kml.o .libs/lwout_geojson.o .libs/lwout_svg.o
> .libs/lwout_x3d.o .libs/lwout_encoded_polyline.o .libs/lwgeom_debug.o
> .libs/lwgeom_geos.o .libs/lwgeom_geos_clean.o .libs/lwgeom_geos_node.o
> .libs/lwgeom_geos_split.o .libs/lwgeom_transform.o .libs/effectivearea.o
> .libs/varint.o .libs/lwgeom_sfcgal.o .libs/lwspheroid.o
> -L/projects/postgresql/rel/pg9.4w32gcc481/lib
> -L/projects/gdal/rel-1.11.1w32gcc481/lib -L/projects/rel-
> libiconv-1.13.1w32gcc481/lib -L/projects/geos/rel-3.5.0devw32gcc481/lib
> -lgeos_c -L/projects/proj/rel-4.8.0w32gcc481/lib
> /projects/proj/rel-4.8.0w32gcc481/lib/libproj.dll.a
> -L/projects/json-c/rel-0.12w32gcc481/lib -L/projects/CGAL/rel-
> sfcgal-1.0.5w32gcc481/lib /projects/CGAL/rel-
> sfcgal-1.0.5w32gcc481/lib/libSFCGAL.dll    -o
> .libs/liblwgeom-2-2-0dev.dll -Wl,--enable-auto-image-base -Xlinker --out-
> implib -Xlinker .libs/liblwgeom.dll.a
> .libs/lwin_geojson.o: In function `findMemberByName':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:59: undefined
> reference to `json_object_get_object'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:61: undefined
> reference to `json_object_get_object'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:67: undefined
> reference to `json_object_get_object'
> .libs/lwin_geojson.o: In function `parse_geojson_coord':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:89: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:93: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:103: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:104: undefined
> reference to `json_object_get_double'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:108: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:109: undefined
> reference to `json_object_get_double'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:115: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:116: undefined
> reference to `json_object_get_double'
> .libs/lwin_geojson.o: In function `parse_geojson':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:476: undefined
> reference to `json_object_get_string'
> .libs/lwin_geojson.o: In function `parse_geojson_geometrycollection':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:444: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:446: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:450: undefined
> reference to `json_object_array_get_idx'
> .libs/lwin_geojson.o: In function `parse_geojson_linestring':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:186: undefined
> reference to `json_object_get_type'
> .libs/lwin_geojson.o: In function `parse_geojson_multipoint':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:288: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:290: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:295: undefined
> reference to `json_object_array_get_idx'
> .libs/lwin_geojson.o: In function `parse_geojson_polygon':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:219: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:225: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:235: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:236: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:241: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:253: undefined
> reference to `json_object_array_get_idx'
> .libs/lwin_geojson.o: In function `parse_geojson_multilinestring':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:330: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:332: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:337: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:340: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:342: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:346: undefined
> reference to `json_object_array_get_idx'
> .libs/lwin_geojson.o: In function `parse_geojson_linestring':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:188: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:192: undefined
> reference to `json_object_array_get_idx'
> .libs/lwin_geojson.o: In function `parse_geojson_multipolygon':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:382: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:384: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:388: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:390: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:393: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:397: undefined
> reference to `json_object_array_get_idx'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:399: undefined
> reference to `json_object_get_type'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:404: undefined
> reference to `json_object_array_length'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:407: undefined
> reference to `json_object_array_get_idx'
> .libs/lwin_geojson.o: In function `lwgeom_from_geojson':
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:524: undefined
> reference to `json_tokener_new'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:525: undefined
> reference to `json_tokener_parse_ex'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:535: undefined
> reference to `json_tokener_free'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:545: undefined
> reference to `json_object_get_string'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:552: undefined
> reference to `json_object_put'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:529: undefined
> reference to `json_tokener_error_desc'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:530: undefined
> reference to `json_tokener_free'
> e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:531: undefined
> reference to `json_object_put'
> collect2.exe: error: ld returned 1 exit status
> Makefile:152: recipe for target `liblwgeom.la' failed
> make[1]: *** [liblwgeom.la] Error 1
> make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
> GNUmakefile:14: recipe for target `all' failed
> make: *** [all] Error 1
>
> }}}

New description:

 Seems something in r13650 broke winnie's build.  She compiles against json
 0.12 so not sure if its something with the way I have things configured or
 specific to mingw or json 0.12.

 configure output looks like this:


 {{{
   PostGIS is now configured for i686-w64-mingw32

  -------------- Compiler Info -------------
   C compiler:           i686-w64-mingw32-gcc -g -O2
   C++ compiler:         i686-w64-mingw32-g++ -g -O2
   SQL preprocessor:     /mingw/bin/cpp -traditional-cpp -w -P

  -------------- Dependencies --------------
   GEOS config:          /projects/geos/rel-3.5.0devw32gcc481/bin/geos-
 config
   GEOS version:         3.5.0dev
   GDAL config:          /projects/gdal/rel-1.11.1w32gcc481/bin/gdal-config
   GDAL version:         1.11.1
   SFCGAL config:        /projects/CGAL/rel-sfcgal-1.0.5w32gcc481/bin
 /sfcgal-config
   SFCGAL version:       1.0.5
   PostgreSQL config:
 /projects/postgresql/rel/pg9.4w32gcc481/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.4.1
   PROJ4 version:        48
   Libxml2 config:       /projects/libxml/rel-
 libxml2-2.7.8w32gcc481/bin/xml2-config
   Libxml2 version:      2.7.8
   JSON-C support:       yes
   PCRE support:       no
   PostGIS debug level:  0
   Perl:                 /bin/perl

  --------------- Extensions ---------------
   PostGIS Raster:       enabled
   PostGIS Topology:     enabled
   SFCGAL support:       enabled
   Address Standardizer support:       disabled

  -------- Documentation Generation --------
   xsltproc:             /projects/xsltproc/xsltproc
   xsl style sheets:     /projects/docbook/docbook-xsl-1.76.1
   dblatex:
   convert:              /c/Windows/system32/convert
   mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
 }}}


 end of compile looks like this before it kicks the bucket.

 {{{
 libtool: link: i686-w64-mingw32-gcc -shared  .libs/stringbuffer.o
 .libs/bytebuffer.o .libs/measures.o .libs/measures3d.o .libs/box2d.o
 .libs/ptarray.o .libs/lwgeom_api.o .libs/lwgeom.o .libs/lwpoint.o
 .libs/lwline.o .libs/lwpoly.o .libs/lwtriangle.o .libs/lwmpoint.o
 .libs/lwmline.o .libs/lwmpoly.o .libs/lwcollection.o .libs/lwcircstring.o
 .libs/lwcompound.o .libs/lwcurvepoly.o .libs/lwmcurve.o .libs/lwmsurface.o
 .libs/lwpsurface.o .libs/lwtin.o .libs/lwout_wkb.o .libs/lwin_geojson.o
 .libs/lwin_wkb.o .libs/lwin_twkb.o .libs/lwout_wkt.o .libs/lwout_twkb.o
 .libs/lwin_wkt_parse.o .libs/lwin_wkt_lex.o .libs/lwin_wkt.o
 .libs/lwin_encoded_polyline.o .libs/lwutil.o .libs/lwhomogenize.o
 .libs/lwalgorithm.o .libs/lwsegmentize.o .libs/lwlinearreferencing.o
 .libs/lwprint.o .libs/vsprintf.o .libs/g_box.o .libs/g_serialized.o
 .libs/g_util.o .libs/lwgeodetic.o .libs/lwgeodetic_tree.o .libs/lwtree.o
 .libs/lwout_gml.o .libs/lwout_kml.o .libs/lwout_geojson.o
 .libs/lwout_svg.o .libs/lwout_x3d.o .libs/lwout_encoded_polyline.o
 .libs/lwgeom_debug.o .libs/lwgeom_geos.o .libs/lwgeom_geos_clean.o
 .libs/lwgeom_geos_node.o .libs/lwgeom_geos_split.o
 .libs/lwgeom_transform.o .libs/effectivearea.o .libs/varint.o
 .libs/lwgeom_sfcgal.o .libs/lwspheroid.o
 -L/projects/postgresql/rel/pg9.4w32gcc481/lib
 -L/projects/gdal/rel-1.11.1w32gcc481/lib -L/projects/rel-
 libiconv-1.13.1w32gcc481/lib -L/projects/geos/rel-3.5.0devw32gcc481/lib
 -lgeos_c -L/projects/proj/rel-4.8.0w32gcc481/lib
 /projects/proj/rel-4.8.0w32gcc481/lib/libproj.dll.a
 -L/projects/json-c/rel-0.12w32gcc481/lib -L/projects/CGAL/rel-
 sfcgal-1.0.5w32gcc481/lib /projects/CGAL/rel-
 sfcgal-1.0.5w32gcc481/lib/libSFCGAL.dll    -o .libs/liblwgeom-2-2-0dev.dll
 -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
 .libs/liblwgeom.dll.a
 .libs/lwin_geojson.o: In function `findMemberByName':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:59: undefined
 reference to `json_object_get_object'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:61: undefined
 reference to `json_object_get_object'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:67: undefined
 reference to `json_object_get_object'
 .libs/lwin_geojson.o: In function `parse_geojson_coord':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:89: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:93: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:103: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:104: undefined
 reference to `json_object_get_double'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:108: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:109: undefined
 reference to `json_object_get_double'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:115: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:116: undefined
 reference to `json_object_get_double'
 .libs/lwin_geojson.o: In function `parse_geojson':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:476: undefined
 reference to `json_object_get_string'
 .libs/lwin_geojson.o: In function `parse_geojson_geometrycollection':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:444: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:446: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:450: undefined
 reference to `json_object_array_get_idx'
 .libs/lwin_geojson.o: In function `parse_geojson_linestring':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:186: undefined
 reference to `json_object_get_type'
 .libs/lwin_geojson.o: In function `parse_geojson_multipoint':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:288: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:290: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:295: undefined
 reference to `json_object_array_get_idx'
 .libs/lwin_geojson.o: In function `parse_geojson_polygon':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:219: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:225: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:235: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:236: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:241: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:253: undefined
 reference to `json_object_array_get_idx'
 .libs/lwin_geojson.o: In function `parse_geojson_multilinestring':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:330: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:332: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:337: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:340: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:342: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:346: undefined
 reference to `json_object_array_get_idx'
 .libs/lwin_geojson.o: In function `parse_geojson_linestring':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:188: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:192: undefined
 reference to `json_object_array_get_idx'
 .libs/lwin_geojson.o: In function `parse_geojson_multipolygon':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:382: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:384: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:388: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:390: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:393: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:397: undefined
 reference to `json_object_array_get_idx'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:399: undefined
 reference to `json_object_get_type'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:404: undefined
 reference to `json_object_array_length'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:407: undefined
 reference to `json_object_array_get_idx'
 .libs/lwin_geojson.o: In function `lwgeom_from_geojson':
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:524: undefined
 reference to `json_tokener_new'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:525: undefined
 reference to `json_tokener_parse_ex'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:535: undefined
 reference to `json_tokener_free'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:545: undefined
 reference to `json_object_get_string'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:552: undefined
 reference to `json_object_put'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:529: undefined
 reference to `json_tokener_error_desc'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:530: undefined
 reference to `json_tokener_free'
 e:\jenkins\postgis\branches\2.2\liblwgeom/lwin_geojson.c:531: undefined
 reference to `json_object_put'
 collect2.exe: error: ld returned 1 exit status
 Makefile:152: recipe for target `liblwgeom.la' failed
 make[1]: *** [liblwgeom.la] Error 1
 make[1]: Leaving directory `/projects/postgis/branches/2.2/liblwgeom'
 GNUmakefile:14: recipe for target `all' failed
 make: *** [all] Error 1

 }}}

--

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3167#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