Talk:XBMC

From FedoraJunkies

Jump to: navigation, search

I'm stuck on the following error. How do I get past it?

/usr/bin/ccache gcc -o ../../../../system/players/dvdplayer/avcodec-51-x86_64-linux.so -shared -fPIC -rdynamic --soname,../../../../system/players/dvdplayer/avcodec-51-x86_64-linux.so ffmpeg/libavcodec/*.o \
                ffmpeg/libavcodec/i386/*.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
/usr/bin/ld: ffmpeg/libavcodec/i386/dsputil_mmx.o: relocation R_X86_64_PC32 against symbol `ff_pw_20' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [../../../../system/players/dvdplayer/avcodec-51-x86_64-linux.so] Error 1
make[1]: Leaving directory `/home/kostya/packages/XBMC/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error 2

The changes I had to make for my build env (F10, x86_64) -- in addition to what is outlined on this wiki --

  • changing ./configure, ./configure.in, and ./Makefile.in to use /usr/lib64 instead of /usr/lib for dbus and libcurl
  • fribidi fix now applies to CharsetConverter.cpp -- not CharsetConverter.h
  • I had to edit ./Makefile to remove $(LIBS) from line 271:
xbmc.bin: $(wildcard $(OBJSXBMC)) $(LIBS) | compile


Interesting I didn't have to do any of that to get my RPMs to build. It sounds like configure isn't properly detecting you as a x86_64 build env. Email me directly so we can try and fix this :) -SH

avutil-51-i486-linux.so playback failure on F10 rpms

I installed xbmc on two fedora 10 x86 installs and seem to have the same issue with video playback on both, the prebuilt(XBMC-8.10-3.fc10.i386) rpm was installed using yum localinstall (and without your repo added). I do have rpmfusion free and nonfree installed and I have also double checked that ffmpeg and ffmpeg-libs and ffmpeg-devel are all installed.

Here is the error:

14:04:17 T:6412208 M: 55808000   DEBUG: OnKey: 61453 pressed, action is 7
14:04:17 T:6412208 M: 55808000   DEBUG: new file set audiostream:0
14:04:17 T:6412208 M: 55808000   DEBUG: CPlayerCoreFactor::GetPlayers(/home/taden/Videos/eltopo.avi)
14:04:17 T:2832681872 M: 55808000   DEBUG: Running thread 2832681872
14:04:17 T:2832681872 M: 55808000   DEBUG: thread start, auto delete: 1
14:04:17 T:6412208 M: 55808000  NOTICE: DVDPlayer: Opening: /home/taden/Videos/eltopo.avi
14:04:17 T:6412208 M: 55808000 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
14:04:17 T:2822192016 M: 55808000   DEBUG: Running thread 2822192016
14:04:17 T:2822192016 M: 55808000   DEBUG: thread start, auto delete: 0
14:04:17 T:2822192016 M: 55808000  NOTICE: Creating InputStream
14:04:17 T:2822192016 M: 55808000    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
14:04:17 T:2822192016 M: 55808000   DEBUG: CacheSubtitles: START
14:04:17 T:2822192016 M: 55808000   DEBUG: CacheSubtitles: Checking for common subirs...
14:04:17 T:2822192016 M: 55808000   DEBUG: CacheSubtitles: Done (time: 0 ms)
14:04:17 T:2822192016 M: 55808000   DEBUG: CacheSubtitles: Searching for subtitles...
14:04:17 T:2822192016 M: 55808000   DEBUG: CacheSubtitles: Done (time: 1 ms)
14:04:17 T:2822192016 M: 55808000   DEBUG: CacheSubtitles: END (total time: 1 ms)
14:04:17 T:2822192016 M: 55808000    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
14:04:17 T:2822192016 M: 55808000  NOTICE: Creating Demuxer
14:04:17 T:2822192016 M: 55808000   DEBUG: SECTION:LoadDLL(Q:\system\players\dvdplayer\avutil-51-i486-linux.so)
14:04:17 T:2822192016 M: 55808000   DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/avutil-51-i486-linux.so
14:04:17 T:2822192016 M: 55808000   ERROR: Unable to load /usr/share/xbmc/system/players/dvdplayer/avutil-51-i486-linux.so, reason: /usr/share/xbmc/system/players/dvdplayer/avutil-51-i486-linux.so: undefined symbol: __wrap___fprintf_chk
14:04:17 T:2822192016 M: 55808000   ERROR: CDVDDemuxFFmpeg::Open - failed to load ffmpeg libraries
14:04:17 T:2822192016 M: 55808000   ERROR: OpenDemuxStream - Error creating demuxer
14:04:17 T:2822192016 M: 55808000  NOTICE: CDVDPlayer::OnExit()
14:04:17 T:2822192016 M: 55808000  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:04:17 T:2822192016 M: 55808000   DEBUG: Playback was stopped
14:04:17 T:2822192016 M: 55808000   DEBUG: staticThread, deleting thread graphic context
14:04:17 T:2822192016 M: 55808000   DEBUG: Thread 2822192016 terminating
14:04:17 T:2832681872 M: 55808000   DEBUG: staticThread, deleting thread object
14:04:17 T:2832681872 M: 55808000   DEBUG: staticThread, deleting thread graphic context
14:04:17 T:2832681872 M: 55808000   DEBUG: Thread 2832681872 terminating
14:04:17 T:6412208 M: 55840768  NOTICE: CDVDPlayer::CloseFile()
14:04:17 T:6412208 M: 55840768 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
14:04:17 T:6412208 M: 55840768  NOTICE: DVDPlayer: waiting for threads to exit
14:04:17 T:6412208 M: 55840768  NOTICE: DVDPlayer: finished waiting
14:04:17 T:6412208 M: 55840768   ERROR: Playlist Player: skipping unplayable item: 0, path [/home/taden/Videos/eltopo.avi]
14:04:17 T:6412208 M: 55840768   DEBUG: Playlist Player: no more playable items... aborting playback

Any help would be appriciated.

Personal tools