I am writing because I am encountering the following problem when compiling bcg729:
Making all in msbcg729
make[2]: Entering directory `/home/linaro/bcg729/msbcg729'
CC libmsbcg729_la-bcg729_dec.lo
bcg729_dec.c: In function 'filter_process':
bcg729_dec.c:53:4: error: implicit declaration of function 'mblk_meta_copy' [-Werror=implicit-function-declaration]
bcg729_dec.c:67:3: error: implicit declaration of function 'mblk_set_plc_flag' [-Werror=implicit-function-declaration]
bcg729_dec.c: At top level:
bcg729_dec.c:92:5: error: 'MS_DECODER_HAVE_PLC' undeclared here (not in a function)
cc1: all warnings being treated as errors
make[2]: *** [libmsbcg729_la-bcg729_dec.lo] Error 1
configure finishes without errors, and make do not complain until this point. I am using a version of bcg7219 obtained via "git clone git://
git.linphone.org/bcg729.git"
To be able to run configure I have modified CFLAGS in
configure.ac for matching my architecture:
CFLAGS="$CFLAGS -Werror -O3 -funroll-loops -marm -march=armv7-a -mtune=cortex-a7"
Additionally I have updated the version of ortp and mediastreamer in ortp.pc and mediastreamer.pc to match the one of those used (I have downloaded them from the Ubuntu Repositories and they are both version 3.5.2-10.
Thank you very much in advance,
carlos
--
Carlos Rey-Moreno
Research Assistant
Office 1.28
Department of Computer Science
University of the Western Cape
Private Bag X17 - Bellville, 7535
Cape Town - South Africa
Tel: +27 (0) 21 959 2562 Cel: +27 (0) 76 986 3633
Skype: carlos.reymoreno Twitter: Creym