2017-09-09, 21:49
I plan to do some contributions to Kodi. First step is to be able to compile it locally.
I am following http://kodi.wiki/view/HOW-TO:Compile_XBMC_for_Ubuntu
I am doing it in a Ubuntu 16.04 machine.
Some mistakes:
Docs say:
But "bootstrap" actually is in "xbmc/tools/depends". This should be updated.
After doing the "bootstrap" and the "configure" steps in the right directory, I do "make" (inside "xbmc/tools/depends" directory). After quite a long time of compilations and dependencies automatic downloads, I get this error:
I have installed all dependencies listed in the wiki page.
I don't know how to proceed. What to do now?. Could you possibly correct the compilation guide?.
PS: The only "funny" thing in my compilation environment is that I have "ccache" installed.
I am following http://kodi.wiki/view/HOW-TO:Compile_XBMC_for_Ubuntu
I am doing it in a Ubuntu 16.04 machine.
Some mistakes:
Docs say:
Code:
cd $HOME/xbmc/
./bootstrap
./configure
But "bootstrap" actually is in "xbmc/tools/depends". This should be updated.
After doing the "bootstrap" and the "configure" steps in the right directory, I do "make" (inside "xbmc/tools/depends" directory). After quite a long time of compilations and dependencies automatic downloads, I get this error:
Quote:[ 87%] Linking C executable plutil
cd /home/jcea/xbmc/xbmc/tools/depends/target/libplist/x86_64-linux-gnu-debug/build/plutil && /home/jcea/xbmc/z/x86_64-linux-gnu-native/bin/cmake -E cmake_link_script CMakeFiles/plutil.dir/link.txt --verbose=1
/usr/bin/gcc -fPIC -DPIC -Og -g -D_DEBUG -isystem /home/jcea/xbmc/z/x86_64-linux-gnu-debug/include -fvisibility=default -L/home/jcea/xbmc/z/x86_64-linux-gnu-debug/lib CMakeFiles/plutil.dir/plutil.c.o -o plutil-1.6 -rdynamic ../src/libplist.so.1.1.6 -Wl,-Bstatic -lxml2 -Wl,-Bdynamic -lz -lm -Wl,-rpath,/home/jcea/xbmc/xbmc/tools/depends/target/libplist/x86_64-linux-gnu-debug/build/src:
../src/libplist.so.1.1.6: undefined reference to `lzma_properties_decode'
../src/libplist.so.1.1.6: undefined reference to `lzma_end'
../src/libplist.so.1.1.6: undefined reference to `lzma_auto_decoder'
../src/libplist.so.1.1.6: undefined reference to `lzma_code'
collect2: error: ld returned 1 exit status
I have installed all dependencies listed in the wiki page.
I don't know how to proceed. What to do now?. Could you possibly correct the compilation guide?.
PS: The only "funny" thing in my compilation environment is that I have "ccache" installed.