安装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 ...
随机推荐
- S3C2440时钟系统详解
在讲述系统时钟之前,因为这些设备都是挂靠在系统时钟上的,所以必须先说系统时钟,S3C2440的时钟系统如下 外部时钟源分两种,晶振或者外部频率,由om3-2选择,时钟电路根据两种选择也有两种 我们来分 ...
- php管理关系工具Composer 之安装与下载
参考网址:http://www.phpcomposer.com https://packagist.org 1.linux 安装Composer curl -sS https://getcompose ...
- 微信小程序问题2:未配置
app.json 中未配置当前页面 pages/swipertest/swipertest 请检查后重试.console.error(`PAGE DEFINE ERRORapp.json 中未配置,当 ...
- JS input file 转base64 JS图片预览
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- 使用ExecutorCompletionService 管理线程池处理任务的返回结果
在我们日常使用线程池的时候,经常会有需要获得线程处理结果的时候.此时我们通常有两种做法. 1. 使用并发容器将callable.call() 的返回Future存储起来.然后使用一个消费者线程去遍历这 ...
- UVa 10427 - Naughty Sleepy Boys
题目大意:从1开始往后写数字,构成一个如下的字符串 123456789101112... .求第n位的数字是多少. 找规律,按数字的位数可以构建一个类似杨辉三角的东西,求出第n位是哪个数的第几位即可. ...
- 大数据全栈式开发语言 – Python
前段时间,ThoughtWorks在深圳举办一次社区活动上,有一个演讲主题叫做“Fullstack JavaScript”,是关于用JavaScript进行前端.服务器端,甚至数据库(MongoDB) ...
- centos5.5關閉ssh保留運行的程序
SSH会话关闭时,ssh所关联的pty关闭,系统会给这个pty所关联的session中的所有进程发送SIGHUP信号, SIGHUP的默认信号处理程序是终止进程,除非进程自己处理了SIGHUP. 解决 ...
- hive CliDriver 源码分析
664行 CliDriver main启动 public static void main(String[] args) throws Exception { int ret = new CliDri ...
- PHPCMS 详情页静态化
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin',' ...