Results 1 to 3 of 3

Thread: building in debian sid

  1. #1
    Join Date
    Dec 2008
    Posts
    13

    Default building in debian sid

    /usr/bin/ccache g++ -O2 -O2 -g -D_DEBUG -Wall -o Boxee -Wl,--whole-archive xbmc/lib/libcmyth/libcmyth.a xbmc/linux/linux.a xbmc/utils/utils.a xbmc/cores/DllLoader/exports/util/exports_utils.a xbmc/cores/DllLoader/exports/exports.a -Wl,--no-whole-archive xbmc/xbmc.a xbmc/cores/playercorefactory/playercorefactory.a xbmc/cores/dvdplayer/DVDPlayer.a xbmc/cores/paplayer/paplayer.a xbmc/cores/VideoRenderers/VideoRenderer.a xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a guilib/guilib.a guilib/common/gui_common.a guilib/tinyXML/tinyxml.a xbmc/cdrip/cdrip.a xbmc/cores/cores.a xbmc/lib/libPython/python.a xbmc/cores/DllLoader/dllloader.a xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a xbmc/cores/AudioRenderers/audiorenderers.a xbmc/cores/ExternalPlayer/ExternalPlayer.a xbmc/FileSystem/filesystem.a xbmc/FileSystem/MusicDatabaseDirectory/musicdatabasedirectory.a xbmc/FileSystem/VideoDatabaseDirectory/videodatabasedirectory.a xbmc/karaoke/karaoke.a xbmc/lib/libhts/libhts.a xbmc/lib/libPython/xbmcmodule/xbmcmodule.a xbmc/lib/libRTMP/librtmp.a xbmc/lib/libnbtscan/libnbtscan.a xbmc/lib/libscrobbler/scrobbler.a xbmc/lib/libRTV/librtv-x86_64-linux.a xbmc/lib/libshout/libshout-x86_64-linux.a xbmc/lib/libUPnP/libupnp-x86_64-linux.a xbmc/lib/libXBMS/libxbms-x86_64-linux.a xbmc/lib/libXDAAP/libxdaap-x86_64-linux.a xbmc/lib/libGoAhead/libGoAhead-x86_64-linux.a xbmc/lib/sqLite/sqllite.a xbmc/lib/UnrarXLib/UnrarXLib.a xbmc/lib/libsquish/libsquish-x86_64-linux.a xbmc/screensavers/screensaver.a xbmc/settings/settings.a xbmc/visualizations/visualization.a xbmc/xbox/xbox.a xbmc/app/app.a xbmc/nativeapp/nativeapp.a xbmc/lib/libBoxee/libBoxee.a xbmc/lib/libBoxee/tinyxpath/libtinyxpath.a xbmc/cores/flashplayer/flashplayer.a -lavahi-client -lavahi-common -lrt -ltiff -ljasper -lresolv -ldl -lmms -lz -llzo2 -lpthread -ljpeg -lbz2 -lGLU -lGLEW -lGL -lmad -lfontconfig -lfribidi -lsqlite3 -lpng12 -lpcre -lsamplerate -lfreetype -logg -lvorbis -lm -logg /usr/lib/libmysqlclient.so.16 /usr/lib/libcdio.a -lasound -lenca -lm -lXt -lXtst -lXmu -lXinerama -lcurl -ldbus-1 -lpthread -lrt -lhal-storage -lhal -ldbus-1 -lpthread -lrt -lSDL -lhal -ldbus-1 -lpthread -lrt xbmc/lib/libsmb/libsmbclient-x86_64-linux.a -rdynamic
    xbmc/lib/libPython/python.a(XBPyPersistentThread.o): In function `XBPyPersistentThread::CreatePolicy(unsigned long)':
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:399: undefined reference to `TPAllocPolicy'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:401: undefined reference to `TPAddPolicy'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:406: undefined reference to `TPAllocPolicy'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:412: undefined reference to `TPAddRuleToPolicy'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:414: undefined reference to `TPAddPolicy'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:419: undefined reference to `TPAllocPolicy'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:421: undefined reference to `TPAddPolicy'
    xbmc/lib/libPython/python.a(XBPyPersistentThread.o): In function `XBPyPersistentThread:eletePolicy(unsigned long)':
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/lib/libPython/XBPyPersistentThread.cpp:428: undefined reference to `TPDeletePolicy'
    xbmc/FileSystem/filesystem.a(FilePlaylist.o): In function `XFILE::CFilePlaylist::GetEncryptKey(CStdStr<char> const&, CStdStr<char>&)':
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1033: undefined reference to `EVP_CIPHER_CTX_init'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1034: undefined reference to `EVP_aes_128_cbc'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1034: undefined reference to `EVP_DecryptInit_ex'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1040: undefined reference to `EVP_CIPHER_CTX_set_padding'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1042: undefined reference to `EVP_DecryptUpdate'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1048: undefined reference to `EVP_DecryptFinal_ex'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:1054: undefined reference to `EVP_CIPHER_CTX_cleanup'
    xbmc/FileSystem/filesystem.a(FilePlaylist.o): In function `XFILE::CFilePlaylist::ReadAhead()':
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:210: undefined reference to `EVP_CIPHER_CTX_init'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:257: undefined reference to `EVP_aes_128_cbc'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:257: undefined reference to `EVP_DecryptInit_ex'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:286: undefined reference to `EVP_DecryptUpdate'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:306: undefined reference to `EVP_DecryptFinal_ex'
    /home/bash/Downloads/boxee-sources-0.9.22.13692/xbmc/FileSystem/FilePlaylist.cpp:310: undefined reference to `EVP_CIPHER_CTX_cleanup'
    collect2: ld returned 1 exit status
    make: *** [Boxee] Error 1
    How do I fix this?

  2. #2

    Default

    If you are just looking to get Boxee running, 0.9.21.11497 compiles for me even though you need to make a link to xbmc.bin from Boxee before "make install" and I believe you also have to copy the tools/Linux directory from xbmc's repository.

    Otherwise, yeah, I am on Debian unstable and get this too. I looked for TPAdd in some of the header files for Python with no luck, thinking it might need another include to compile. I'll let you know if I figure out what is missing or needs changing.

  3. #3
    Join Date
    Sep 2010
    Posts
    1

    Default Solution in Fedora

    Hi:

    I had the same issue compiling on Fedora 11. Being that this thread is more than a year old, I hope that helps somebody looking for a solution on the same problem.

    In the version of the compiler that I used it just could not find the definitions of TPAlloc* functions that are in the xbmc.a library. For a moment I thought that it was a casting problem, so I casted FILE_SYSTEM with (PolicyType). That did not helped. So the issue has to be in the linkage.

    I modified the boxee Makefile to include the following at the end of the LIBS definition
    (LIBS= -l ... xbmc/ThreadPolicy.o) That was able to propagate the definition. The drawback is that you have it twice in the binary, and the executable is slightly larger, but that solved the problem.

    Other actions I had to take:

    • I had to do make xbmc.bin, make does not do it for you, it just creates the library.
    • I had to copy UserData to userdata on the boxee installation root.
    • I copied xbmc.sh to xbmc-standalone.sh in tools/Linux
    • I copied xbmc.desktop to xbmc-xsession.desktop in tools/Linux


    I hope this helps.

Similar Threads

  1. Debian package building..
    By rasjani in forum bugs? what bugs?
    Replies: 0
    Last Post: January 3rd, 2011, 12:54 PM
  2. Problem building on Debian lenny (amd64)
    By omry in forum boxee for linux help
    Replies: 0
    Last Post: February 11th, 2009, 03:17 PM
  3. Boxee on debian sid
    By khalvorsen in forum boxee for linux help
    Replies: 1
    Last Post: January 8th, 2009, 12:23 PM
  4. Problem with debian sid
    By dinyar in forum bugs? what bugs?
    Replies: 2
    Last Post: November 15th, 2008, 06:55 PM
  5. Only fonts when running on Debian Sid 32bit chroot
    By infernix in forum boxee for linux help
    Replies: 4
    Last Post: October 27th, 2008, 11:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •