Advertisement
Guest User

LibreELEC - Build on 8.95.002 fails

a guest
Jan 26th, 2019
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.59 KB | None | 0 0
  1. https://forum.libreelec.tv/thread/14297-build-on-master-fails/?postID=109100#post109100
  2.  
  3. [1103/1515] Building CXX object build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o
  4. FAILED: build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o
  5. /home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/bin/ccache /home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/bin/armv8a-libreelec-linux-gnueabi-g++ -DHAS_NEON -I../ -I../lib -I../lib/gtest/include -I../xbmc -I../xbmc/platform/linux -I../xbmc/cores/VideoPlayer -Ibuild -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/dbus-1.0 -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/lib/dbus-1.0/include -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/python2.7 -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/samba-4.0 -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/libxml2 -Ibuild/cpluff/include -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr -Ibuild/cores/RetroPlayer/messages -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -Ibuild/libdvd/include -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/lzo -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/amcodec -march=armv8-a+crc -mtune=cortex-a53 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -fomit-frame-pointer -Wall -pipe -Os -std=c++11 -DMESA_EGL_NO_X11_HEADERS -Os -DNDEBUG -flto=1 -fno-fat-lto-objects -D_LINUX -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_MKOSTEMP=1 -D__STDC_CONSTANT_MACROS -D_FILE_DEFINED -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_LINUX_NETWORK -DHAVE_STD__U16_STRING=1 -DHAVE_STD__U32_STRING=1 -DHAVE_CHAR16_T=1 -DHAVE_CHAR32_T=1 -DHAVE_STDINT_H=1 -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -DHAVE_INOTIFY=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_INTTYPES_H=1 -DHAS_ALSA=1 -DHAS_AVAHI=1 -DHAS_ZEROCONF=1 -DHAVE_LIBBLURAY=1 -DHAVE_LIBBLURAY_BDJ=1 -DHAVE_LIBCEC=1 -DHAS_DBUS=1 -DHAS_LIRC=1 -DHAS_WEB_SERVER=1 -DHAS_WEB_INTERFACE=1 -DHAS_FILESYSTEM_NFS=1 -DHAS_PULSEAUDIO=1 -DHAS_PYTHON=1 -DHAS_FILESYSTEM_SMB=1 -DHAVE_LIBUDEV=1 -DHAVE_LIBXSLT=1 -DHAS_AIRPLAY=1 -DFFMPEG_VER_SHA=\"undef\" -I/home/minix/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/fribidi -DHAS_GLES=2 -DHAS_LIBAMCODEC=1 -DHAS_LIBAMCODEC_VP9=1 -DHAS_EGL=1 -DHAS_MARIADB=1 -DHAS_UPNP=1 -DHAS_DVD_DRIVE -DHAS_CDDA_RIPPER -DHAS_AIRTUNES=1 -DBIN_INSTALL_PATH=\"/usr/lib/kodi\" -DINSTALL_PATH=\"/usr/share/kodi\" -std=c++11 -MD -MT build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o -MF build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o.d -o build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o -c ../xbmc/utils/EGLUtils.cpp
  6. ../xbmc/utils/EGLUtils.cpp:102:5: error: 'EGL_DEBUG_MSG_CRITICAL_KHR' was not declared in this scope
  7. X(EGL_DEBUG_MSG_CRITICAL_KHR),
  8. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  9. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  10. #define X(VAL) std::make_pair(VAL, #VAL)
  11. ^~~
  12. ../xbmc/utils/EGLUtils.cpp:102:5: note: suggested alternative: 'EGL_BITMAP_PITCH_KHR'
  13. X(EGL_DEBUG_MSG_CRITICAL_KHR),
  14. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  15. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  16. #define X(VAL) std::make_pair(VAL, #VAL)
  17. ^~~
  18. ../xbmc/utils/EGLUtils.cpp:103:5: error: 'EGL_DEBUG_MSG_ERROR_KHR' was not declared in this scope
  19. X(EGL_DEBUG_MSG_ERROR_KHR),
  20. ^~~~~~~~~~~~~~~~~~~~~~~
  21. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  22. #define X(VAL) std::make_pair(VAL, #VAL)
  23. ^~~
  24. ../xbmc/utils/EGLUtils.cpp:103:5: note: suggested alternative: 'EGL_BAD_STREAM_KHR'
  25. X(EGL_DEBUG_MSG_ERROR_KHR),
  26. ^~~~~~~~~~~~~~~~~~~~~~~
  27. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  28. #define X(VAL) std::make_pair(VAL, #VAL)
  29. ^~~
  30. ../xbmc/utils/EGLUtils.cpp:104:5: error: 'EGL_DEBUG_MSG_WARN_KHR' was not declared in this scope
  31. X(EGL_DEBUG_MSG_WARN_KHR),
  32. ^~~~~~~~~~~~~~~~~~~~~~
  33. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  34. #define X(VAL) std::make_pair(VAL, #VAL)
  35. ^~~
  36. ../xbmc/utils/EGLUtils.cpp:104:5: note: suggested alternative: 'EGL_BAD_STATE_KHR'
  37. X(EGL_DEBUG_MSG_WARN_KHR),
  38. ^~~~~~~~~~~~~~~~~~~~~~
  39. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  40. #define X(VAL) std::make_pair(VAL, #VAL)
  41. ^~~
  42. ../xbmc/utils/EGLUtils.cpp:105:5: error: 'EGL_DEBUG_MSG_INFO_KHR' was not declared in this scope
  43. X(EGL_DEBUG_MSG_INFO_KHR),
  44. ^~~~~~~~~~~~~~~~~~~~~~
  45. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  46. #define X(VAL) std::make_pair(VAL, #VAL)
  47. ^~~
  48. ../xbmc/utils/EGLUtils.cpp:105:5: note: suggested alternative: 'EGL_NO_SYNC_KHR'
  49. X(EGL_DEBUG_MSG_INFO_KHR),
  50. ^~~~~~~~~~~~~~~~~~~~~~
  51. ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
  52. #define X(VAL) std::make_pair(VAL, #VAL)
  53. ^~~
  54. ../xbmc/utils/EGLUtils.cpp:107:1: error: could not convert '{<expression error>, <expression error>, <expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::map<int, const char*>'
  55. };
  56. ^
  57. ../xbmc/utils/EGLUtils.cpp:114:79: error: 'EGLLabelKHR' has not been declared
  58. void EglErrorCallback(EGLenum error, const char *command, EGLint messageType, EGLLabelKHR threadLabel, EGLLabelKHR objectLabel, const char* message)
  59. ^~~~~~~~~~~
  60. ../xbmc/utils/EGLUtils.cpp:114:104: error: 'EGLLabelKHR' has not been declared
  61. void EglErrorCallback(EGLenum error, const char *command, EGLint messageType, EGLLabelKHR threadLabel, EGLLabelKHR objectLabel, const char* message)
  62. ^~~~~~~~~~~
  63. ../xbmc/utils/EGLUtils.cpp: In constructor 'CEGLContextUtils::CEGLContextUtils(EGLenum, const string&)':
  64. ../xbmc/utils/EGLUtils.cpp:196:69: error: 'PFNEGLDEBUGMESSAGECONTROLKHRPROC' was not declared in this scope
  65. auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
  66. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  67. ../xbmc/utils/EGLUtils.cpp:196:69: note: suggested alternative: 'PFNEGLGETSYNCATTRIBKHRPROC'
  68. auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
  69. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  70. PFNEGLGETSYNCATTRIBKHRPROC
  71. ../xbmc/utils/EGLUtils.cpp:196:130: error: no matching function for call to 'CEGLUtils::GetRequiredProcAddress<<expression error> >(const char [26])'
  72. auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
  73. ^
  74. In file included from ../xbmc/utils/EGLUtils.cpp:9:
  75. ../xbmc/utils/EGLUtils.h:28:12: note: candidate: 'template<class T> static T CEGLUtils::GetRequiredProcAddress(const char*)'
  76. static T GetRequiredProcAddress(const char * procname)
  77. ^~~~~~~~~~~~~~~~~~~~~~
  78. ../xbmc/utils/EGLUtils.h:28:12: note: template argument deduction/substitution failed:
  79. ../xbmc/utils/EGLUtils.cpp:196:130: error: template argument 1 is invalid
  80. auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
  81. ^
  82. ../xbmc/utils/EGLUtils.cpp:198:5: error: 'EGLAttrib' was not declared in this scope
  83. EGLAttrib eglDebugAttribs[] = {EGL_DEBUG_MSG_CRITICAL_KHR, EGL_TRUE,
  84. ^~~~~~~~~
  85. ../xbmc/utils/EGLUtils.cpp:198:5: note: suggested alternative: 'CEGLAttributes'
  86. EGLAttrib eglDebugAttribs[] = {EGL_DEBUG_MSG_CRITICAL_KHR, EGL_TRUE,
  87. ^~~~~~~~~
  88. CEGLAttributes
  89. ../xbmc/utils/EGLUtils.cpp:204:46: error: 'eglDebugAttribs' was not declared in this scope
  90. eglDebugMessageControl(EglErrorCallback, eglDebugAttribs);
  91. ^~~~~~~~~~~~~~~
  92. ../xbmc/utils/EGLUtils.cpp:204:46: note: suggested alternative: 'eglSurfaceAttrib'
  93. eglDebugMessageControl(EglErrorCallback, eglDebugAttribs);
  94. ^~~~~~~~~~~~~~~
  95. eglSurfaceAttrib
  96. ninja: build stopped: subcommand failed.
  97. Makefile:12: recipe for target 'image' failed
  98. make: *** [image] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement