BUILD pvr.zattoo (target) Executing (target): cmake -DCMAKE_TOOLCHAIN_FILE=/root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/etc/cmake-armv7ve-libreelec-linux-gnueabi.conf -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=MinSizeRel /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -- Check for working C compiler: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-g++ -- Check for working CXX compiler: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Checking to see if CXX compiler accepts flag -flto -- Checking to see if CXX compiler accepts flag -flto - yes -- RapidJSON found. Headers: /usr/include -- Found RapidJSON: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include (found version "1.1.0") -- ZATTOO_VERSION=18.0.8 -- Added usage definition: ADDON_GLOBAL_VERSION_GUI_USED -- Added usage definition: ADDON_INSTANCE_VERSION_PVR_USED -- Configuring done -- Generating done -- Build files have been written to: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/.armv7ve-libreelec-linux-gnueabi Executing (target): make Scanning dependencies of target pvr.zattoo [ 10%] Building CXX object CMakeFiles/pvr.zattoo.dir/lib/tinyxml2/tinyxml2.cpp.o [ 20%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/Utils.cpp.o [ 30%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/client.cpp.o [ 40%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/Curl.cpp.o [ 50%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/Cache.cpp.o [ 60%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/ZatData.cpp.o [ 70%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/UpdateThread.cpp.o [ 80%] Building CXX object CMakeFiles/pvr.zattoo.dir/src/categories.cpp.o /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/Cache.cpp: In static member function 'static void Cache::Cleanup()': /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/Cache.cpp:94:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < itemCount; i++) ~~^~~~~~~~~~~ In file included from /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/Cache.h:2:0, from /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/Cache.cpp:1: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h: In instantiation of 'typename rapidjson::internal::DisableIf, rapidjson::internal::IsGenericValue >)>::Type, typename rapidjson::internal::RemoveSfinaeTag&)>::Type>::Type rapidjson::GenericValue::AddMember(rapidjson::GenericValue&, T, Allocator&) [with T = long int; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; typename rapidjson::internal::DisableIf, rapidjson::internal::IsGenericValue >)>::Type, typename rapidjson::internal::RemoveSfinaeTag&)>::Type>::Type = rapidjson::GenericValue >&]': /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:1330:25: required from 'typename rapidjson::internal::DisableIf, rapidjson::internal::IsGenericValue >)>::Type, typename rapidjson::internal::RemoveSfinaeTag&)>::Type>::Type rapidjson::GenericValue::AddMember(rapidjson::GenericValue::StringRefType, T, Allocator&) [with T = long int; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; typename rapidjson::internal::DisableIf, rapidjson::internal::IsGenericValue >)>::Type, typename rapidjson::internal::RemoveSfinaeTag&)>::Type>::Type = rapidjson::GenericValue >&; rapidjson::GenericValue::StringRefType = rapidjson::GenericStringRef; typename Encoding::Ch = char]' /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/Cache.cpp:68:57: required from here /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:1259:22: error: call of overloaded 'GenericValue(long int&)' is ambiguous GenericValue v(value); ^ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:673:14: note: candidate: rapidjson::GenericValue::GenericValue(double) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>] explicit GenericValue(double d) RAPIDJSON_NOEXCEPT : data_() { data_.n.d = d; data_.f.flags = kNumberDoubleFlag; } ^~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:661:14: note: candidate: rapidjson::GenericValue::GenericValue(uint64_t) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; uint64_t = long long unsigned int] explicit GenericValue(uint64_t u64) RAPIDJSON_NOEXCEPT : data_() { ^~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:646:14: note: candidate: rapidjson::GenericValue::GenericValue(int64_t) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; int64_t = long long int] explicit GenericValue(int64_t i64) RAPIDJSON_NOEXCEPT : data_() { ^~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:640:14: note: candidate: rapidjson::GenericValue::GenericValue(unsigned int) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>] explicit GenericValue(unsigned u) RAPIDJSON_NOEXCEPT : data_() { ^~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:634:14: note: candidate: rapidjson::GenericValue::GenericValue(int) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>] explicit GenericValue(int i) RAPIDJSON_NOEXCEPT : data_() { ^~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:573:5: note: candidate: rapidjson::GenericValue::GenericValue(const rapidjson::GenericValue&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>] GenericValue(const GenericValue& rhs); ^~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/rapidjson/document.h:566:5: note: candidate: rapidjson::GenericValue::GenericValue(rapidjson::GenericValue&&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>] GenericValue(GenericValue&& rhs) RAPIDJSON_NOEXCEPT : data_(rhs.data_) { ^~~~~~~~~~~~ make[2]: *** [CMakeFiles/pvr.zattoo.dir/build.make:159: CMakeFiles/pvr.zattoo.dir/src/Cache.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp: In member function 'std::string ZatData::GetUUID()': /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:160:9: warning: unused variable 'file' [-Wunused-variable] void* file; ^~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:161:8: warning: unused variable 'buf' [-Wunused-variable] char buf[37]; ^~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:162:10: warning: unused variable 'nbRead' [-Wunused-variable] size_t nbRead; ^~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp: In member function 'virtual int ZatData::GetChannelId(const char*)': /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:425:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *strChannelName++) ~~^~~~~~~~~~~~~~~~~~~ In file included from /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:3:0: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.h: In constructor 'ZatData::ZatData(std::string, std::string, bool, bool, std::string)': /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.h:124:11: warning: 'ZatData::maxRecallSeconds' will be initialized after [-Wreorder] int64_t maxRecallSeconds; ^~~~~~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.h:112:8: warning: 'bool ZatData::recallEnabled' [-Wreorder] bool recallEnabled; ^~~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:435:1: warning: when initialized here [-Wreorder] ZatData::ZatData(string u, string p, bool favoritesOnly, ^~~~~~~ In file included from /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:3:0: /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.h:112:8: warning: 'ZatData::recallEnabled' will be initialized after [-Wreorder] bool recallEnabled; ^~~~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.h:111:10: warning: 'std::string ZatData::countryCode' [-Wreorder] string countryCode; ^~~~~~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:435:1: warning: when initialized here [-Wreorder] ZatData::ZatData(string u, string p, bool favoritesOnly, ^~~~~~~ /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp: In member function 'virtual int ZatData::GetRecordingsAmount(bool)': /root/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/pvr.zattoo-master/src/ZatData.cpp:1065:29: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] if (future == startTime > current_time) ~~~~~~~~~~^~~~~~~~~~~~~~ make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/pvr.zattoo.dir/all] Error 2 make: *** [Makefile:150: all] Error 2