Unable to build Kodi from source on Ubuntu 17.10
#1
Hi all

Based on Fritsch' Guide I've been successfully running a self-compiled latest Kodi on my Ubuntu system for a while now.
However I have now upgraded distro to 17.10 and pulled latest kodi-agile, and I'm unable to build it now.. 
I get error "undefined reference to 'pthread_create'" when doing make build (cmake --build . -- VERBOSE=1).

I have installed dependencies of course, and  have installed kodi build-dependencies from team-xbmc/xbmc-ppa-build-depends

My cmake configure line was "cmake .. -DENABLE_VAAPI=1 -DCMAKE_BUILD_TYPE=Release"

Here is CMakeError.log: http://paste.ubuntu.com/25875215/

Here is full CMakeoOutput.log: http://paste.ubuntu.com/25875254/

All help is appreciated!
Reply
#2
Try plain `make` instead of cmake --build
Reply
#3
Thanks for the input. It turns out build instructions for Linux have changed recently, so I needed to install some more deps and also run "cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local" first
Reply
#4
CMAKE_INSTALL_PREFIX=/usr/local is the default.
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to build Kodi from source on Ubuntu 17.100