- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use the IntelFortran v9.1.028, I got the following errors:
-out:d.exe
-subsystem:console
d.obj:
unresolved external symbol ___intel_new_proc_init referenced in function _MAIN_
unresolved external symbol _for_set_reentrancy referenced in function _MAIN_
unresolved external symbol_for_write_seq_lis referenced in function _MAIN_
unresolved external symbol_main referenced in function _mainCRTStarup
I used the Microsoft Visual Stdio V2002
thanks
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're probably setting some compiler or linker option that selects one
particular library. The program nees the library with the fancier
recursive/reentrant routines, and you're somehow telling the linker to
NOT use the library the compiler has requested, or you 're telling the
compiler to NOT emit it's suggestion as to which library tthe linker
should use.
Look thru all those little checkboxes under project settings, C, C++, Fortran (and all it's sub dialogs inthe pull-down menu!), AND all the options under the linker. AND look in the white box where you can add your own options, remove anything that says /NODEFAULTLIB or /LIB:xxxxx or similar.
Or start over with an empty project, then add source files to it.
Look thru all those little checkboxes under project settings, C, C++, Fortran (and all it's sub dialogs inthe pull-down menu!), AND all the options under the linker. AND look in the white box where you can add your own options, remove anything that says /NODEFAULTLIB or /LIB:xxxxx or similar.
Or start over with an empty project, then add source files to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another suggestion is to look at Tools..Options..Intel Fortran..Directories..Libraries. Make sure that "$(IFORTInstallDir)Lib" is first on the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks.
I made a mistake. I used the em64t compiler on a 32bit OS. When I used the IA32 compiler, everything is ok
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page