Problem
The following error message appears when trying to compile binary objects [that is, object files (.o), archives (.a), or dynamic libraries (.so)] on OpenServer 5.0.4 or 5.0.5 with the UDK:
Error: UX: ld: Error: "objectfile"."o": fatal error: cannot link OpenServer object into Intel iABI target
Cause
This is caused by mixing and matching of C++ binary objects
[(that is, object files (.o), archives (.a), or dynamic libraries
(.so)] between OpenServer's C++ compiler (DevSys) and the UDK. This
is due to ANSI/ISO language standardization changes to improve the
application binary interfaces (ABI) and give the compiler new
language features. This not only applies to the SCO C++ compilers,
but all other C++ compilers. Solution
For existing OpenServer C++ code, there is a CC -Xo compatibility option that provides source compatibility. However, this also enables bug tolerance, ancient anachronisms, and other compiler defects. This is only intended as a transitional tool to convert existing code in stages to the modern dialect of C++ that will be accepted by the UDK C++ compiler.
For situations where the above compatibility option can't be used,
or a more permanent solution is required, use the C++ OpenServer
compiler found in the SCO OpenServer Development System product
instead of the UDK. The SCO OpenServer Development System can be
installed from the SCO OpenServer installation CD using the
scoadmin software manager. See also
"White Paper on UDK C++ Compatibility Issues" by Jonathan Schilling (July 7, 1997) - available from SCO's web site at:
http://www.sco.com