Output Listings and Error Handling
eld Manual—527255-009
6-81
Error Messages
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).
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.
Cause.
You specified the
-t
and/or
-d
options, along with the
-alf
option, to tell
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.
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).
1521 The main entry point(<symbol name>)is not in a code
section.
1522 For entry <number> in <relocation table name>, the
updated value <number> no longer fits into 32 bits.
1523 The <option name> option is not allowed with the -alf
option.
Содержание eld
Страница 4: ......
Страница 8: ...Contents eld Manual 527255 009 iv ...
Страница 12: ...What s New in This Manual eld Manual 527255 009 viii Changes to the 527255 005 Manual ...
Страница 34: ...Introduction to eld eld Manual 527255 009 1 14 Example of Use ...
Страница 54: ...eld Input and Output eld Manual 527255 009 2 20 Using Archives ...
Страница 98: ...Other eld Processing eld Manual 527255 009 4 20 Merging Source RTDUs ...
Страница 242: ...Output Listings and Error Handling eld Manual 527255 009 6 132 Glossary of Errors ...