| I'm trying to compile octave 202 on a redhat 4 linux box.
| I installed g77 & gcc 18.104.22.168 & the latest libraries from the CD.
| ./configure --enable-shared
| ran fine but make crashes with
| ld: cannot open -lieee: No such file or directory
| make: *** [octave] Error 1
| make: Leaving directory `/home/blair/ftp/octave-2.0.2/src'
| make: *** [src] Error 2
| make: Leaving directory `/home/blair/ftp/octave-2.0.2'
| make: *** [all] Error 2
| what & where should be libieee?
Here's the information from the README.Linux file about this problem:
The linker can't find -lieee
This can happen because your libraries don't match your version of
gcc. Some recent Linux distributions don't include a libieee.a file
because IEEE support is now the default and the library is no longer
needed, but the gcc specs file still adds -lieee to the linker command
if gcc is invoked with the -mieeefp flag. I believe that you should
be able to fix this by editing the gcc specs file. In it, you should
find something like this:
should keep gcc from adding -lieee to the link command. You can find
the location of the specs file by running the command gcc -v.
If you can't edit the gcc specs file for some reason, another solution
that should work is to create an empty libieee.a file in the Octave
src directory using the command:
ar cq libieee.a
NOTE: you should fix this problem (either by editing the specs file or
by creating the library) *before* running configure and compiling
Octave. Otherwise, configure may incorrectly determine that your
system doesn't have support for some IEEE math functions.