Compilation problem with kodi-pvr-addons
#1
Smile 
Hi; I maintain a rpm unofficial for all kodi-pvr-addons; fortunately I have compiled fine in Fedora 23 with gcc 5.3.0; but my attempt to compile in Fedora 24 failed; without import the version gcc; I see the same error; the real question a binary is missed very strange because platform, kodi, kodi-platform, jsoncpp, is installed... can anybody here help me?

Code:
cmake -DADDONS_TO_BUILD=pvr.argustv -DADDONS_SRC_DIR=pvr-addons -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64/kodi ..
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /opt/gcc-5.3.0/bin/gcc
-- Check for working C compiler: /opt/gcc-5.3.0/bin/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: /opt/gcc-5.3.0/bin/g++
-- Check for working CXX compiler: /opt/gcc-5.3.0/bin/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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'jsoncpp'
--   Found jsoncpp, version 0.10.5
-- Found JsonCpp: jsoncpp  
-- ARGUSTV_VERSION=1.11.10
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:
    ADDONS_SRC_DIR
    ADDONS_TO_BUILD
-- Build files have been written to: /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build
+ make
/usr/bin/cmake -H/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv -B/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build/CMakeFiles /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build'
make -f src/lib/tsreader/CMakeFiles/tsreader.dir/build.make src/lib/tsreader/CMakeFiles/tsreader.dir/depend
make[2]: Entering directory '/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build'
cd /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/src/lib/tsreader /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build/src/lib/tsreader /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build/src/lib/tsreader/CMakeFiles/tsreader.dir/DependInfo.cmake --color=
Scanning dependencies of target tsreader
make[2]: Leaving directory '/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build'
make -f src/lib/tsreader/CMakeFiles/tsreader.dir/build.make src/lib/tsreader/CMakeFiles/tsreader.dir/build
make[2]: Entering directory '/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build'
[  5%] Building CXX object src/lib/tsreader/CMakeFiles/tsreader.dir/FileReader.cpp.o
cd /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/build/src/lib/tsreader && /opt/gcc-5.3.0/bin/g++   -DBUILD_KODI_ADDON -DTARGET_LINUX -DTARGET_POSIX -D_LINUX -I/usr/include/kodi -I/usr/include/platform -I/builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/src -I/usr/include/json  -std=gnu++11 -fPIC   -o CMakeFiles/tsreader.dir/FileReader.cpp.o -c /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/src/lib/tsreader/FileReader.cpp
In file included from /usr/include/platform/posix/os-types.h:36:0,
                 from /usr/include/platform/os.h:37,
                 from /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/src/lib/tsreader/FileReader.h:36,
                 from /builddir/build/BUILD/kodi-pvr-addons/pvr.argustv/src/lib/tsreader/FileReader.cpp:35:
/usr/include/string.h:35:42: error: missing binary operator before token "("
#if defined __cplusplus && __GNUC_PREREQ (4, 4)

COMPLETE LOG
https://www.dropbox.com/s/79wl395yqxjuti...d.log?dl=0
Reply

Logout Mark Read Team Forum Stats Members Help
Compilation problem with kodi-pvr-addons1