On Sat, Jan 03, 2009 at 10:24:19PM +0200, Nikos Chantziaras wrote: > Reimar Döffinger wrote: > > On Sat, Jan 03, 2009 at 08:06:27PM +0200, Nikos Chantziaras wrote: > >> If I have AMD Catalyst >= 8.10 (I am testing 8.12 currently.) However, > >> it doesn't seem to do anything. ./configure tells me: > >> > >> Checking for XvMC ... yes (using XvMCW) > > > > configure.log is the right place to check. It says: > > ld: cannot find -lAMDXvBA > > > > Probably because there is no libAMDXvBA.so but only libAMDXvBA.so.1 > > Gah, I feel stupid enough to not having looked at configure.log in the > first place :P That was the problem. After fixing it with a ln -s, I > get this: > > libAMDXvBA.so: undefined reference to `XF86DRICreateDrawable' > libAMDXvBA.so: undefined reference to `XF86DRIAuthConnection' > libAMDXvBA.so: undefined reference to `XF86DRICloseConnection' > libAMDXvBA.so: undefined reference to `XF86DRICreateContext' > libAMDXvBA.so: undefined reference to `XF86DRIGetDeviceInfo' > libAMDXvBA.so: undefined reference to `XF86DRIOpenConnection' > > So I guess I have the wrong version of something. This is of course not > an mplayer problem. I'll bug someone at Phoronix about it :) Add -lGL and it compiles. or just apply this patch: Index: configure =================================================================== --- configure (revision 28226) +++ configure (working copy) @@ -4115,13 +4133,13 @@ (void) XvMCCreateContext(0,0,0,0,0,0,0); return 0; } EOF - for _ld_tmp in $_xvmclib XvMCNVIDIA XvMCW I810XvMC ; do - cc_check -lXvMC -l$_ld_tmp && _xvmc=yes && _xvmclib="$_ld_tmp" && break + for _ld_tmp in -l$_xvmclib -lXvMCNVIDIA "-lAMDXvBA -lGL" -lXvMCW -lI810XvMC ; do + cc_check -lXvMC $_ld_tmp && _xvmc=yes && _xvmclib="$_ld_tmp" && break done fi if test "$_xvmc" = yes ; then _def_xvmc='#define CONFIG_XVMC 1' - _libs_mplayer="$_libs_mplayer -lXvMC -l$_xvmclib" + _libs_mplayer="$_libs_mplayer -lXvMC $_xvmclib" _vomodules="xvmc $_vomodules" _res_comment="using $_xvmclib" else But it's pointless since while it compiles, it does not work. _______________________________________________ MPlayer-users mailing list MPlayer-users@xxxxxxxxxxxx https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users