Hi: I want to install mpg123-0.59r on my asterisk server.I downloaded it in /usr/src then untared it and I typed these command : #cd /usr/src/mpg123-0.59r #make linux after run make linux ,I saw 2 errors in terminal: make CC=gcc LDFLAGS= \ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \ audio_oss.o term.o' \ CFLAGS='-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' \ mpg123-make make[1]: Entering directory `/usr/src/mpg123-0.59r' make[2]: Entering directory `/usr/src/mpg123-0.59r' make[2]: *** No rule to make target `\ ', needed by `mpg123'. Stop. make[2]: Leaving directory `/usr/src/mpg123-0.59r' make[1]: *** [mpg123-make] Error 2 make[1]: Leaving directory `/usr/src/mpg123-0.59r' make: *** [linux] Error 2 What is the problem? Please guide me. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080622/2b4a49b2/attachment.htm
fateme fatah wrote:> Hi: > I want to install mpg123-0.59r on my asterisk server.I downloaded it > in /usr/src then untared it and I typed these command : > #cd /usr/src/mpg123-0.59r > #make linux > after run make linux ,I saw 2 errors in terminal: > make CC=gcc LDFLAGS= \ > OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \ > audio_oss.o term.o' \ > CFLAGS='-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' \ > mpg123-make > make[1]: Entering directory `/usr/src/mpg123-0.59r' > make[2]: Entering directory `/usr/src/mpg123-0.59r' > make[2]: *** No rule to make target `\ > ', needed by `mpg123'. Stop. > make[2]: Leaving directory `/usr/src/mpg123-0.59r' > make[1]: *** [mpg123-make] Error 2 > make[1]: Leaving directory `/usr/src/mpg123-0.59r' > make: *** [linux] Error 2 > What is the problem? > Please guide me. > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersThat is not an Asterisk issue. You need to read up on how to install from source on your distro. -- Powered by Gentoo GNU/LINUX http://www.linuxcrazy.com
On Sun, Jun 22, 2008 at 12:24:22AM -0700, fateme fatah wrote:> Hi: > > > I want to install mpg123-0.59r on my asterisk server.I downloaded it in /usr/src then untared it and I typed these command : >BTW: why do you want to use mpg123? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
I'm guessing you're using gentoo. Your LDFLAGS ended up being backslash. Don't do that, and it will probably build. I'm making an educated guess, based on your 'omit-frame-pointer'. Don't omit your frame pointer either, if you ever want help debugging. Go into /etc/make.conf, find the gentoo docs, and change your flags back to the very simple example. And don't ask for gentoo help on the asterisk mailing list. On Sun, Jun 22, 2008 at 3:24 AM, fateme fatah <faza_404 at yahoo.com> wrote:> Hi: > I want to install mpg123-0.59r on my asterisk server.I downloaded it in > /usr/src then untared it and I typed these command : > #cd /usr/src/mpg123-0.59r > #make linux > after run make linux ,I saw 2 errors in terminal: > make CC=gcc LDFLAGS= \ > OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \ > audio_oss.o term.o' \ > CFLAGS='-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' \ > mpg123-make > make[1]: Entering directory `/usr/src/mpg123-0.59r' > make[2]: Entering directory `/usr/src/mpg123-0.59r' > make[2]: *** No rule to make target `\ > ', needed by `mpg123'. Stop. > make[2]: Leaving directory `/usr/src/mpg123-0.59r' > make[1]: *** [mpg123-make] Error 2 > make[1]: Leaving directory `/usr/src/mpg123-0.59r' > make: *** [linux] Error 2 > What is the problem? > Please guide me. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
On Sun, Jun 22, 2008 at 12:24:22AM -0700, fateme fatah wrote:> I want to install mpg123-0.59r on my asterisk server.I downloaded it in > /usr/src then untared it and I typed these command :Just have a look at www.mpg123.org and fetch the up to date version. 0.59r is probably available with your distribution but it is known to cause some problems. -- Stefan Tichy ( asterisk2 at pi4tel dot de )