bekeer 2021-07-01 09:37
浏览 310

centos 7.9安装freeswitch 1.10.5 编译spandsp时出错,请解

centos 7.9 最小安装 sofia-sip 编译安装正常 编译spandsp源码出错误如下: ./configure 正常 第一次执行make命令时:


[root@localhost spandsp]# make
gcc -o make_modem_filter ../src/make_modem_filter.c ../src/filter_tools.c -DHAVE_CONFIG_H -I../src -lm
./make_modem_filter -m V.17 -r >v17_v32bis_rx_rrc.h
/bin/sh: line 1: 27867 Segmentation fault      (core dumped) ./make_modem_filter -m V.17 -r > v17_v32bis_rx_rrc.h
make[2]: *** [v17_v32bis_rx_rrc.h] Error 139
make[2]: Leaving directory `/usr/local/src/sofia-sip/spandsp/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/sofia-sip/spandsp/src'
make: *** [all-recursive] Error 1

第二次执行make时:

[root@localhost spandsp]# make
Making all in src
make[1]: Entering directory `/usr/local/src/sofia-sip/spandsp/src'
make  all-am
make[2]: Entering directory `/usr/local/src/sofia-sip/spandsp/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I..  -DNDEBUG -msse2 -Wunused-but-set-variable -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1   -MT v17rx.lo -MD -MP -MF .deps/v17rx.Tpo -c -o v17rx.lo v17rx.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -msse2 -Wunused-but-set-variable -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1 -MT v17rx.lo -MD -MP -MF .deps/v17rx.Tpo -c v17rx.c  -fPIC -DPIC -o .libs/v17rx.o
v17rx.c: In function 'v17_rx_symbol_timing_correction':
v17rx.c:181:61: error: 'RX_PULSESHAPER_COEFF_SETS' undeclared (first use in this function)
     return (float) s->total_baud_timing_correction/((float) RX_PULSESHAPER_COEFF_SETS*10.0f/3.0f);
                                                             ^
v17rx.c:181:61: note: each undeclared identifier is reported only once for each function it appears in
v17rx.c: In function 'equalizer_restore':
v17rx.c:247:22: error: 'RX_PULSESHAPER_COEFF_SETS' undeclared (first use in this function)
     s->eq_put_step = RX_PULSESHAPER_COEFF_SETS*10/(3*2) - 1;
                      ^
v17rx.c: In function 'equalizer_reset':
v17rx.c:272:22: error: 'RX_PULSESHAPER_COEFF_SETS' undeclared (first use in this function)
     s->eq_put_step = RX_PULSESHAPER_COEFF_SETS*10/(3*2) - 1;
                      ^
v17rx.c: In function 'v17_rx':
v17rx.c:1312:27: error: 'RX_PULSESHAPER_COEFF_SETS' undeclared (first use in this function)
         s->eq_put_step -= RX_PULSESHAPER_COEFF_SETS;
                           ^
v17rx.c:1339:51: error: 'rx_pulseshaper_re' undeclared (first use in this function)
         v = vec_circular_dot_prodf(s->rrc_filter, rx_pulseshaper_re[step], V17_RX_FILTER_STEPS, s->rrc_filter_step);
                                                   ^
v17rx.c:1364:51: error: 'RX_PULSESHAPER_GAIN' undeclared (first use in this function)
                 s->agc_scaling = (FP_SCALE(2.17f)/RX_PULSESHAPER_GAIN)/root_power;
                                                   ^
v17rx.c:1379:55: error: 'rx_pulseshaper_im' undeclared (first use in this function)
             v = vec_circular_dot_prodf(s->rrc_filter, rx_pulseshaper_im[step], V17_RX_FILTER_STEPS, s->rrc_filter_step);
                                                       ^
v17rx.c: In function 'v17_rx_fillin':
v17rx.c:1421:27: error: 'RX_PULSESHAPER_COEFF_SETS' undeclared (first use in this function)
         s->eq_put_step -= RX_PULSESHAPER_COEFF_SETS;
                           ^
v17rx.c: In function 'v17_rx_restart':
v17rx.c:1554:43: error: 'RX_PULSESHAPER_GAIN' undeclared (first use in this function)
         s->agc_scaling = (FP_SCALE(2.17f)/RX_PULSESHAPER_GAIN)/735.0f;
                                           ^
v17rx.c: In function 'v17_rx_symbol_timing_correction':
v17rx.c:182:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [v17rx.lo] Error 1
make[2]: Leaving directory `/usr/local/src/sofia-sip/spandsp/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/sofia-sip/spandsp/src'
make: *** [all-recursive] Error 1

有人知道答案吗,帮忙拜托!

  • 写回答

0条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥70 基于模糊控制的统一混沌控制器代码
      • ¥15 有没有精通光束整形的能读懂
      • ¥15 关于#STM32#与AMG8833采用双插值算法进行热成像显示不正常的问题,如何解决?
      • ¥15 求解! 头歌操作系统 课堂练习6.1 块设备访问
      • ¥15 comsol低温等离子体射流气体摩尔分数作为初始摩尔浓度参数输入到介质管出口流注无法推进了
      • ¥15 有没有人解答51的这个问题,如何解决?(关键词-数码管)
      • ¥15 python 爬虫问题
      • ¥15 求运用模拟退火算法寻优,以下是参考我的参考代码
      • ¥15 VB6.0中OptionButton不能赋值TextBox100
      • ¥15 主窗体激活keydown事件,但是阻塞了主线程