- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
program test
end
It says "LINK error 1561"
No entry point defined.
Why would a main program have an entry point ?
what a god-awful mess - - -
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You probably did not save the two lines to a Fortran source file or add the file to the current project. Such questions as you ask can usually be answered only if you provide sufficient information -- for example, a build-log, a transcript of the steps or commands used, etc. In short, we have no idea of what you did until you tell us.
"Entry point" is the linker's term for what is often called Start Address, i.e., the place in the entire EXE where execution starts. From the linker's point of view, subroutine, common blocks, module procedures, functions are all "symbols". "No entry point" usually implies that you are trying to build an EXE from one or more source files that contain subroutines and functions, with none of them containing a main program. "Entry point" should not be confused with Fortran's ENTRY (which should probably not be used in new code).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you actually compile this? Or did you try to link a source file? Show us the command you used. I agree with mecej4 that you rarely provide enough detail to help you.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page