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

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
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥20 C#调用虚拟键盘TabTip.exe
  • ¥15 Qt4代码实现下面的界面
  • ¥15 CCS离散化传递函数与仿真不一致
  • ¥15 prism提示我reinstall prism 如何解决
  • ¥15 asp.core 权限控制怎么做,需要控制到每个方法
  • ¥20 while循环中OLED显示中断中的数据不正确
  • ¥15 这个视频里的stm32f4代码是怎么写的
  • ¥15 JNA调用DLL报堆栈溢出错误(0xC00000FD)
  • ¥15 请教SGeMs软件的使用
  • ¥15 自己用vb.net编写了一个dll文件,如何只给授权的用户使用这个dll文件进行打包编译,未授权用户不能进行打包编译操作?