Output Listings and Error Handling
eld Manual—527255-009
6-19
Error Messages
Recovery.
Did you really intend to specify a special version of the zimpimp file? If you
did, check that you spelled it correctly, and that you do have permission to read it.
Cause.
You have asked
eld
to create a main program. However, you have not
specified the -e option, and no procedure within the program has the MAIN attribute.
So,
eld
doesn’t know what the main entry point of the program should be, and that’s
an error.
Effect.
Error (The linker cannot do what was requested of it and will eventually stop,
but may continue for the purpose of detecting additional errors before stopping).
Recovery.
If your program contains C or C++ code then a certain object file is
supposed to be included in the link, and if you ask the compiler to invoke
eld
for you
then the compiler will supply that file automatically. If you invoke
eld
yourself, you
need to specify the same object file that the compiler would. For these languages, you
should not specify the -e option. You also should not specify the -e option for Cobol. If
your program only contains pTAL code then you can either put the MAIN attribute on
the main entry point in your pTAL source code, or you can specify the name of that
procedure to
eld
with the -e option. I
Cause.
You used the -e option to tell
eld
the name of the procedure that is supposed
to be the main entry point for the program that you are building, but there is no symbol
of that name defined within the program.
Effect.
Fatal error (
eld
immediately stops without creating an output file).
Recovery.
If your program contains C, C++, or Cobol code, you shouldn’t be using the
-e option at all. If your program only contains pTAL code then you can use the -e
option to tell the name of the pTAL procedure that should be the main entry point. Did
you spell the name wrong? Note that the pTAL compiler converts all names to upper
case, so you need to specify it as upper case to
eld
, regardless of how you spelled it
in the pTAL source code. Also note that, if you misspell some other option beginning
with an “e”, then
eld
will interpret that as a “-e” option, possibly leading to this
message. There are several such options, as described elsewhere in this manual, and
you have to spell them exactly as shown in this manual, except for case. Note that
there is no option spelled “-elf” in
eld
, although there was in nld. If you say “-elf” to
eld
,
eld
will believe that you are saying that “lf” is the name of the main entry point.
So, don’t do that.
1129 No main entry point was specified when creating a
program.
1131 Name specified in the -e option not found: <symbol
name>.
Summary of Contents for eld
Page 4: ......
Page 8: ...Contents eld Manual 527255 009 iv ...
Page 12: ...What s New in This Manual eld Manual 527255 009 viii Changes to the 527255 005 Manual ...
Page 34: ...Introduction to eld eld Manual 527255 009 1 14 Example of Use ...
Page 54: ...eld Input and Output eld Manual 527255 009 2 20 Using Archives ...
Page 98: ...Other eld Processing eld Manual 527255 009 4 20 Merging Source RTDUs ...
Page 242: ...Output Listings and Error Handling eld Manual 527255 009 6 132 Glossary of Errors ...