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

Unresolved external when using /Qipo option

jajr
Beginner
422 Views

I'm trying to optimise an application, but when I try to use interprocedural optimizations between files (/Qipo) I get an unresolved external on linking. The error reported is:

libifcoremt.lib(libifcoremain.obj) : error LNK2019: unresolved external symbol _MAIN__ referenced in function _main

Without the /Qipo option the project links and runs with no problem.

Can anyone help?

Thanks

Jim

0 Kudos
1 Reply
Steven_L_Intel1
Employee
422 Views
Please submit a test case to Intel Premier Support.
0 Kudos
Reply