eld Manual

Table Of Contents
Output Listings and Error Handling
eld Manual527255-009
6-31
Error Messages
Cause. You used the -set heap_max option, which is an attribute you can set when
you build a program, and you also used the -r option, to tell eld to build another
object file that can be used as linker input, rather than a program.
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 intention is to create a program or DLL, then don’t specify the -r
option. If your intention is to use the -r option to create another object file that can be
used as eld input, then don’t specify the -set heap_max option.
Cause. You used the -set mainstack_max option, which is an attribute you can set
when you build a program, and you also used the -r option, to tell eld to build another
object file that can be used as linker input, rather than a program.
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 intention is to create a program or DLL, then don’t specify the -r
option. If your intention is to use the -r option to create another object file that can be
used as eld input, then don’t specify the -set mainstack_max option.
Cause. You have specified the -import_lib and the -import_lib_stripped options. The -
import_lib option tells eld to make an import library for a DLL, at the same time eld is
building that DLL, and not to strip the DWARF symbols from the import library. The -
import_lib_stripped option also says to make an import library, but to strip the DWARF
symbols. eld will only make one import library, and considers the -import_lib and -
import_lib_stripped options to be inconsistent with each other.
Effect. Fatal error (eld immediately stops without creating an output file).
Recovery. Specify only one of -import_lib and -import_lib_stripped, depending on
what you want to do.
Cause. You used the -set space_guarantee option, which is an attribute you can set
when you build a program, and you also used the
-r option, to tell eld to build another
object file that can be used as linker input, rather than a program.
1191 The 'mainstack_max' attribute is not allowed with the -r
option.
1192 Both the -import_lib and -import_lib_stripped options
were specified.
1193 The 'space_guarantee' attribute is not allowed with the
-r option.