# compile error 1.26.0 shhh mpi version

**URL:** <https://forum.mothur.org/t/compile-error-1-26-0-shhh-mpi-version/972>\
**Category:** mothur bugs\
**Created:** [July 12, 2012, 3:04pm UTC](https://forum.mothur.org/t/compile-error-1-26-0-shhh-mpi-version/972 "2012-07-12T15:04:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![forster](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@forster](https://forum.mothur.org/u/forster)\
**Post date:** [July 12, 2012, 3:04pm UTC](https://forum.mothur.org/t/compile-error-1-26-0-shhh-mpi-version/972/1 "2012-07-12T15:04:12Z")

</div>

I ran across this error when trying to compile with openmpi 1.4.3 and gcc 4.6.0

  
shhhercommand.cpp: In member function 'std::string ShhherCommand::createNamesFile()': shhhercommand.cpp:805:113: error: expected ')' before ';' token shhhercommand.cpp: In member function 'int ShhherCommand::driver(std::vector\<std::basic\_string \>, std::string, std::string, int, int)': shhhercommand.cpp:2318:70: warning: name lookup of 'i' changed [enabled by default] shhhercommand.cpp:2149:17: warning: matches this 'i' under ISO standard rules [enabled by default] shhhercommand.cpp:2312:25: warning: matches this 'i' under old rules [enabled by default] make: \*\*\* [shhhercommand.o] Error 1

Bob

---

<div class="post-metadata">

**Author:** ![abissett](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@abissett](https://forum.mothur.org/u/abissett)\
**Post date:** [July 13, 2012, 1:24am UTC](https://forum.mothur.org/t/compile-error-1-26-0-shhh-mpi-version/972/2 "2012-07-13T01:24:18Z")

</div>

we get the same error:

shhhercommand.cpp(805): error: expected a “)”  
string nameFileName = outputDir + m-\>getRootName(m-\>getSimpleName(flowFileName) + getOutputFileNameTag(“name”);  
^

shhhercommand.cpp(2318): warning #823: reference is to variable “i” (declared at line 2149) – under old for-init scoping rules it would have been variable “i” (declared at line 2312)  
if ((large) && (g == 0)) { flowFileName = filenames\_; theseFlowFileNames[0] = filenames\_; }  
^

shhhercommand.cpp(2318): warning #823: reference is to variable “i” (declared at line 2149) – under old for-init scoping rules it would have been variable “i” (declared at line 2312)  
if ((large) && (g == 0)) { flowFileName = filenames\_; theseFlowFileNames[0] = filenames\_; }  
^

compilation aborted for shhhercommand.cpp (code 2)  
make: \*\*\* [shhhercommand.o] Error 2\_\_\_\_

---

<div class="post-metadata">

**Author:** ![abissett](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@abissett](https://forum.mothur.org/u/abissett)\
**Post date:** [July 13, 2012, 1:38am UTC](https://forum.mothur.org/t/compile-error-1-26-0-shhh-mpi-version/972/3 "2012-07-13T01:38:57Z")

</div>

sorry, forgot to mention we used intel compilers, so the error looks a little different…

---

<div class="post-metadata">

**Author:** ![westcott](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/westcott/32/18_2.png) [@westcott](https://forum.mothur.org/u/westcott)\
**Post date:** [July 13, 2012, 1:10pm UTC](https://forum.mothur.org/t/compile-error-1-26-0-shhh-mpi-version/972/4 "2012-07-13T13:10:03Z")

</div>

Thanks for reporting this. The new source is up.
