Kodi Community Forum

Full Version: Issue compiling the XBMC Pivos from the GIT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

I'm trying to build XIOS-XBMC-APK as shown on Pivos Forum:
http://www.pivosforums.com/viewtopic.php?f=24&t=2966

I'm using Ubuntu 12.04 LTS x64 and I'm trying to compile XBMC from the Pivos Fork

All the parts of the example executes just fine:
Code:
make[2]: Leaving directory `/home/evgeniy/Pivos/xbmc-android/tools/android/depends/xbmc-pvr-addons/armeabi-v7a'
touch .installed-armeabi-v7a
make[1]: Leaving directory `/home/evgeniy/Pivos/xbmc-android/tools/android/depends/xbmc-pvr-addons'
Dependencies built successfully.
evgeniy@ubuntu:~/Pivos/xbmc-android/tools/android/depends$

but when I reach the:
Code:
cd $HOME/Pivos/xbmc-android/tools/android/depends/xbmc
make -j8

I get this error:
Code:
aclocal.m4:4174: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5249: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:160: _LT_SETUP is expanded from...
aclocal.m4:89: LT_INIT is expanded from...
aclocal.m4:124: AC_PROG_LIBTOOL is expanded from...
configure.ac:100: the top level
configure.ac:26: installing `./config.guess'
configure.ac:26: installing `./config.sub'
configure.ac:22: installing `./install-sh'
configure.ac:22: installing `./missing'
examples/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: Leaving directory `lib/libdvd/libdvdnav'
make[1]: Leaving directory `/home/evgeniy/Pivos/xbmc-android'
make[1]: Entering directory `/home/evgeniy/Pivos/xbmc-android'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `xbmc/interfaces/python/generated/AddonModuleXbmc.cpp', needed by `codegenerated'.  Stop.
make[1]: Leaving directory `/home/evgeniy/Pivos/xbmc-android'
make: *** [../../../..//libxbmc.so] Error 2
evgeniy@ubuntu:~/Pivos/xbmc-android/tools/android/depends/xbmc$

As you can see the issue is with the compiling AddonModuleXbmc.cpp which doesn't present in the folder.
I have installed latest JRE, Doxygen,swig

I have tried same on x86 system and I get same error.

Here's the config.log file:
http://pastebin.com/YD3m1JzU

Any help is very appreciated! Thank you!
xbmc/interfaces/python/generated/AddonModuleXbmc.cpp

Generated is a key message Smile it means that something in the build generates it. Typically in the bootstrap phase.

My guess is a make race as 'autoreconf: Leaving directory `lib/libdvd/libdvdnav'' is done in bootstrap and your make error regards code after bootstrap. Dial down make -j8 to just make.

And the Pivos forums are a better place to ask about building Pivos supplied code don't ya think ?
Davila, thanks for you reply. Will give a try and let you know.

You are right, I should have posted that query to the Pivos forum...
Davila, sorry, I realized that I didn't understand what steps I should make. I'm a beginner in the linux & XBMC world. Could you please help me understand the reason of such a message?
Where you talking about this part?
Code:
cd $HOME/Pivos/xbmc-android/tools/android/depends
./bootstrap

boot stram calls for the autoconf, autoconf creates the first version of configure script.
Then I call for configure with toolchains and then make.

How the 'lib/libdvd/libdvdnav' is related to that?

what is the diference between the make -j20 and make -j8. I thought it's a amount of threads to be used?

Davila, sorry, looks like I have messed up everything... Huh
cd $HOME/Pivos/xbmc-android
make clean

make -C tools/android/depends/xbmc
Thanks again!
Will try tonight and will let you know if that worked.
Could we stop that duplicate posting now please? Decide for one thread and put the link to that in the other one ...
Davila, thanks for the code, it worked.

(2013-06-07, 16:18)Memphiz Wrote: [ -> ]Could we stop that duplicate posting now please? Decide for one thread and put the link to that in the other one ...
Memphiz, sorry mate. First I posted the query into another thread, and after there was no reply for couple of days I created a new thread.
hai,
i face a probleam while compling source code in ubuntu system.
the comand i typed is ;
cd $HOME/xbmc/
./bootstrap
then i got a problem is :
Warning: No doxygen installed. The Api will not have any docstrings.
mkdir -p xbmc/interfaces/python/generated/doxygenxml
make: *** No rule to make target `xbmc/interfaces/python/generated/AddonModuleXbmc.cpp', needed by `codegenerated'. Stop.
can u guys help me how to clear this error.
i am new to xbmc
try their forums instead?