Undefined symbol: .__magic4 linking 4GL object files
Attempting to link a number of 4GL object files using cc encounters an undefined symbol.
The symptom of the problem is the following error message:
ld: 0711-317 ERROR: Undefined symbol: .__magic4
This can be caused by using an older version of the C compiler.
Diagnosing the problem
Check the Release Notes for the product, specifically the MACHINENOTES under $INFORMIXDIR/release/en_us/0333. These release notes typically indicate which version of the C compiler was used to build the product and which versions of the C compiler have been certified to work.
Resolving the problem
Upgrade to the appropriate C compiler version mentioned in the Release Notes.