[Asterisk-Users] mpg123 on x86_64 (Opteron MP)

asterisk at gatheringpoint.net asterisk at gatheringpoint.net
Sat Sep 17 10:25:09 MST 2005


> Subject: Re: [Asterisk-Users] mpg123 on x86_64 (Opteron MP)
> Joseph wrote:
>> Why do you need to compile it?
>> Isn't it available as an rpm package?
>>
> I will assume he knows why he needs to compile it.
>
> See if the source for the rpm, deb, or whatever from the distro you  
> are
> running will build for you. That will often get your system to the  
> point
> where any header, tools and libraries needed are now installed. That's
> how I do it when I want to use something from cvs.

I'm compiling it because Redhat (FC3) uses mpg321 in the  
distribution, which doesn't work with *.  I can build *, zaptel, and  
libprc fine, as well as other apps (FC3 was not compiled, but  
installed from RPM).

Looking at the compile error, I'm thinking there is a problem with an  
assembler subroutine (push and pop complaints) on the Opteron  
processor, or a compile flag that should be changed.

Still stuck.

Original Post:
Has anyone successfully compiled mpg123 in the 1.0.x or 1.2beta1  
distributions (I'm running FC3 linux on an Opteron 2 processor  
system)?  Are there any patches out there to make it work?

gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX          - 
DREAD_MMAP -DOSS -DTERM_CONTROL                -Wall -O2 - 
m486                 -fomit-frame-pointer -funroll-all- 
loops              -finline-functions -ffast-math   -c -o  
dct64_i386.o dct64_i386.c
as   -o decode_i586.o decode_i586.s
decode_i586.s: Assembler messages:
decode_i586.s:44: Error: suffix or operands invalid for `push'
<snip>
decode_i586.s:161: Error: suffix or operands invalid for `pop'
<snip>



More information about the asterisk-users mailing list