You are not logged in.

#1 2010-03-21 09:07:15

DanGray
Member
Registered: 2004-08-15
Posts: 23

Boxee on x64

I'm getting build errors trying to compile AUR boxee source on x64. The common-all-garden -fPIC variety, but I can't track them down...

/usr/bin/ccache gcc -o ../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so -shared -fPIC -rdynamic --soname,../../../../system/players/dvdplayer/avutil-50-x86_64-linux.so ffmpeg/libavutil/*.o \
        `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
/usr/bin/ccache gcc -o ../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so -shared -fPIC -rdynamic --soname,../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so ffmpeg/libavcodec/*.o \
        ffmpeg/libavcodec/x86/*.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
/usr/bin/ld: ffmpeg/libavcodec/x86/fft_mmx.o: relocation R_X86_64_PC32 against symbol `ff_cos_16' 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-52-x86_64-linux.so] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-boxee-source/boxee-source/src/src/boxee-sources-0.9.20.10711/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error

Has anyone come across the same issue? Does anyone have a precompiled 64 bit Boxee package? I'd be happy to provide hosting for a repo if someone else is successful in compiling the package!

Offline

#2 2010-03-26 14:55:22

corevisual
Member
From: Charlottesville, VA
Registered: 2008-11-26
Posts: 7

Re: Boxee on x64

I had the same error -- do you have Yasm installed?  I was able to compile boxee-source successfully once I removed it.  I assume it may just need the right flags or an alignment patch to fft_mmx.asm and/or others, but I was annoyed enough by the time I succeeded without yasm that I didn't dig any further.

Offline

Board footer

Powered by FluxBB