bekeer 2021-07-01 09:37 采纳率: 0%
浏览 512

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

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

  • 写回答

1条回答 默认 最新

  • 志汉天涯 2023-06-21 17:23
    关注

    您得提供下源码下载地址呀,这错误应该是缺少依赖吧~望采纳!

    评论

报告相同问题?

悬赏问题

  • ¥15 shape_predictor_68_face_landmarks.dat
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制