I have Ubuntu 11.10, gfortran 4.6.1, Code::Blocks 10.05, GNU GCC Compiler.
I have also installed blas, cblas, and lapack.
I am trying to compile a c++ program that uses lapack.
I have added -lgfortran to "Other linker options."
I have also added several statements to Link Libraries such as:
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/libgfortran.a
I get a series of errors when I try to build the program such as:
ilaenv.f undefined reference to '_gfortran_compare_string'
This suggests that somehow gfortran is not working.
Please help.
Thank you,
Tom