As already pointed out, all resources indicate that compiling should be generally and are essential to do following:
1)
Install compile/build dependencies.
https://github.com/xbmc/xbmc/tree/master/docs (Hint its on the
readme.Linux) some dependencies may be missing due to how different Linux package things
hint the config.log will tell which are missing..
2) Pull code and compile. (in addition to what irusak, posted again for your benefit its in the readme btw,
The only additions I would throw in are to clean your source after a failure.
This should be repeated each time build fails in the source directory you pulled.
Code:
cd ~/
git clone https://github.com/xbmc/xbmc.git
cd kodi
git clean -xfd
git reset --hard
git pull --rebase origin master
./bootstrap
./configure
make -j4
sudo make install
Extra.
If you are compiling kodi and want the audio decoder addons you will need to do compile them specifically.
Code:
./bootstrap && ./configure && make -j4 && make -C tools/depends/target/xbmc-audioencoder-addons && make install
3) Pastebin your
full config.log if you get any errors. (to confirm all things required are ok)
Code:
sudo apt-get install pastebinit
cd ~/kodi
cat config.log | pastebinit
For the record a full build should be offered, I dont mean to be harsh or anything but you should try to generate one, especially if you need support. what you posted doesnt help. Try to use a pastebin for logs, its good practice and good manners.
Good luck.