[mythtv-users] Disable XvMC for FC6/PPC myth (svn)?
Mike Perkins
mikep at randomtraveller.org.uk
Sun Mar 4 11:19:11 UTC 2007
Henry Leinhos wrote:
> On Sat, 2007-03-03 at 13:59 -0500, Henry Leinhos wrote:
>> Hi,
>>
>> I've got an old Fedora Core 6/G3 (non-altivec ppc) machine that I'm
>> trying to compile mythtv for, and I seem to be having problems with XvMC
>> support.
>>
>> A first, I used the default configure options (with the addition of
>> --disable-altivec), which gave me:
>
> Ok, so I'm replying to my own post:)
>
> On the off chance I was missing something, I tried enabling xvmc at
> configure time:
>
> ./configure --prefix=/usr --disable-altivec --enable-xvmc
> # Basic Settings
> Compile type release
> Compiler cache no
> DistCC no
> Install prefix /usr
> CPU powerpc (ppc)
> Big Endian yes
> AltiVec enabled no
>
> # Input Support
> Joystick menu yes
> lirc support yes
> Apple Remote no
> Video4Linux sup. yes
> ivtv support yes
> FireWire support yes
> DVB support no [/usr/include]
> DBox2 support yes
> HDHomeRun sup. yes
> CRC Ip Rec sup. yes
> FreeBox support yes
>
> # Sound Output Support
> OSS support yes
> ALSA support yes
> aRts support yes
> JACK support yes
> DTS passthrough yes
>
> # Video Output Support
> x11 support yes
> xrandr support yes
> xv support yes
> XvMC support yes
> XvMC VLD support yes
> XvMC pro support no
> XvMC OpenGL sup. no
> XvMC libs -lXvMCW
> Mac accel. no
> OpenGL vsync no
> DirectFB no
>
> # Misc Features
> Frontend yes
> Backend yes
>
> # Bindings
> bindings_perl no
> Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak
>
> And my build gets quite a bit farther, only to die on another unresolved
> reference to an XvMC function:
>
> make[2]: Entering directory
> `/home/henry/src/mythtv-svn/programs/mythtv'
> g++ -o mythtv main.o -L/usr/lib/qt-3.3/lib -L../../libs/libmyth
> -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
> -L../../libs/libavformat -L../../libs/libmythfreemheg
> -L../../libs/libmythui -L../../libs/libmythupnp
> -L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20
> -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20 -lmythupnp-0.20
> -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame
> -lasound -L/lib -lartsc -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0
> -ljack -lraw1394 -liec61883 -lavc1394 -lXinerama -lXv -lXxf86vm -lXrandr
> -lXvMCW -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
> ../../libs/libmythtv/libmythtv-0.20.so: undefined reference to
> `XvMCSurfaceTypes::find(int, int, int, bool, bool, int, int, int,
> _XDisplay*, unsigned long, unsigned long, unsigned long&, int&)'
> ../../libs/libmythtv/libmythtv-0.20.so: undefined reference to
> `XvMCSurfaceTypes::has(_XDisplay*, XvMCAccelID, unsigned int, int,
> unsigned int, unsigned int, unsigned int, unsigned int)'
> collect2: ld returned 1 exit status
> make[2]: *** [mythtv] Error 1
> make[2]: Leaving directory `/home/henry/src/mythtv-svn/programs/mythtv'
> make[1]: *** [sub-mythtv] Error 2
> make[1]: Leaving directory `/home/henry/src/mythtv-svn/programs'
> make: *** [sub-programs] Error 2
>
>
> Am I missing something here?
>
> Thanks,
> Henry
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
I had some similar issues getting XVMC to work correctly at compile
time. In the end I had to 'make distclean' followed by
'find / -iname 'libmyth*' -print' and then some selective deleting. Some
of the libraries are in locations which may not get cleared out by make
distclean - thus leaving old headers which can confuse the build
process. YMMV, of course.
Mike Perkins
More information about the mythtv-users
mailing list