tba123 / rna-star

Automatically exported from code.google.com/p/rna-star
0 stars 0 forks source link

Genome.cpp:157:21: error: 'sleep' was not declared in this scope #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run Make on ubuntu
2.
3.

What is the expected output? What do you see instead?
Compilation

What version of the product are you using? On what operating system?
STAR_2.3.0e.tgz

Please provide any additional information below.

Original issue reported on code.google.com by y.hoogst...@gmail.com on 25 Sep 2013 at 9:25

GoogleCodeExporter commented 9 years ago
Oops, I can't reedit my post. The error message I received is the following:

g++ -c -O3 -Wall -Wextra -fopenmp -D'SVN_VERSION_COMPILED="STAR_2.3.0e_r291"' 
-D'COMPILATION_TIME_PLACE="Wed Sep 25 11:24:00 CEST 2013 
:/usr/remote/src/STAR_2.3.0e"'   Genome.cpp
Genome.cpp: In member function 'void Genome::genomeLoad(Parameters*)':
Genome.cpp:157:21: error: 'sleep' was not declared in this scope
make: *** [Genome.o] Error 1

Original comment by y.hoogst...@gmail.com on 25 Sep 2013 at 9:26

GoogleCodeExporter commented 9 years ago
I found a fix for Genome.h, add the following at line 6:

#include <unistd.h>

Or as a .diff:

6a7
> #include <unistd.h>

Original comment by y.hoogst...@gmail.com on 25 Sep 2013 at 9:29

GoogleCodeExporter commented 9 years ago
Please try the latest patch: 
ftp://ftp2.cshl.edu/gingeraslab/tracks/STARrelease/Alpha/STAR_2.3.1q.tgz
I believe this problem has been fixed.
Thanks!

Original comment by adobin@gmail.com on 26 Sep 2013 at 5:58

GoogleCodeExporter commented 9 years ago
When will the next release be made? I found this problem in the current release.

Original comment by nilsho...@gmail.com on 2 Aug 2014 at 5:49