HP eld Manual page 191

Table of Contents

Advertisement

Output Listings and Error Handling
for your "main" procedure in C to have the CALLABLE attribute, and that is a perfectly
normal way to make your program run in privileged mode (although certain initialization
activities will have taken place before it became privileged).
1521 The main entry point(<symbol name>)is not in a code
section.
Cause. You used the -e option to specify the main entry point for the program you are
building, and the parameter to the -e option is supposed to be the name of a
procedure. However, the name that you specified is instead the name of a data item
(at least, it does not exist in a section that has the right name for a code section).
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 yoyu 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? You must specify the name of a procedure, not a data
item.
1522 For entry <number> in <relocation table name>, the
updated value <number> no longer fits into 32 bits.
Cause. You specified the -t and/or
eld to move a DLL to different addresses, and you specified addresses that woudn't fit
into 32 bits. Or, you are using the -alf option to repeat the fixups on a program or
DLL, and you are pointing at some other DLL that uses addresses that don't fit into 32
bits. In either case, the program or DLL that you are fixing up contains 32-bit pointers,
that it is using to point at symbols, either in the same DLL or in another DLL, whose
addresses can't be represented in 32 bits. So, that's impossible to do.
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 you really want to move this DLL to a range of addresses that don't fit
into 32 bits, or make references to some other DLL that has a range of addresses that
don't fit into 32 bits, then you need to change your source code so that it doesn't try to
use 32-bit pointers in those cases.
1523 The <option name> option is not allowed with the -alf
option.
Cause. You gave the -alf option. Along with an -alf option, only certain other
options are allowed. However, you gave the option mentioned in the message, which
is not one of the options allowed with the -alf option.
Effect. Fatal error (eld immediately stops without creating an output file).
options, along with the -alf option, to tell
-d
eld Manual—527255-009
6-81
Error Messages

Advertisement

Table of Contents
loading

Table of Contents