Linux 15.1 on Debian - unable to finish compilation (no error message)?
#1
Hi,

15.1 stable release. Compilation log (actually, end part of it):

Code:
make -C lib/addons/library.xbmc.pvr
make[1]: Wejście do katalogu '/home/michal/xbmc/xbmc/lib/addons/library.xbmc.pvr'
CPP     lib/addons/library.xbmc.pvr/libXBMC_pvr.o
CPP     xbmc/cores/dvdplayer/DVDOverlayRenderer.o
CPP     xbmc/cores/dvdplayer/DVDCodecs/DVDFactoryCodec.o
CPP     xbmc/cores/dvdplayer/DVDPlayer.o
g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.pvr/libXBMC_pvr-x86_64-linux.so libXBMC_pvr.o    
make[1]: Opuszczenie katalogu '/home/michal/xbmc/xbmc/lib/addons/library.xbmc.pvr'
CPP     xbmc/cores/dvdplayer/DVDPlayerAudio.o
CPP     xbmc/cores/dvdplayer/DVDPlayerSubtitle.o
AR      xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a
ar: `u' modifier ignored since `D' is the default (see `U')
CPP     xbmc/cores/dvdplayer/DVDPlayerTeletext.o
CPP     xbmc/cores/dvdplayer/DVDPlayerVideo.o
CPP     xbmc/cores/dvdplayer/DVDCodecs/Overlay/DVDOverlayCodecSSA.o
CPP     xbmc/cores/dvdplayer/DVDStreamInfo.o
CPP     xbmc/cores/dvdplayer/DVDTSCorrection.o
AR      xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a
ar: `u' modifier ignored since `D' is the default (see `U')
CPP     xbmc/cores/dvdplayer/Edl.o
CPP     xbmc/cores/dvdplayer/DVDCodecs/Overlay/DVDOverlayCodecText.o
CPP     xbmc/cores/dvdplayer/DVDCodecs/Overlay/DVDOverlayCodecTX3G.o
CPP     xbmc/cores/dvdplayer/DVDCodecs/Overlay/contrib/cc_decoder708.o
CC      xbmc/cores/dvdplayer/DVDCodecs/Overlay/contrib/cc_decoder.o
AR      xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a
ar: `u' modifier ignored since `D' is the default (see `U')
AR      xbmc/cores/dvdplayer/DVDPlayer.a
ar: `u' modifier ignored since `D' is the default (see `U')
At this point compilation stops. So make install - result:
Code:
root@debian:/home/michal/xbmc/xbmc# make install
Copying kodi binary to /usr/local/bin/kodi/lib/kodi/
install: cannot stat „kodi.bin”: No such file or directory
Makefile:514: polecenia dla obiektu 'install-binaries' nie powiodły się
make: *** [install-binaries] Error 1

As you can see, no errors during compilation, but compilation process looks like interrupted too early (no kodi.bin file exists?). Any ideas?

I want to compile on Debian by myself, because 3rd party repositories for Debian are dead. Now I'm on official Debian version, but as far as I know it's not supported here - I installed pvr hts deb from Ubuntu + Kodi 15.1 fro official Debian repo, but on each program exit I notice segmentation fault.

So I decided to compile from source, Kodi + pvr hts but I'm stuck at this point. Can you help?
Reply
#2
I just noticed I was wrong, error compilation error message:

