Hello All,
               I am trying to openwrt armV8 build with iotivity enabled,i am facing compilation errors,can somebody help me to resolve this issues.
//-----------------------
Command used : make package/iotivity/compile V=s
//-----------------------
Build errors:
                 from /home/kakula/CKP/IOT/openwrt/openiot/openwrt/staging_dir/toolchain-aarch64_armv8-a_gcc-5.3.0_musl-1.1.16/aarch64-openwrt-linux-musl/include/c++/5.3.0/ext/new_allocator.h:33,
                 from /home/kakula/CKP/IOT/openwrt/openiot/openwrt/staging_dir/toolchain-aarch64_armv8-a_gcc-5.3.0_musl-1.1.16/aarch64-openwrt-linux-musl/include/c++/5.3.0/aarch64-openwrt-linux-musl/bits/c++allocator.h:33,
                 from /home/kakula/CKP/IOT/openwrt/openiot/openwrt/staging_dir/toolchain-aarch64_armv8-a_gcc-5.3.0_musl-1.1.16/aarch64-openwrt-linux-musl/include/c++/5.3.0/bits/allocator.h:46,
                 from /home/kakula/CKP/IOT/openwrt/openiot/openwrt/staging_dir/toolchain-aarch64_armv8-a_gcc-5.3.0_musl-1.1.16/aarch64-openwrt-linux-musl/include/c++/5.3.0/string:41,
                 from resource/include/OCApi.h:24,
                 from resource/include/OCPlatform.h:30,
                 from resource/src/OCPlatform.cpp:30:
/home/kakula/CKP/IOT/openwrt/openiot/openwrt/staging_dir/toolchain-aarch64_armv8-a_gcc-5.3.0_musl-1.1.16/aarch64-openwrt-linux-musl/include/c++/5.3.0/exception:68:25: error:   overriding 'virtual const char* std::exception::what() const throw ()'
     virtual const char* what() const _GLIBCXX_USE_NOEXCEPT;
                         ^
In file included from resource/include/OCResource.h:37:0,
                 from resource/include/OCPlatform_impl.h:35,
                 from resource/include/OCPlatform.h:31,
                 from resource/src/OCPlatform.cpp:30:
resource/include/IClientWrapper.h:32:63: error: expected template-name before '<' token
     class IClientWrapper : public std::enable_shared_from_this<IClientWrapper>
                                                               ^
resource/include/IClientWrapper.h:32:63: error: expected '{' before '<' token
resource/include/IClientWrapper.h:32:63: error: expected unqualified-id before '<' token
resource/src/OCPlatform.cpp:350:1: error: expected '}' at end of input
} //namespace OC
^
scons: *** [out/linux/aarch64/release/resource/src/OCPlatform.os] Error 1
scons: building terminated because of errors.
make[2]: *** [/home/kakula/CKP/IOT/openwrt/openiot/openwrt/build_dir/target-aarch64_armv8-a_musl-1.1.16/iotivity-1.2.1/.configured_yyyyyyyyynnyyyyyyyy] Error 2
make[2]: Leaving directory `/home/kakula/CKP/IOT/openwrt/openiot/openwrt/feeds/packages/net/iotivity'
make[1]: *** [package/feeds/packages/iotivity/compile] Error 2
make[1]: Leaving directory `/home/kakula/CKP/IOT/openwrt/openiot/openwrt'
make: *** [package/iotivity/compile] Error 2

//-----------------------

Thanks,
Chandrakanth,
Senior Software Engineer-Embedded,
Bangalore