xiaoshijun的个人博客分享 http://blog.sciencenet.cn/u/xiaoshijun

博文

SOAPdenovo安装

已有 15920 次阅读 2013-9-12 14:22 |系统分类:科研笔记

SOAPdenovo下载源码安装,make后发现编译错误:


collect2: error: ld returned 1 exit status

make: *** [SOAPdenovo-63mer] Error 1

 

仔细查看编译输出,发现有如下几个错误提示:

multi_threads.cpp:93:14: error: ‘usleep’ was not declared in this scope

build_preArc.cpp:1071:39: error: ‘usleep’ was not declared in this scope

pregraph_sparse.cpp:171:42: error: ‘usleep’ was not declared in this scope

pregraph_sparse.cpp:504:2: error: ‘optind’ was not declared in this scope

pregraph_sparse.cpp:507:64: error: ‘getopt’ was not declared in this scope


于是找到这些源码,在头文件中加入:

#include “unistd.h“


问题解决!



https://blog.sciencenet.cn/blog-303373-724307.html

上一篇:160个俯卧撑,9秒12。感谢大家给我的记忆!
下一篇:从GeneScan安装到uuencode
收藏 IP: 210.34.155.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (1 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-18 03:53

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部