[devel] freeswitch vs libcelt

Vladimir Lettiev thecrux на gmail.com
Пт Ноя 5 07:16:31 UTC 2010


Возникла проблема при пересборке freeswitch с новым perl:

/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c: In function 'switch_celt_init':
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c:57: error: 'CELT_GET_FRAME_SIZE' u
ndeclared (first use in this function)
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c:57: error: (Each undeclared identi
fier is reported only once
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c:57: error: for each function it appears in.)
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c: In function 'switch_celt_encode':
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c:115: warning: passing argument 3 of 'celt_encode' makes integer from pointer without a cast
/usr/include/celt/celt.h:252: note: expected 'int' but argument is of type 'void *'
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c: In function 'switch_celt_decode':
/usr/src/RPM/BUILD/freeswitch-1.0.6/src/mod/codecs/mod_celt/mod_celt.c:133: error: too few arguments to function 'celt_decode'
make[5]: *** [mod_celt.lo] Error 1

Ошибка вследствии того, что в libcelt 0.8.1 поменялся API, данный модуль
заточен на использование libcelt < 0.8.0

Как это можно исправить?

-- 
Vladimir Lettiev aka crux ✉ theCrux на gmail.com


Подробная информация о списке рассылки Devel