[MPlayer-users] Compiling on 64-bits...
John Doe
jdmls at yahoo.com
Tue Sep 27 14:46:20 CEST 2011
From: Nikos Chantziaras <realnc at arcor.de>
> On 09/27/2011 12:34 PM, John Doe wrote:
>> I am trying to compile mplayer SVN-r34125 on CentOS 6 64-bits.
>> It fails with:
>> loader/wrapper.S
>> loader/wrapper.S: Assembler messages:
>> loader/wrapper.S:31: Error: `pusha' is not supported in 64-bit mode
>> loader/wrapper.S:34: Error: suffix or operands invalid for `push'
>> loader/wrapper.S:38: Error: suffix or operands invalid for `push'
>> loader/wrapper.S:40: Error: suffix or operands invalid for `push'
>> loader/wrapper.S:45: Error: suffix or operands invalid for `push'
>> loader/wrapper.S:46: Error: suffix or operands invalid for `push'
>> loader/wrapper.S:55: Error: `popa' is not supported in 64-bit mode
>> I saw nowhere in the doc/README that it could be 32-bits only...
>> Google is not very helpful, apart for telling me how to compile in
>> 32-bits...
>> Is that the case?
> Install yasm. This should allow you to build on 64-bit.
I do have yasm 1.1.0 installed...
Checking for yasm ... yasm
I shamefully bypassed the problem by not enabling qtx.
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Normally, when reporting build problems, please confirm that you did:
> $ make distclean
> $ svn up
> $ ./configure && make
> If make fails, run make again and post the complete, uncut output of your
> (repeated) call to make here.
> In your case, I suspect you used an --enable option (most of them do not work as
> you expect, and you cannot report problems if you use them, see configure's
> output) that is not supported on your platform (--enable-win32dll).
> Compilation for 64bit is supported since a very long time.
I do make distclean, svn was upped a few hours ago, but my configure is "complicated";
I compile everything (mplayer and the libs it depends on) in a specific directory.
So I must also use some --extra-cflags, --extra-ldflags and --extra-libs params...
And yes, I also had to disable win32dll.
Thx,
JD
More information about the MPlayer-users
mailing list