Re: IVF IA-32 error help



tf7823@xxxxxxx wrote:
Hi- When running the IVF 9.1 compilier I keep getting an error that
says "libifcore.lib(libifcoremain.obj) : error LNK2019: unresolved
external symbol MAIN_reference in function _main" I am not sure what is
calling this. My library and path are set correctly I believe in my
ifortvars.bat. What could be the problem?

You're actually getting this at the link step, but since "ifort" can
invoke the linker, the confusion is understandable.

Briefly, it is saying that you're trying to link an executable with no
main program in your sources. When compiling a series of sources, add
the /c switch to compile only (not link). See the Intel Visual Fortran
documentation on using the tools from the command line.

If you need more help with Intel Visual Fortran, please consider the
resources shown in my signature below.

Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
My Fortran blog
http://www.intel.com/software/drfortran

.