asterisk@gatheringpoint.net
2005-Sep-16 08:56 UTC
[Asterisk-Users] mpg123 on x86_64 (Opteron MP)
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>
Why do you need to compile it? Isn't it available as an rpm package? -- #Joseph On Fri, 2005-09-16 at 08:56 -0700, asterisk@gatheringpoint.net wrote:> 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>
asterisk@gatheringpoint.net
2005-Sep-17 10:25 UTC
[Asterisk-Users] mpg123 on x86_64 (Opteron MP)
> 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>
> > 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> > I am having the same issues as outlined above. The processor is a semperon. # uname -a Linux amd64 2.6.12-9-amd64-generic #1 Sat Oct 1 01:11:30 BST 2005 x86_64 GNU/Linux When trying to compile mpg123 I get the following errors: root@amd64:/usr/src/asterisk-1.0.10/mpg123-0.59r# make linux ... make[2]: Entering directory `/usr/src/asterisk-1.0.10/mpg123-0.59r' as -o decode_i586.o decode_i586.s decode_i586.s: Assembler messages: decode_i586.s:44: Error: suffix or operands invalid for `push' decode_i586.s:45: Error: suffix or operands invalid for `push' decode_i586.s:46: Error: suffix or operands invalid for `push' decode_i586.s:47: Error: suffix or operands invalid for `push' decode_i586.s:67: Error: suffix or operands invalid for `push' decode_i586.s:70: Error: suffix or operands invalid for `push' decode_i586.s:81: Error: suffix or operands invalid for `push' decode_i586.s:83: Error: suffix or operands invalid for `push' decode_i586.s:86: Error: suffix or operands invalid for `push' decode_i586.s:161: Error: suffix or operands invalid for `pop' decode_i586.s:211: Error: suffix or operands invalid for `pop' decode_i586.s:296: Error: suffix or operands invalid for `pop' decode_i586.s:315: Error: suffix or operands invalid for `pop' decode_i586.s:316: Error: suffix or operands invalid for `pop' decode_i586.s:317: Error: suffix or operands invalid for `pop' decode_i586.s:318: Error: suffix or operands invalid for `pop' make[2]: *** [decode_i586.o] Error 1 make[2]: Leaving directory `/usr/src/asterisk-1.0.10/mpg123-0.59r' make[1]: *** [mpg123-make] Error 2 make[1]: Leaving directory `/usr/src/asterisk-1.0.10/mpg123-0.59r' make: *** [linux] Error 2 Anyone able to point me in the right direction to compile this app? It is running ubuntu.. Thanks Brad
On Sun, 2005-12-11 at 09:56 +1100, Brad wrote: [snip]> Anyone able to point me in the right direction to compile this app? It > is running ubuntu..Not really but iirc there is a Mandrake/Mandriva mpg123 SRPM floating around that had some x86_64 patches in it. Maybe you could try to track the SRPM down and use their patches to make it compile. Regards, Patrick
I wasted a lot of time on this and never figured it out. Finally went with Madplayer. If you find a solution, please let us know.> > On Sun, 2005-12-11 at 09:56 +1100, Brad wrote: > [snip] > > Anyone able to point me in the right direction to compile this app?It> > is running ubuntu.. > > Not really but iirc there is a Mandrake/Mandriva mpg123 SRPM floating > around that had some x86_64 patches in it. Maybe you could try totrack> the SRPM down and use their patches to make it compile. > > Regards, > Patrick > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Patrick wrote:> On Sun, 2005-12-11 at 09:56 +1100, Brad wrote: > [snip] > >>Anyone able to point me in the right direction to compile this app? It >>is running ubuntu.. > > > Not really but iirc there is a Mandrake/Mandriva mpg123 SRPM floating > around that had some x86_64 patches in it. Maybe you could try to track > the SRPM down and use their patches to make it compile.We use MAD (http://www.underbit.com/products/mad/) on x86_64 systems. Regards, -- Jason Becker Director & CEO Coalescent Systems Inc. Enabling Open Source Telephony 403.244.8089 www.coalescentsystems.ca
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051212/cb7132df/attachment.pgp