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

Undefined reference to 'MAIN_'

Deleted_U_Intel
Employee
368 Views
Hi,

Does any one know how to solve the following error message that appears after compiling several files?

/opt/intel_fc_80/lib/for_main.o(.text+0x1c): In fuction 'main':
Undefined reference to 'MAIN_'

Thanks,
0 Kudos
1 Reply
Steven_L_Intel1
Employee
368 Views
If the application's main program is in a language other than Fortran, build the Fortran code with the -noformain switch.
0 Kudos
Reply