[Asterisk-video] Compilation of amr fails
Patrick
asterisk-list at puzzled.xs4all.nl
Fri May 16 10:30:22 CDT 2008
On Sat, 2008-03-01 at 01:37 +0100, Patrick wrote:
> Hi,
>
> I get an error compiling amr in Asterisk. I followed the instructions
> from: http://sip.fontventa.com/trac/asterisk/browser/amr/README
>
> When I do make in the asterisk/ dir I get:
> [CC] codec_amr.c -> codec_amr.o
> codec_amr.c: In function ‘lintoamr_frameout’:
> codec_amr.c:327: warning: unused variable ‘byte_count’
> make[2]: Nothing to be done for `dist-clean'.
> [LD] codec_amr.o amr/libamr.a -> codec_amr.so
> gcc: amr/libamr.a: No such file or directory
> make[1]: *** [codec_amr.so] Error 1
> make: *** [codecs] Error 2
>
> Anyone know what I am doing wrong?
For the archives, I figured out what the error was. In codecs/Makefile
change this section:
$(LIBAMR):
@$(MAKE) -C amr
to this:
$(LIBAMR):
@$(MAKE) -C amr all
This made the amr codec compile for me. This is with Asterisk
1.4.20-rc3.
Regards,
Patrick
More information about the asterisk-video
mailing list