Thank you for this bug report. We fixed it. Until we post the new version you can just take out zgeev.cpp from the Makefile to compile the rest of the library, or fix it (the problem is compiler dependent, the way certain functions are declared).

Xunlei,zgeec.cpp is the LAPACK's zgeev with certain parts replaced by their MAGMA equivalents. Your compiler gives errors on the way some of the dependencies are declared and this has to be fixed. Removing zgeev.cpp from the Makefile will result in zgeev not being included in the library. There are no other files (except the testing_zgeev) that depend on it. We will post in a day or two our fix (I am not posting it now because our changes are in several files and we are still testing it).Stan

I had the similar errors xunlei mentioned, and was able to fix them and get magma rc3 compiled with mkl and intel compilers. Basically, the function references could be fixed by hand, and also I turned off the least fortran example in testing.

In case it could be useful, attaching diffs and make.inc (sorry, forum won't let me to attach files).