From: Jean Pierre Daviau on 2 Dec 2006 06:24 Microsoft (R) Segmented Executable Linker Version 5.60.339 Dec 5 1994 Copyright (C) Microsoft Corp 1984-1993. All rights reserved. Usage: LINK LINK @<response file> LINK <objs>,<exefile>,<mapfile>,<libs>,<deffile> plus what's in the previous post.
From: Jean Pierre Daviau on 2 Dec 2006 06:31 With the commas $(MAS)\Link560 $(NOM).obj ,,, I:\unzipAssembleur\makeHELP\_meFirstb>make -f makefile.mak MAKE Version 5.2 Copyright (c) 1987, 2000 Borland C:\masm32\bin\ml /Zi /Fl /Fm mak_flop.asm Microsoft (R) Macro Assembler Version 6.14.8444 Copyright (C) Microsoft Corp 1981-1997. All rights reserved. Assembling: mak_flop.asm Microsoft (R) Incremental Linker Version 5.12.8078 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. /z2 "mak_flop.obj" /CO:nopack "mak_flop.exe" "mak_flop.map" /m LINK : warning LNK4044: unrecognized option "z2"; ignored LINK : warning LNK4044: unrecognized option "CO:nopack"; ignored LINK : warning LNK4044: unrecognized option "m"; ignored LINK : error : Segment reference in fixup record mak_flop.obj : fatal error LNK1123: failure during conversion to COFF: file inva lid or corrupt ** error 1123 ** deleting mak_flop.obj
From: Frank Kotler on 2 Dec 2006 07:06 Jean Pierre Daviau wrote: > With the commas > $(MAS)\Link560 $(NOM).obj ,,, Wait a minute!!! > Microsoft (R) Incremental Linker Version 5.12.8078 > Copyright (C) Microsoft Corp 1992-1998. All rights reserved. In your first post, you said: > Microsoft (R) Segmented Executable Linker Version 5.60.339 Dec 5 1994 > Copyright (C) Microsoft Corp 1984-1993. All rights reserved. That's two *entirely* different linkers! The "Incremental" linker if for MSCOFF object format, the "Segmented" linker is for OMF object format. It *looks* like what you've got is OMF - this is 16-bit DOS code you're working with, right? If so, go back to your original linker. From the error messages you're getting, it looks like Masm is invoking the linker itself. You may need to ask Masm *not* to do that - try "/c" (a wild-asmed guess) on the Masm command line. Best, Frank
From: Jean Pierre Daviau on 2 Dec 2006 07:30 Yes. It is a 16 bits DOS thing. Sorry for the missing informations. It worked ;-) The exe is builted. ============== I:\UNZIPA~1\makeHELP\_MEFIR~1>make -f makefile.mak MAKE Version 5.2 Copyright (c) 1987, 2000 Borland C:\masm32\bin\ml /c /Zi /Fl /Fm mak_flop.asm Microsoft (R) Macro Assembler Version 6.14.8444 Copyright (C) Microsoft Corp 1981-1997. All rights reserved. Assembling: mak_flop.asm C:\masm32\bin\ml /c /Zi /Fl /Fm mak_flop.asm Microsoft (R) Macro Assembler Version 6.14.8444 Copyright (C) Microsoft Corp 1981-1997. All rights reserved. Assembling: mak_flop.asm C:\masm32\bin\Link560 mak_flop.obj ,,,,,,,,, Microsoft (R) Segmented Executable Linker Version 5.60.339 Dec 5 1994 Copyright (C) Microsoft Corp 1984-1993. All rights reserved. Thank you
First
|
Prev
|
Pages: 1 2 Prev: pshufb Next: how to prevent ACCESS_VIOLATION (C0000005) without 'SetUnhandledExceptionFilter' |