Compilation failing - Mothur 1.13.0

Hi,

I’m attempting to compile Mothur on a 32bit Linux machine and and getting the following error:

g++ -O3 -DRELEASE_DATE="\"9/9/2010\"" -DVERSION="\"1.13.0\"" -DUSE_READLINE -I.   -c -o shannoneven.o shannoneven.cpp
shannoneven.cpp: In member function `virtual EstOutput 
   ShannonEven::getValues(SAbundVector*)':
shannoneven.cpp:25: error: call of overloaded `log(long int&)' is ambiguous
/usr/include/bits/mathcalls.h:110: error: candidates are: double log(double)
/usr/include/g++/cmath:419: error:                 long double std::log(long 
   double)
/usr/include/g++/cmath:411: error:                 float std::log(float)
make: *** [shannoneven.o] Error 1

Thanks for any help you can offer.

can you tell us what you get when you type…

g++ -v

…at the command line?

Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: …/configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)

could you update to the more recent v.4.4 and try again?