I have a fortran program that needs to call an assembly subroutine; this worked using IBM Professional Fortran and Ryan McFarland Fortran;
I did not write the assembly and do not know how it was assembled.
I have dispsub.asm and dispsub.obj files;
I have added the fortran source to the project and added the dispsub.obj file to the project; I have compiled the fortran program without errors;
when I build the exe, I get the following error message:
LINK : error : Segment reference in fixup record
.dispsub.obj : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Error executing link.exe.
how can I fix this?