Compiling MPlayer on Ubuntu Hoary

Posted on Friday, April 8, 2005 in Uncategorized

After discovering the Ubuntu MPlayer package is broken for non-P4 systems, I decided to compile from source. I followed MacEwan’s instructions, but I was getting a strange compile error…

 /usr/lib/libGL.a(glxcmds.o)(.text+0x2eea): In function
 `glXGetMscRateOML':
 : undefined reference to `XF86VidModeQueryVersion'
 /usr/lib/libGL.a(glxcmds.o)(.text+0x2f1a): In function
 `glXGetMscRateOML':
 : undefined reference to `XF86VidModeGetModeLine'
 collect2: ld returned 1 exit status
 make: *** [mplayer] Error 1

Turns out there’s a package missing:

 $ sudo apt-get install libxxf86vm-dev

And everything compiles cleanly now!

Related posts:

Compiling mod_mono under Debian Sarge As part of re-enabling Mono I encountered a strange error... Ubuntu Hoary Hedgehog Release Candidate It was announced two days ago, and they expect to... Hoary Beagle Hat Been playing a bit recently. Tried upgrading to Ubuntu Hoary,... That new distro smell Update The content of this post now has a new... How to enable sound in Flash on Ubuntu 6.06 LTS Ubuntu 6.06 LTS (Dapper Drake) has an annoying problem: if...

Related posts brought to you by Yet Another Related Posts Plugin.

Thanks alot! I just got over the same error, and did not know which package I was missing. I owe you one. ;)

Thanks for this – I was just recompiling and hit this error. Small world etc etc :-)

If you are still having problems make’ing after installing libxxf86vm-dev, do a ./configure again. That fixed it for me.

post your fin command lines if you’re going to talk about compiling files or shut the F up!

Me too, and it took me half an hour to figure out why! By the way, do you have any idea why it takes so long to compile Mplayer, that’s even longer than compiling kernels!!!!

I installed libxxf86vm-dev but I’m still getting the same error when I try to compile mplayer.

same issue,I installed the “tricky” dependency,but Im still getting the same error :(

yep, thats it working now - after 3 compiles, first time without this, second time without the enable gui switch, just a note, remember to use this.


Mobilized by Mowser Mowser
Mobilytics