请问linux中关于make过程中的错误

hhholmes 2018-01-29 11:02:24
我刚因为实习开始接触linux,用的centos6.5,想要安装freeswitch,用的官网的方法,链接如下https://freeswitch.org/confluence/display/FREESWITCH/CentOS+6 。途中提示gcc版本不够高,又更新到了gcc4.8.5,编译如下没有报错,
FreeSWITCH configuration --------------------------

Locations:

prefix: /usr/local/freeswitch
exec_prefix: /usr/local/freeswitch
bindir: ${exec_prefix}/bin
confdir: /usr/local/freeswitch/conf
libdir: ${exec_prefix}/lib
datadir: /usr/local/freeswitch
localstatedir: /usr/local/freeswitch
includedir: /usr/local/freeswitch/include/freeswitch

certsdir: /usr/local/freeswitch/certs
dbdir: /usr/local/freeswitch/db
grammardir: /usr/local/freeswitch/grammar
htdocsdir: /usr/local/freeswitch/htdocs
fontsdir: /usr/local/freeswitch/fonts
logfiledir: /usr/local/freeswitch/log
modulesdir: /usr/local/freeswitch/mod
pkgconfigdir: ${exec_prefix}/lib/pkgconfig
recordingsdir: /usr/local/freeswitch/recordings
imagesdir: /usr/local/freeswitch/images
runtimedir: /usr/local/freeswitch/run
scriptdir: /usr/local/freeswitch/scripts
soundsdir: /usr/local/freeswitch/sounds
storagedir: /usr/local/freeswitch/storage
cachedir: /usr/local/freeswitch/cache
make过程中报错如下,好像是在检索文件的途中报错
[CC] vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c.o
/tmp/cc4ruFxm.s: Assembler messages:
/tmp/cc4ruFxm.s:225: Error: no such instruction: `vinserti128 $1,%xmm2,%ymm2,%ymm2'
/tmp/cc4ruFxm.s:232: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:238: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:244: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:250: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:286: Error: no such instruction: `vinserti128 $0x1,%xmm5,%ymm4,%ymm4'
/tmp/cc4ruFxm.s:293: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:299: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:305: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:310: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:317: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:323: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:330: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:337: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:343: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:357: Error: suffix or operands invalid for `vpminsw'
/tmp/cc4ruFxm.s:364: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:371: Error: suffix or operands invalid for `vpmaxsw'
/tmp/cc4ruFxm.s:378: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:391: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:397: Error: suffix or operands invalid for `vpsraw'
/tmp/cc4ruFxm.s:405: Error: no such instruction: `vinserti128 $0x1,%xmm15,%ymm4,%ymm4'
/tmp/cc4ruFxm.s:412: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:418: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:425: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:431: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:438: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:445: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:451: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:458: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:464: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:471: Error: suffix or operands invalid for `vpminsw'
/tmp/cc4ruFxm.s:478: Error: suffix or operands invalid for `vpmaxsw'
/tmp/cc4ruFxm.s:485: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:491: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:497: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:504: Error: suffix or operands invalid for `vpsraw'
/tmp/cc4ruFxm.s:511: Error: suffix or operands invalid for `vpackuswb'
/tmp/cc4ruFxm.s:525: Error: no such instruction: `vextracti128 $0x1,%ymm4,%xmm4'
/tmp/cc4ruFxm.s:1138: Error: no such instruction: `vinserti128 $1,%xmm4,%ymm4,%ymm4'
/tmp/cc4ruFxm.s:1152: Error: no such instruction: `vinserti128 $0x1,%xmm1,%ymm8,%ymm12'
/tmp/cc4ruFxm.s:1167: Error: no such instruction: `vinserti128 $0x1,%xmm15,%ymm1,%ymm1'
/tmp/cc4ruFxm.s:1179: Error: no such instruction: `vinserti128 $0x1,%xmm7,%ymm15,%ymm15'
/tmp/cc4ruFxm.s:1185: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:1204: Error: no such instruction: `vinserti128 $0x1,%xmm6,%ymm7,%ymm6'
/tmp/cc4ruFxm.s:1209: Error: no such instruction: `vinserti128 $0x1,%xmm0,%ymm11,%ymm11'
/tmp/cc4ruFxm.s:1214: Error: no such instruction: `vinserti128 $0x1,%xmm8,%ymm0,%ymm0'
/tmp/cc4ruFxm.s:1220: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:1226: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:1233: Error: suffix or operands invalid for `vpunpcklbw'
/tmp/cc4ruFxm.s:1239: Error: suffix or operands invalid for `vpunpckhbw'
/tmp/cc4ruFxm.s:1245: Error: suffix or operands invalid for `vpunpcklbw'
/tmp/cc4ruFxm.s:1251: Error: suffix or operands invalid for `vpunpckhbw'
/tmp/cc4ruFxm.s:1263: Error: suffix or operands invalid for `vpunpcklbw'
/tmp/cc4ruFxm.s:1274: Error: suffix or operands invalid for `vpunpckhbw'
/tmp/cc4ruFxm.s:1286: Error: suffix or operands invalid for `vpshufb'
/tmp/cc4ruFxm.s:1356: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1362: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1367: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1383: Error: no such instruction: `vinserti128 $0x1,%xmm0,%ymm13,%ymm11'
/tmp/cc4ruFxm.s:1399: Error: no such instruction: `vinserti128 $0x1,%xmm1,%ymm0,%ymm1'
/tmp/cc4ruFxm.s:1406: Error: suffix or operands invalid for `vpunpcklbw'
/tmp/cc4ruFxm.s:1413: Error: suffix or operands invalid for `vpunpckhbw'
/tmp/cc4ruFxm.s:1420: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1427: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1433: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1439: Error: suffix or operands invalid for `vpminsw'
/tmp/cc4ruFxm.s:1445: Error: suffix or operands invalid for `vpmaxsw'
/tmp/cc4ruFxm.s:1451: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1457: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1463: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1468: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1473: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1479: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1484: Error: suffix or operands invalid for `vpmaddubsw'
/tmp/cc4ruFxm.s:1490: Error: suffix or operands invalid for `vpsraw'
/tmp/cc4ruFxm.s:1496: Error: suffix or operands invalid for `vpminsw'
/tmp/cc4ruFxm.s:1502: Error: suffix or operands invalid for `vpmaxsw'
/tmp/cc4ruFxm.s:1508: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1513: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1518: Error: suffix or operands invalid for `vpaddsw'
/tmp/cc4ruFxm.s:1524: Error: suffix or operands invalid for `vpsraw'
/tmp/cc4ruFxm.s:1530: Error: suffix or operands invalid for `vpackuswb'
/tmp/cc4ruFxm.s:1556: Error: no such instruction: `vextracti128 $0x1,%ymm12,%xmm12'
make[2]: *** [vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c.o] Error 1
make[1]: *** [.DEFAULT] Error 2
make[1]: Leaving directory `/usr/src/freeswitch/libs/libvpx'
make: *** [libs/libvpx/libvpx.a] Error 2
是libvpx版本不对吗,也试过不编译avx2,应该怎么解决,现在只会一点皮毛,网上找了好久也没有,希望大佬们能帮帮我
...全文
1003 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
weiweihu712 2018-01-31
  • 打赏
  • 举报
回复 1
不用编译这么麻烦,直接yum安装。 rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-0.noarch.rpm yum install freeswitch-config-vanilla yum install sox freeswitch-sounds* 请参考这里 https://freeswitch.org/confluence/display/FREESWITCH/Installation

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