[Asterisk-video] Problem compiling Mediamixer

Sergio Garcia sergio.garcia at fontventa.com
Tue Oct 2 09:53:59 CDT 2007



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.4 and
>the only library I found working is gsm-devel-1.0.10-3.i386.rpm.
>
>Could someone help me ?
>
>Thanks,
>Jeremi
>
>
>
>
 



More information about the asterisk-video mailing list