Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7195 closed defect (fixed)

json_object_private.h doesn't exist in json-c anymore

Reported by: saultdon Owned by: warmerdam
Priority: normal Milestone: 2.2.4
Component: default Version: 2.2.3
Severity: major Keywords: json-c


The build fails for gdal 2.2.3 because it can't find the file json_object_private.h

I don't think this file exists anymore for json-c 0.13.

g++ -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/port -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/gcore -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/alg -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/ogr -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/ogr/ogrsf_frmts -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/gnm -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -march=native -O2 -pipe -fstack-protector-strong -fPIC  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wsuggest-override -Wimplicit-fallthrough  -I/usr/include/json-c -I. -I.. -I../..  -DGNM_ENABLED -D_FORTIFY_SOURCE=2 -I/tmp/makepkg/gdal-filegdb/src/gdal-2.2/port -I/usr/include  -DGDAL_COMPILATION -c -o ../o/ogrgeojsonwriter.o ogrgeojsonwriter.cpp
ogrgeojsonwriter.cpp:35:10: fatal error: json_object_private.h: No such file or directory
 #include <json_object_private.h>

Change History (2)

comment:1 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed

In 41200:

Add support for json-c v0.13 (patch by Björn Esser, fixes ​, backport of r41043, fixes #7195)

comment:2 by Even Rouault, 6 years ago

Milestone: 2.2.4
Note: See TracTickets for help on using tickets.