The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: NUMBSKULL2 on December 23, 2009, 11:59:33 PM

Title: Linker Error 1083
Post by: NUMBSKULL2 on December 23, 2009, 11:59:33 PM
I am getting a Linker error message L1083.
The only information the linker gives is that the .exe run file cannot be opened-Permission denied.
Title: Re: Linker Error 1083
Post by: dedndave on December 24, 2009, 01:24:05 AM
1) the EXE file is write protected (or perhaps, there is some file error related to an existing EXE file)
2) a "-" is used on the link command line instead of "/"

http://support.microsoft.com/kb/50333
http://basic.phatcode.net/kbase/link/fpogb.htm
http://basic.phatcode.net/kbase/link/soeee.htm
http://basic.phatcode.net/kbase/link/apezz.htm
http://basic.phatcode.net/kbase/link/aoazg.htm

Title: Re: Linker Error 1083
Post by: NUMBSKULL2 on December 24, 2009, 03:02:04 AM
Hey

I have my files setup such that the .asm and .obj files are in a folder together.
There is no .exe file in this folder. I believe I get the error message when the linker tries to create the .exe file.
The linker is working fine on files in other directories.
It's the new folder that I am having problems with.
Any more clues?
Title: Re: Linker Error 1083
Post by: dedndave on December 24, 2009, 03:30:58 AM
well - perhaps the folder is read only ?
it is hard to troubleshoot from where i sit - lol
you might check environment variables
maybe it is the name of the folder - i don't know if certain characters are allowed, like spaces
for whatever reason, the linker is unable to open the EXE file
Title: Re: Linker Error 1083
Post by: sinsi on December 24, 2009, 03:37:09 AM
What is your link command line? Make sure that you are using a standard DOS filename, not a long name or one with spaces.
Title: Re: Linker Error 1083
Post by: FORTRANS on December 24, 2009, 01:48:20 PM
Hi,

   Two other reasons for not creating a file are illegal
characters in the name and exceeding the maximum
path+file name character count.  Not that they occur
too often.

Steve N.
Title: Re: Linker Error 1083
Post by: dedndave on December 24, 2009, 02:01:51 PM
i guess i don't run into that problem because, while writing a program,
i may use a 2 or 3 letter name for it until i want to release it
it makes for short command lines to assemble and run   :bg
Title: Re: Linker Error 1083
Post by: z941998 on December 24, 2009, 04:16:26 PM
Do a full Reboot of your computer.

Sometimes when your app fails when testing, the stuff left in memory prevents you from the next time you recompile completely because of the linker is unable to open the file, it thinks its already open.
Title: Re: Linker Error 1083
Post by: NUMBSKULL2 on December 24, 2009, 06:15:44 PM
 :bg
Hey

I rebooted the computer and now the linker is creating the .exe file.
Very strange.

Thanks
Pat