Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

builtin_powil is undefined

trwerner
Beginner
850 Views
Since upgrading to Fedora Core 4, gcc 4.0.2
and Intel Fortran 9.0 I am not able to compile
anything: I keep getting something like:
"/usr/include/c++/4.0.2/cmath(364): error: identifier
"__builtin_powil" is undefined..."
and similar messages for other flavors of pow.
Is there anything I could do?
Cheers
Tomek
0 Kudos
3 Replies
TimP
Honored Contributor III
850 Views
Early versions of ifort and icc 9.0 aren't compatible with gcc-4.x, and should throw a failure message about the incompatibility. Other than that, I don't see how this could be a Fortran problem. Such a problem is more likely to occur when you compile C++ code with icpc, using g++ 4.x headers.
0 Kudos
trwerner
Beginner
850 Views
Thanks for the reply. Of course I messed something up - my original message *was* about C++, not Fortran. Anyway, I installed icc today (most recent version) and the problem persists... Cheers, Tomek
0 Kudos
trwerner
Beginner
850 Views
I added the option '-cxxlib-icc' and it works now. Sorry for putting all this at the Fortran forum (instead of C++ one). Tomek
0 Kudos
Reply