[Asterisk-video] Problem compiling Mediamixer

jeremij jerome jeremij at gmail.com
Tue Oct 2 10:36:08 CDT 2007


We fixed the issue compiling ffmpeg with --enable-libgsm.

Now we have another one. We compiled app_mixer and we have launche ./mcu.
But when we start Asterisk, we got:

...
[5084]>CreateConference [Default Room]
[5084]>MakeCall  [CreateConference]
Segmentation fault
...

Launching ./test we got:

[5340]>CreateConference [Sergio]
[5340]>MakeCall  [CreateConference]
Segmentation fault


Any clue?

Thanks.





On 10/2/07, Sergio Garcia <sergio.garcia at fontventa.com> wrote:
>
>
>
> Can you check that libgsm.so is present in your system? I found that in
> some cases only
> libgsm.a is distributed in the devel package..
>
> ---------- Original Message ----------------------------------
> From: "jeremij jerome" <jeremij at gmail.com>
> Reply-To: Development discussion of video media support in Asterisk<
> asterisk-video at lists.digium.com>
> Date:  Tue, 2 Oct 2007 16:46:09 +0200
>
> >Hi all,
> >
> >I'm trying to compile Mediamixer (downloaded from
> http://sip.fontventa.com/)
> >but I'm stuck with gsm libraries. This is what I get when I launch
> 'make':
> >
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x51): In
> >function `GSMCodec::GSMCodec()':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:13: undefined
> reference
> >to `gsm_create'
>
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x6b):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:16:
> >undefined reference to `gsm_option'
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0xed): In
> >function `GSMCodec::GSMCodec()':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:13: undefined
> reference
> >to `gsm_create'
>
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x107):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:16:
> >undefined reference to `gsm_option'
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x152): In
> >function `GSMCodec::~GSMCodec()':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:21: undefined
> reference
> >to `gsm_destroy'
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x1c4): In
> >function `GSMCodec::~GSMCodec()':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:21: undefined
> reference
> >to `gsm_destroy'
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x236): In
> >function `GSMCodec::~GSMCodec()':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:21: undefined
> reference
> >to `gsm_destroy'
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x2c5): In
> >function `GSMCodec::Encode(unsigned short*, int, unsigned char*, int)':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:31: undefined
> reference
> >to `gsm_encode'
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x30b): In
> >function `GSMCodec::Decode(unsigned char*, int, unsigned short*, int)':
> >/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:46: undefined
> reference
> >to `gsm_decode'
>
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x34f):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:54:
> >undefined reference to `gsm_option'
>
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x378):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:60:
> >undefined reference to `gsm_decode'
>
> >/usr/src/mediamixer/mcu/media/build/debug/gsmcodec.o(.text+0x3a6):/usr/src/mediamixer/mcu/media/src/gsm/gsmcodec.cpp:64:
> >undefined reference to `gsm_decode'
> >collect2: ld returned 1 exit status
> >make: *** [mcu] Error 1
> >
> >I guess that is something related to gsm libraries. I'm using CentOS 4.4and
> >the only library I found working is gsm-devel-1.0.10-3.i386.rpm.
> >
> >Could someone help me ?
> >
> >Thanks,
> >Jeremi
> >
> >
> >
> >
>
>
> _______________________________________________
> --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/20071002/ec344ca9/attachment.htm 


More information about the asterisk-video mailing list