Skip to main content

Wrong ELF class (elfclass) link errors

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Message comes from linker (ld) command near end of cob -x or cob -z

Resolution:

It is not possible to link 32 bit objects to 64 bit code and vice-versa.  Make sure all  dependent modules are compiled under the same COBMODE setting.  Make sure any compiled Cobol code is consistent with any object modules supplied by a third party.  

Old KB# 7167