- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can't fix it - you have a 16-bit DOS module that can't be linked to 32-bit Windows code.
Steve
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page