Re: Mplayer 1.5 Compile on Ubuntu 24 Fails

Lorenzo <[email protected]> Fri, 17 Apr 2026 15:35:09 +0200
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
Hi John,

On Fri, 17 Apr 2026 08:59:33 -0400
John Kichury <[email protected]> wrote:

> Hello,
> 
> I'm trying to compile mplayer 1.5 (latest shown for downloads on the
> mplayer site).
> Compile fails with:
> 
> CC libavformat/adtsenc.o
> ./libavcodec/x86/mathops.h: Assembler messages:
> ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
> 
> Has anyone found a fix?

you need several patches due to gcc and ffmpeg changes; I suggest you
try to build the Debian/Ubuntu source, which is already patched

##get the source
$ apt-get source mplayer

##install build dependencies
# apt-get build-dep mplayer

#to build, cd inside the mplayer source dir, then
$ dpkg-buildpackage -us -uc

Cheers,
Lorenzo





> 
> Thanks,
> 
> John
> _______________________________________________
> MPlayer-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo/%(_internal_name)s

_______________________________________________
MPlayer-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s