It works ok with json-c-devel-0.13.1 and it fails with json-c-devel-0.14-8.
Here's a diff between the files installed by the two versions.
The newer version has some cmake specific files, not sure if those ones are messing up the build.

$ sdiff json.0.13.1 json.0.14-8
$ repoquery --installed -l json-c-devel                       | # repoquery --installed -l json-c-devel
/usr/include/json-c                                             /usr/include/json-c
/usr/include/json-c/arraylist.h                                 /usr/include/json-c/arraylist.h
/usr/include/json-c/bits.h                                    <
/usr/include/json-c/debug.h                                     /usr/include/json-c/debug.h
/usr/include/json-c/json.h                                      /usr/include/json-c/json.h
/usr/include/json-c/json_c_version.h                            /usr/include/json-c/json_c_version.h
/usr/include/json-c/json_config.h                               /usr/include/json-c/json_config.h
/usr/include/json-c/json_inttypes.h                             /usr/include/json-c/json_inttypes.h
/usr/include/json-c/json_object.h                               /usr/include/json-c/json_object.h
/usr/include/json-c/json_object_iterator.h                      /usr/include/json-c/json_object_iterator.h
/usr/include/json-c/json_pointer.h                              /usr/include/json-c/json_pointer.h
/usr/include/json-c/json_tokener.h                              /usr/include/json-c/json_tokener.h
                                                              > /usr/include/json-c/json_types.h
/usr/include/json-c/json_util.h                                 /usr/include/json-c/json_util.h
/usr/include/json-c/json_visit.h                                /usr/include/json-c/json_visit.h
/usr/include/json-c/linkhash.h                                  /usr/include/json-c/linkhash.h
/usr/include/json-c/printbuf.h                                  /usr/include/json-c/printbuf.h
                                                              > /usr/lib64/cmake/json-c
                                                              > /usr/lib64/cmake/json-c/json-c-config.cmake
                                                              > /usr/lib64/cmake/json-c/json-c-targets-release.cmake
                                                              > /usr/lib64/cmake/json-c/json-c-targets.cmake
/usr/lib64/libjson-c.so                                         /usr/lib64/libjson-c.so
/usr/lib64/pkgconfig/json-c.pc                                  /usr/lib64/pkgconfig/json-c.pc
                                                              > /usr/share/doc/json-c
/usr/share/doc/json-c/ChangeLog                                 /usr/share/doc/json-c/ChangeLog
/usr/share/doc/json-c/README                                    /usr/share/doc/json-c/README
/usr/share/doc/json-c/README.html                               /usr/share/doc/json-c/README.html
/usr/share/doc/json-c/README.md                                 /usr/share/doc/json-c/README.md


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4085/c2616729376@github.com>