[Migrated content. Thread originally posted on 05 December 2011]
I have a Remote Project "Program4" in VisualCobol Eclipse that only display a message. I’ve built it and I’ve generated the “Callable Shared Object” "Program4.so".I have another Remote Project "Program1" that calls Program4. I’ve built it and I’ve generated the executable "Program1".
Finally I’ve executed “Program 1” from the remote machine and it works correctly.
The first problem I’ve found is that if I try to execute “Program4.so”, from the remote machine, directly with cobrun command, I receive the next error
Load error : file ' Program4.so '
error code: 253, pc=0, call=1, seg=0
253 Cannot load file - unsupported formatBut, if I rebuild “Program4.so” from the remote machine with the cob command:
cob –z Program4.cbl –Uthen “cobrun Program4.so” works correctly.
Finally, If I execute “Program1” again, with the new “Program4.so”, I receive the error:
Load error : file 'Program4.so'
error code: 198, pc=0, call=1, seg=0
198 Load failure It seems that exists some kind of incompatibility between the Eclipse environment and the command line utilities.. Is it possible? There is some kind of configuration to avoid this problem?
Thank you