- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have written a short Fortran 90 program that invokes a function in the main program (see attached file). The funciton statement is written outside (below) the main program. The program will complile without errors build will not build due to linker errors(unresolved externals). I assume the linker errors refer to the function statement. What am I doing wrong?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No link error here, and it runs, with IFL 7.1 command prompt window.
Stylistically, a function with side effects, particularly the obsolete PAUSE, is out of line, and some compilers might reject it.
Did you set the environment properly, so that the linker finds the libraries you should have installed with the compiler?
Stylistically, a function with side effects, particularly the obsolete PAUSE, is out of line, and some compilers might reject it.
Did you set the environment properly, so that the linker finds the libraries you should have installed with the compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My "build" configuration was directing to wrong run-time library--should have been "Quick-Win." Thanks for your help.

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