Unable to resolve this cjson library issue

you can try this:

  1. download the yocto source from source.sierrawireless.com

https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.ch7Rl9Ia.dpbs

  1. go to ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc

3.add the following line:
IMAGE_INSTALL_append = " json-c"

  1. Make the yocto image

  2. the include path now should be in yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/json-c/0.13-r0/image/usr/include/json-c/
    you need to add the following in cflag:

     -Iyocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/json-c/0.13-r0/image/usr/include/json-c/
    
  3. for the linker (-l parameter), you should point to this path
    yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/json-c/0.13-r0/image/usr/lib/libjson-c.so.3.0.1

Here is a zip file for the compiled binary compiled by WP76 FW R16.0.01:
image.zip (269.0 KB)