Linux Build error on CentOS 7 (Core)
#1
I'm running CentOS 7 (Core) and I'm trying to build Kodi using the build guide, I was running
Code:

Code:
cmake --build . -- VERBOSE=1 -j$(getconf _NPROCESSORS_ONLN)
and I got the error "gmake: *** [all] Error 2"

Here's my log
https://paste.kodi.tv/lamokoxuqu
Reply
#2
log:
error: ‘CURLOPT_XFERINFOFUNCTION’ was not declared in this scope

Your libcurl is too old. It looks like CentOS 7 ships with libcurl 7.29 and that function was introduced in 7.32.
Reply
#3
(2018-12-21, 00:58)yasij Wrote:
log:
error: ‘CURLOPT_XFERINFOFUNCTION’ was not declared in this scope

Your libcurl is too old. It looks like CentOS 7 ships with libcurl 7.29 and that function was introduced in 7.32.
 So I fixed that problem, but almost instantly I get this error
https://paste.kodi.tv/ozewusejuv
Reply
#4
Your version of gcc is too old and does not support C++11 regex. That was added in gcc 4.9. You're probably going to run into more problems. CentOS 7 is based on a really old toolchain. It originally came out in 2014.
Reply

Logout Mark Read Team Forum Stats Members Help
Build error on CentOS 7 (Core)0