linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] msilbc build error


From: Stephen Stocker
Subject: Re: [Linphone-users] msilbc build error
Date: Tue, 25 Mar 2008 04:35:52 -0500 (CDT)

  Hi Clement,

Thanks for the help. The msilbc plugin did compile after removing that line, but gave me another error when I started linphonec:

---
ortp-message-oRTP-0.14.2 initialized.
ortp-message-Registering all filters...
ortp-message-Registering all soundcard handlers
ortp-message-Card ALSA: default device added
ortp-message-Card ALSA: Intel 82801BA-ICH2 added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Card OSS: /dev/dsp0 added
ortp-message-Card OSS: /dev/dsp1 added
ortp-message-Card OSS: /dev/dsp2 added
ortp-message-Card OSS: /dev/dsp3 added
ortp-message-Loading plugins
ortp-message-Loading plugin /usr/local/lib/mediastreamer/plugins/libmsilbc.so...
ortp-warning-Fail to load plugin 
/usr/local/lib/mediastreamer/plugins/libmsilbc.so : 
/usr/local/lib/mediastreamer/plugins/libmsilbc.so: undefined symbol: iLBC_encode
ortp-message-ms_init() done
---

Regarding the GUI, I never did try to compile it. Hopefully someone on the list knows, but all I was aiming for was the console client. Again, thanks for your kind help, and maybe there's someone on the list who can help us both. :)

        Steve


On Tue, 25 Mar 2008, Clement Chen wrote:

Hi, Stephen
   Please edit msilbc.c to remove the line with "MS_FILTER_SET_FMTP"
before compilation. I think it's a redudant line for Linphone-2.1.1
   BTW, could you compile GUI successfully? I tried to compile
Linphone-2.1.1
on CentOS 5.1, but I found that GTK GUI was never compiled and installed
without warnings or errors...

regards,

Clement.

On 3/25/08, Stephen Stocker <address@hidden> wrote:

  Hi,

  I'm fairly new to Linphone, and still working on getting it configured
to
work well for audio on a slow dial-up connection. But I'm having problems
trying to compile the msilbc plugin. Running Slackware 10 (mostly), gcc
3.3.4, i'm getting the following error:

make -f /home/lpar/linphone-2.1.1//mediastreamer2/plugins/plugins.mk
LINPHONE_BUILD=/home/lpar/linphone-2.1.1/\
                PLUGIN_NAME=msilbc \
                PLUGIN_OBJS=ilbc.o
make[1]: Entering directory `/home/lpar/msilbc-2.0.0'
gcc -g -O2 -pthread `PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" pkg-config
--cflags mediastreamer`  -fPIC -o ilbc.o -c ilbc.c
ilbc.c:128: error: `MS_FILTER_SET_FMTP' undeclared here (not in a
function)
ilbc.c:128: error: initializer element is not constant
ilbc.c:128: error: (near initialization for `enc_methods[0].id')
ilbc.c:128: error: initializer element is not constant
ilbc.c:128: error: (near initialization for `enc_methods[0]')
ilbc.c:129: error: initializer element is not constant
ilbc.c:129: error: (near initialization for `enc_methods[1]')
ilbc.c:130: error: initializer element is not constant
ilbc.c:130: error: (near initialization for `enc_methods[2]')
ilbc.c:131: error: initializer element is not constant
ilbc.c:131: error: (near initialization for `enc_methods[3]')
make[1]: *** [ilbc.o] Error 1
make[1]: Leaving directory `/home/lpar/msilbc-2.0.0'
make: *** [all] Error 2

  Linphone 2.1.1 compiles and runs fine. Thanks for any help anyone can
offer. :)

       Steve




reply via email to

[Prev in Thread] Current Thread [Next in Thread]