安装Sphere v2.7 遇到的问题
今天在安装Sphere v2.7 的时候,提示错误:
/home/lgj/nist/lib/libsphereCombinedLibs.a(shorten.o): In function `shorten':
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:499: undefined reference to `log'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:554: undefined reference to `floor'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:558: undefined reference to `floor'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:559: undefined reference to `exp'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:560: undefined reference to `pow'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:561: undefined reference to `log'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:561: undefined reference to `floor'
/home/lgj/Documents/Speech/nist/src/lib/sp/shorten.c:876: undefined reference to `log'
/home/lgj/Documents/Speech/nist/lib/libsphereCombinedLibs.a(lpc.o): In function `wav2lpc':
/home/lgj/Documents/Speech/nist/src/lib/sp/lpc.c:59: undefined reference to `log'
/home/lgj/Documents/Speech/nist/src/lib/sp/lpc.c:93: undefined reference to `log'
/home/lgj/Documents/Speech/nist/lib/libsphereCombinedLibs.a(poly.o): In function `wav2poly':
/home/lgj/Documents/Speech/nist/src/lib/sp/poly.c:59: undefined reference to `log'
/home/lgj/Documents/Speech/nist/src/lib/sp/poly.c:62: undefined reference to `log'
网上搜索了一下,发现是gcc编译的时候少了-lm 的原因。在stackoverflow上找到了解决方法。
解决方法:
1. 打开 /nist/lib/makes/make_spg.txt 文件
2. 修改 LLIBS = -l$(COMBINEDLIB) -lm
安装Sphere v2.7 遇到的问题的更多相关文章
- Ubuntu 16.04 安装Kinect V2驱动
1.下载源代码 git clone https://github.com/OpenKinect/libfreenect2.git 2.依赖项安装 sudo apt-get install build- ...
- 安装ionice v2版本(官方帮助文档)
安装最新的 ionic 命令行工具 npm install -g ionic@latest 官方文档:http://ionicframework.com/docs/v2/getting-started ...
- 一定成功 k8s 安装helm v2.17 基本命令
一.下载helm安装脚本 1.1 介绍 Helm是Kubernetes的包管理器. 其实就是管理了一推配置文件,ds,configmap,deployment......,一类规则. 就类似: yum ...
- STLINK V2安装使用详解
1. 解压st-link_v2_usb driver.zip文件. 2. 运行解压后的st-link_v2_usbdriver.exe文件,安装STLINK V2驱动程序.安装路 ...
- Docker Compose + Traefik v2 快速安装, 自动申请SSL证书 http转https 初次尝试
前言 昨晚闲得无聊睡不着觉,拿起服务器尝试部署了一下Docker + Traefik v2.1.6 ,以下是一些配置的总结,初次接触,大佬勿喷. 我的系统环境是 Ubuntu 18.04.3 LTS ...
- NSIS使用教程(安装包制作安装文件教程,如何封装打包文件) 中文版
nsis中文版(Nullsoft Scriptable Install System)是一个专业的开源的可以用来封闭Windows程序的实用工具,是一个开源的 Windows 系统下安装程序制作程序. ...
- (转)Centos5.5安装MONO2.10.8和Jexus 5.0开启Linux平台.net应用新篇章
注:本文只做本人记录使用,也可供大家参考,有兴趣的可以一起讨论. 安装步骤 1.yum –y update 2.安装Mono源码安装需要的库 yum -y install gcc gcc-c++ bi ...
- Git版本管理的简介与安装[一]
标签(linux): git 笔者Q:972581034 交流群:605799367.有任何疑问可与笔者或加群交流 git简介 很多人都知道,Linus在1991年创建了开源的Linux,从此,Lin ...
- centos 编译安装net-snmp 5.6.2
1.准备环境 yum -y install make gcc gcc-c++ gcc-g77 openssl openssl-devel 常用lib安装可参照本文 2.编译和安装 首先我们需要下载Ne ...
随机推荐
- FZU 1061 矩阵连乘
用栈来算一算就可以了. #include<iostream> #include<algorithm> #include<cstdio> #include<cs ...
- SQL数据库修复/数据库置疑修复
SQL数据库修复的三大核心技术: 1.磁盘阵列分析重组技术: 2.数据库恢复与修复技术: 3.SCSI盘物理故障开盘技术. 至今已经成功恢复数百台服务器的SQL数据库,用户覆盖全国. 导致SQL数据库 ...
- 直播流怎么存储在Ceph对象存储上? Linux内存文件系统tmpfs(/dev/shm) 的应用
一./dev/shm理论 默认的Linux发行版中的内核配置都会开启tmpfs,映射到了/dev/下的shm目录.可以通过df 命令查看结果./dev/shm/是linux下一个非常有用的目录,因为这 ...
- Centos5.5系统备份
使用root用户切换到根目录 然后,使用下面的命令备份完整的系统: tar cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exc ...
- 2.12. 后端 SQL 的可见性(Core Data 应用程序实践指南)
上一节已经插入了数据,非常好.但是,我得更进一步.要知道里面究竟发生了什么,持久化存储区的数据有什么变化,生成了哪些查询语句.每次运行程序时,是否重复插入了对象. 有一个调试选项可以提供足够的信息,开 ...
- MySQL 安装 5.0
MySQL免安装版配置 1.下载 MySQL 免安装版 2.将 MySQL 解压到待安装目录,使用%MYSQL_HOME%表示 3.打开文件my-huge.ini另存为my.ini,在my.ini文件 ...
- Android事件处理概述
不管是桌面应用还是手机应用程序,面对最多的就是用户,经常需要处理的就是用户的动作——也就是需要为用户动作提供响应,这种为用户动作提供响应的机制就是事件处理. Android提供了强大的事件处理机制,包 ...
- 解析STL中典型的内存分配
1 vector 在C++中使用vector应该是非常频繁的,但是你是否知道vector在计算内存分配是如何么? 在c++中vector是非常类似数组,但是他比数组更加灵活,这就表现在他的大小是可以自 ...
- underscore 1.7.0 api
它是这个问题的答案:“如果我在一个空白的HTML页面前坐下, 并希望立即开始工作, 我需要什么?“ http://www.css88.com/doc/underscore/#
- spring mvc rest 方式
handler中编写方式: @RequestMapping("/{userName}/ajaxUser3.do") @ResponseBody public UserInfo aj ...