IBM Support

Undefined symbol: .__magic4 linking 4GL object files

Technote (troubleshooting)


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.

Document information

More support for: Informix Tools
Informix 4GL

Software version: 7.5

Operating system(s): AIX

Reference #: 1621885

Modified date: 04 May 2017

Translate this page: