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