help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building Octave on Solaris 2.9 with gcc-3.4.2 and f2c


From: John W. Eaton
Subject: Problems building Octave on Solaris 2.9 with gcc-3.4.2 and f2c
Date: Mon, 21 Aug 2006 14:43:15 -0400

On  2-Aug-2006, address@hidden wrote:

| Dear Octave Users
| 
| I am trying to build Octave-2.1.73 under Sun Solaris 9 using gcc-3.4.2 and 
| f2c (as we don't have a Fortran compiler installed).

If you can install gcc, then you can install g77.  I'd recommend that
over f2c.

| CmplxDET.cc: In member function `bool ComplexDET::value_will_overflow() 
| const':
| CmplxDET.cc:40: error: `log2' undeclared (first use this function)
| CmplxDET.cc:40: error: (Each undeclared identifier is reported only once 
| for each function it appears in.)
| CmplxDET.cc: In member function `bool ComplexDET::value_will_underflow() 
| const':
| CmplxDET.cc:48: error: `log2' undeclared (first use this function)
| CmplxDET.cc: In member function `void ComplexDET::initialize10()':
| CmplxDET.cc:57: error: `log2' undeclared (first use this function)
| CmplxDET.cc:58: error: `round' undeclared (first use this function)
| CmplxDET.cc: In member function `void ComplexDET::initialize2()':
| CmplxDET.cc:70: error: `round' undeclared (first use this function)
| CmplxDET.cc:72: error: `exp2' undeclared (first use this function)
| CmplxDET.cc: In member function `Complex ComplexDET::value() const':
| CmplxDET.cc:79: error: `exp2' undeclared (first use this function)
| make[2]: *** [pic/CmplxDET.o] Error 1
| 
| I cannot find where "log2" and "exp2" are defined/declared.

This problem should be fixed in CVS where there are now log2 and exp2
replacements for systems that don't have them.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]