I had issues with some of the daemon contrib packages failing to build when "configure" found libraries on the build system and failed when it couldn't find headers. Specifically gnutls and samplerate.
When I set "export PKG_CONFIG_LIBDIR=/<path>/ring-daemon/contrib/arm-linux-androide abi/lib/pkgconfig", then ran ./compile.sh, compilation succeeded.
