[Asterisk-video] error while compiling asterisk with AMR patch

Koen Van Impe koenvi at gmail.com
Mon Nov 5 09:22:03 CST 2007


Hi Valerio,

I had a similar problem trying to build 1.4.13 with the AMR patch on a
Fedora 6 box.
It appeared the code in codecs/amr doesn't build in the process of building
asterisk.
As I didn't know how to add this to the build process, I just built the amr
code separately, which produced the libamr.a that you are missing.

Just try in you codecs/amr folder:
make clean
make all

It might produce some errors as it did on my box, but the libarm.a will be
created.
And then you can try to build your asterisk again.

regards,

K


On Nov 5, 2007 3:03 PM, Valerio Puglia <valerio at oscorp.sm> wrote:

> I get this error when i try to compile asterisk with amr patch.
>
> I use centos 4.4
> and asterisk svn 88490
>
> Here is the error message:
>
> [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
>
>
> Thank you.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-video
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20071105/859ef527/attachment.htm 


More information about the asterisk-video mailing list