HP eld Manual page 129

Table of Contents

Advertisement

Output Listings and Error Handling
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.
1129 No main entry point was specified when creating a
program.
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
1131 Name specified in the -e option not found: <symbol
name>.
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.
eld Manual—527255-009
6-19
Error Messages

Advertisement

Table of Contents
loading

Table of Contents