gospeljohn / g729

Automatically exported from code.google.com/p/g729
0 stars 0 forks source link

Error while loading module on asterisk #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile/install g729 (./autogen.sh -> ./configure -> make -> make install)
2. Copy libg729b.so.0.0.0 to asterisk module path renaming it to codec_g729b
3. Load module on asterisk-cli (module load codec_g729b)

What is the expected output? What do you see instead?
Expected: Load Module Success
Got:

raspbx*CLI> module load codec_g729b.so
Unable to load module codec_g729b.so
Command 'module load codec_g729b.so ' failed.
[2013-05-19 14:59:02] WARNING[11050]: loader.c:423 load_dynamic_module: Error 
loading module 'codec_g729b.so': /usr/lib/asterisk/modules/codec_g729b.so: 
undefined symbol: bad_lsf
[2013-05-19 14:59:02] WARNING[11050]: loader.c:902 load_resource: Module 
'codec_g729b.so' could not be loaded.

What version of the product are you using? On what operating system?
Using branch v8
OS: Debian weezy (Raspian) - Linux raspbx 3.6.11+ #408 PREEMPT Wed Apr 10 
20:33:39 BST 2013 armv6l GNU/Linux

Please provide any additional information below.

I'm running asterisk on raspberry pi.
Does it need to be compiled with custom parameters to work with my armv6l? 

Original issue reported on code.google.com by evilsk4...@gmail.com on 19 May 2013 at 6:10

GoogleCodeExporter commented 8 years ago
I don't think it will work with Asterisk, even if undefined symbol error is 
fixed. You will need an asterisk codec interface wrapper around this lib to 
make it identified and work with Asterisk.

Original comment by shaherya...@gmail.com on 1 Jul 2013 at 2:45