WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

DOS program won't link, LINK : fatal error L1093, : object file not found even for the simplest DOS project.

ilanprod
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 867
Joined: 18-December 04


I'm trying to make the simplest dos program but I get this error:

LINK : fatal error L1093: and Settings\Ilankt\Desktop\Programming\WinAsmFull304b\masm32\bin\Link16 @D:\Documents and Settings\Ilankt\Desktop\Programming\Assembly Projects\test3\link.war : object file not found
and yes, I did downloaded from the FAQ thread the link16.exe and copied it to bin directory...
well, here is the code, generated by winasm itself:
CODE

.model tiny
.data
     msg   db "This is a 16-bit DOS .COM executable",13,10,"Hello World!",13,10,"$"; The string must ends with a $
.code
.startup
mov   dx,offset msg; Get the address of our message in the DX
mov   ah,9; Function 09h in AH means "WRITE STRING TO STANDARD OUTPUT"
int   21h; Call the DOS interrupt (DOS function call)

mov   ah,0; Call bios function "GET KEYSTROKE"
int   16h
.exit
end

what is the problem?
please help me :rolleyes:

Sponsored Links
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2328
Member No.: 1
Joined: 12-May 04


welcome,

Sorry for not responding earlier (been too busy). Here is your code as a WinAsm Studio project that builds properly for me. Please let me know of any problems you might have

Regards,

Antonis

Attached File ( Number of downloads: 103 )
 Login or Register to download
PMEmail PosterUsers Website
Top
ilanprod
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 867
Joined: 18-December 04


QUOTE (akyprian @ Dec 19 2004, 10:34 PM)
welcome,

Sorry for not responding earlier (been too busy). Here is your code as a WinAsm Studio project that builds properly for me. Please let me know of any problems you might have

Regards,

Antonis

Thanks, but I get the same error :(
\link.war : object file not found
why this file is needed?
nvm <_< I'll use command line now...
thanks anyway!
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2328
Member No.: 1
Joined: 12-May 04


Hi,
The problem is that the 16-bit linker expects expects NO spaces in the file path. So, change your bin folder accordingly. war files are response files and give POWER to WinAsm studio as they overcome the command line length limitations of both the 16-bit and 32 bit linker and have nothing to do with your problem.

Please let me know if your problem is solved

Antonis
PMEmail PosterUsers Website
Top
Twilight
Quote Post


New Member
*

Group: Members
Posts: 13
Member No.: 280
Joined: 13-July 04


I had the same problem, since I installed both the Winasm and the Masm32 packages in "Program Files\etc\etc"

This problem was quickly solved by going into:

Tools->Options->Files & Paths

And changing long names to their 8.3 equivalents. For example:

\Program Files\ was changed to \Progra~1\


Now it works like a charm... B)
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google