Code:
LD      kodi.bin
xbmc/music/tags/musictags.a(TagLoaderTagLib.o): In function `StringListToVectorString(TagLib::StringList const&)':
TagLoaderTagLib.cpp:(.text+0x2b5): undefined reference to `TagLib::String::to8Bit[abi:cxx11](bool) const'
xbmc/music/tags/musictags.a(TagLoaderTagLib.o): In function `CTagLoaderTagLib::ParseID3v1Tag(TagLib::ID3v1::Tag*, MUSIC_INFO::EmbeddedArt*, MUSIC_INFO::CMusicInfoTag&)':
TagLoaderTagLib.cpp:(.text+0x686): undefined reference to `TagLib::String::to8Bit[abi:cxx11](bool) const'
TagLoaderTagLib.cpp:(.text+0x6c8): undefined reference to `TagLib::String::to8Bit[abi:cxx11](bool) const'
TagLoaderTagLib.cpp:(.text+0x70a): undefined reference to `TagLib::String::to8Bit[abi:cxx11](bool) const'
TagLoaderTagLib.cpp:(.text+0x74c): undefined reference to `TagLib::String::to8Bit[abi:cxx11](bool) const'
xbmc/music/tags/musictags.a(TagLoaderTagLib.o):TagLoaderTagLib.cpp:(.text+0x78e): more undefined references to `TagLib::String::to8Bit[abi:cxx11](bool) const' follow
xbmc/music/tags/musictags.a(TagLoaderTagLib.o): In function `TagStringHandler<TagLib::ID3v2::Latin1StringHandler>::parse(TagLib::ByteVector const&) const':
TagLoaderTagLib.cpp:(.text._ZNK16TagStringHandlerIN6TagLib5ID3v219Latin1StringHandlerEE5parseERKNS0_10ByteVectorE[_ZNK16TagStringHandlerIN6TagLib5ID3v219Latin1StringHandlerEE5parseERKNS0_10ByteVectorE]+0x71): undefined reference to `TagLib::String::String(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, TagLib::String::Type)'
xbmc/music/tags/musictags.a(TagLoaderTagLib.o): In function `TagStringHandler<TagLib::ID3v1::StringHandler>::parse(TagLib::ByteVector const&) const':
TagLoaderTagLib.cpp:(.text._ZNK16TagStringHandlerIN6TagLib5ID3v113StringHandlerEE5parseERKNS0_10ByteVectorE[_ZNK16TagStringHandlerIN6TagLib5ID3v113StringHandlerEE5parseERKNS0_10ByteVectorE]+0x71): undefined reference to `TagLib::String::String(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, TagLib::String::Type)'
xbmc/network/network.a(cddb.o): In function `CDDB::Xcddb::parseData(char const*)':
cddb.cpp:(.text+0x2e47): undefined reference to `TagLib::String::to8Bit[abi:cxx11](bool) const'
collect2: error: ld returned 1 exit status

So, I installed this:
Code:
apt-get install libtagc0-dev

And now, still can't compile:
Code:
make[5]: Wejście do katalogu '/home/michal/xbmc/xbmc/xbmc/screensavers/rsxs-0.9/lib'
gcc -DHAVE_CONFIG_H -I. -I..     -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o argp-fmtstream.o argp-fmtstream.c
In file included from dirname.h:22:0,
                 from argp-namefrob.h:169,
                 from argp-fmtstream.c:34:
./stdbool.h:104:70: error: expected ‘;’, identifier or ‘(’ before ‘_Bool’
typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
                                                                      ^
./stdbool.h:104:70: warning: useless type name in empty declaration
Makefile:442: polecenia dla obiektu 'argp-fmtstream.o' nie powiodły się
make[5]: *** [argp-fmtstream.o] Błąd 1
make[5]: Opuszczenie katalogu '/home/michal/xbmc/xbmc/xbmc/screensavers/rsxs-0.9/lib'
Makefile:393: polecenia dla obiektu 'all' nie powiodły się
make[4]: *** [all] Błąd 2
make[4]: Opuszczenie katalogu '/home/michal/xbmc/xbmc/xbmc/screensavers/rsxs-0.9/lib'
Makefile:452: polecenia dla obiektu 'all-recursive' nie powiodły się
make[3]: *** [all-recursive] Błąd 1
make[3]: Opuszczenie katalogu '/home/michal/xbmc/xbmc/xbmc/screensavers/rsxs-0.9'
Makefile:391: polecenia dla obiektu 'all' nie powiodły się
make[2]: *** [all] Błąd 2
make[2]: Opuszczenie katalogu '/home/michal/xbmc/xbmc/xbmc/screensavers/rsxs-0.9'
Makefile:55: polecenia dla obiektu '..' nie powiodły się
make[1]: *** [..] Błąd 2
make[1]: Opuszczenie katalogu '/home/michal/xbmc/xbmc/xbmc/screensavers/rsxs-0.9/xbmc'
Makefile:375: polecenia dla obiektu 'xbmc/screensavers/rsxs-0.9/xbmc' nie powiodły się
make: *** [xbmc/screensavers/rsxs-0.9/xbmc] Błąd 2
Reply
#3
Ok, problem solved by passing some custom compiler flags to configure script
Reply
#4
giaur - could you write what custom flags you add?
Reply

Logout Mark Read Team Forum Stats Members Help
15.1 on Debian - unable to finish compilation (no error message)?0