Installing mpg123 on i686 machine

hi to all,
I’ve i686 machine running asterisk 1.4.5
when I make the mpg123. it gives out the following error

[color=red][root@192 mpg123-0.59r]# make generic
make LDFLAGS= OBJECTS=‘decode.o dct64.o audio_dummy.o’
CFLAGS=’-O -DGENERIC -DNOXFERMEM’
mpg123-make
make[1]: Entering directory /usr/src/mpg123-0.59r' make[2]: Entering directory/usr/src/mpg123-0.59r’
cc -O -DGENERIC -DNOXFERMEM mpg123.o tabinit.o common.o layer1.o
layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o
decode_4to1.o getlopt.o httpget.o xfermem.o decode_ntom.o
wav.o readers.o getbits.o control_generic.o
decode.o dct64.o audio_dummy.o -o mpg123 -lm
mpg123.o: In function find_next_file': mpg123.c:(.text+0x7b1): undefined reference toterm_restore’
mpg123.o: In function init_output': mpg123.c:(.text+0xcba): undefined reference toxfermem_init’
mpg123.c:(.text+0xd4b): undefined reference to xfermem_init_reader' mpg123.c:(.text+0xd5b): undefined reference tobuffer_loop’
mpg123.c:(.text+0xd69): undefined reference to xfermem_init_writer' mpg123.c:(.text+0xd77): undefined reference toxfermem_done’
mpg123.c:(.text+0xe1a): undefined reference to term_restore' mpg123.c:(.text+0xe2a): undefined reference toxfermem_init_writer’
mpg123.o: In function play_frame': mpg123.c:(.text+0x129e): undefined reference toxfermem_get_freespace’
mpg123.c:(.text+0x12bb): undefined reference to xfermem_block' mpg123.c:(.text+0x1366): undefined reference toxfermem_putcmd’
mpg123.c:(.text+0x13aa): undefined reference to xfermem_get_usedspace' mpg123.c:(.text+0x13c8): undefined reference toxfermem_block’
mpg123.c:(.text+0x1599): undefined reference to term_restore' mpg123.o: In functionmain’:
mpg123.c:(.text+0x2303): undefined reference to xfermem_get_usedspace' mpg123.c:(.text+0x235d): undefined reference toterm_control’
mpg123.c:(.text+0x23b2): undefined reference to term_control' mpg123.c:(.text+0x23f9): undefined reference toxfermem_get_usedspace’
mpg123.c:(.text+0x24ca): undefined reference to term_init' mpg123.c:(.text+0x254a): undefined reference toterm_restore’
mpg123.c:(.text+0x255f): undefined reference to xfermem_get_usedspace' mpg123.c:(.text+0x2605): undefined reference toxfermem_init_reader’
mpg123.c:(.text+0x2631): undefined reference to xfermem_done' mpg123.o:(.data+0x568): undefined reference tohttpauth’
common.o: In function compute_buffer_offset': common.c:(.text+0x99a): undefined reference toxfermem_get_usedspace’
readers.o: In function stream_back_frame': readers.c:(.text+0x222): undefined reference toxfermem_get_usedspace’
control_generic.o: In function generic_sendstat': control_generic.c:(.text+0x14b): undefined reference toxfermem_get_usedspace’
control_generic.o: In function control_generic': control_generic.c:(.text+0xa15): undefined reference toxfermem_init_reader’
control_generic.c:(.text+0xa3f): undefined reference to xfermem_done' collect2: ld returned 1 exit status make[2]: *** [mpg123] Error 1 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: *** [generic] Error 2
[/color]
can any one have same experience.
Thanks!

Why are you installing mpg123? It is no longer required for MOH (and hasnt been since 1.2.8 or so).

oh that nice,
can you please let me know than what should be used instead of mpg123 in Asterisk 1.4.5
I like to have MOH.
Best Regards

Numan Khan

You need to install the asterisk add-ons.

The wiki is your friend!

http://www.voip-info.org/wiki/view/Asterisk+config+musiconhold.conf