Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://forum.libreelec.tv/thread/14297-build-on-master-fails/?postID=109100#post109100
- [1103/1515] Building CXX object build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o
- FAILED: build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o
- /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
- ../xbmc/utils/EGLUtils.cpp:102:5: error: 'EGL_DEBUG_MSG_CRITICAL_KHR' was not declared in this scope
- X(EGL_DEBUG_MSG_CRITICAL_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:102:5: note: suggested alternative: 'EGL_BITMAP_PITCH_KHR'
- X(EGL_DEBUG_MSG_CRITICAL_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:103:5: error: 'EGL_DEBUG_MSG_ERROR_KHR' was not declared in this scope
- X(EGL_DEBUG_MSG_ERROR_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:103:5: note: suggested alternative: 'EGL_BAD_STREAM_KHR'
- X(EGL_DEBUG_MSG_ERROR_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:104:5: error: 'EGL_DEBUG_MSG_WARN_KHR' was not declared in this scope
- X(EGL_DEBUG_MSG_WARN_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:104:5: note: suggested alternative: 'EGL_BAD_STATE_KHR'
- X(EGL_DEBUG_MSG_WARN_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:105:5: error: 'EGL_DEBUG_MSG_INFO_KHR' was not declared in this scope
- X(EGL_DEBUG_MSG_INFO_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../xbmc/utils/EGLUtils.cpp:105:5: note: suggested alternative: 'EGL_NO_SYNC_KHR'
- X(EGL_DEBUG_MSG_INFO_KHR),
- ^~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro 'X'
- #define X(VAL) std::make_pair(VAL, #VAL)
- ^~~
- ../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*>'
- };
- ^
- ../xbmc/utils/EGLUtils.cpp:114:79: error: 'EGLLabelKHR' has not been declared
- void EglErrorCallback(EGLenum error, const char *command, EGLint messageType, EGLLabelKHR threadLabel, EGLLabelKHR objectLabel, const char* message)
- ^~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:114:104: error: 'EGLLabelKHR' has not been declared
- void EglErrorCallback(EGLenum error, const char *command, EGLint messageType, EGLLabelKHR threadLabel, EGLLabelKHR objectLabel, const char* message)
- ^~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp: In constructor 'CEGLContextUtils::CEGLContextUtils(EGLenum, const string&)':
- ../xbmc/utils/EGLUtils.cpp:196:69: error: 'PFNEGLDEBUGMESSAGECONTROLKHRPROC' was not declared in this scope
- auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:196:69: note: suggested alternative: 'PFNEGLGETSYNCATTRIBKHRPROC'
- auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PFNEGLGETSYNCATTRIBKHRPROC
- ../xbmc/utils/EGLUtils.cpp:196:130: error: no matching function for call to 'CEGLUtils::GetRequiredProcAddress<<expression error> >(const char [26])'
- auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
- ^
- In file included from ../xbmc/utils/EGLUtils.cpp:9:
- ../xbmc/utils/EGLUtils.h:28:12: note: candidate: 'template<class T> static T CEGLUtils::GetRequiredProcAddress(const char*)'
- static T GetRequiredProcAddress(const char * procname)
- ^~~~~~~~~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.h:28:12: note: template argument deduction/substitution failed:
- ../xbmc/utils/EGLUtils.cpp:196:130: error: template argument 1 is invalid
- auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress<PFNEGLDEBUGMESSAGECONTROLKHRPROC>("eglDebugMessageControlKHR");
- ^
- ../xbmc/utils/EGLUtils.cpp:198:5: error: 'EGLAttrib' was not declared in this scope
- EGLAttrib eglDebugAttribs[] = {EGL_DEBUG_MSG_CRITICAL_KHR, EGL_TRUE,
- ^~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:198:5: note: suggested alternative: 'CEGLAttributes'
- EGLAttrib eglDebugAttribs[] = {EGL_DEBUG_MSG_CRITICAL_KHR, EGL_TRUE,
- ^~~~~~~~~
- CEGLAttributes
- ../xbmc/utils/EGLUtils.cpp:204:46: error: 'eglDebugAttribs' was not declared in this scope
- eglDebugMessageControl(EglErrorCallback, eglDebugAttribs);
- ^~~~~~~~~~~~~~~
- ../xbmc/utils/EGLUtils.cpp:204:46: note: suggested alternative: 'eglSurfaceAttrib'
- eglDebugMessageControl(EglErrorCallback, eglDebugAttribs);
- ^~~~~~~~~~~~~~~
- eglSurfaceAttrib
- ninja: build stopped: subcommand failed.
- Makefile:12: recipe for target 'image' failed
- make: *** [image] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement