Problems with using libxml2

FYI, I just set the target module in Developer studio to be WP8548 and I saw the same problem as yours.
However if I add the following in “requires” section, the compilation is OK:

     lib:
    {      
      //  xml2
      /home/owner/Yocto/WP76/R13.3/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/libxml2/2.9.7-r0/image/usr/lib/libxml2.so
      
    } 

Also for the cflag include path, I am using the one in WP76:

cflags:
{
	
	-I/home/owner/Yocto/WP76/R13.3/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/libxml2/2.9.7-r0/image/usr/include/libxml2/
	
}

Probably you need to download the WP85 yocto source and do the same.
(If the above is too complicated, you can also download the toolchain of WP76 and use the libxml2 library there, of course this is not a correct way, but worth a try )

https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-13,-d-,1-components/#sthash.2vlTNVx1.dpbs%201