Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-07-2009, 12:54 PM   #1
Registered: May 2006
Location: Greece, Thessaloniki
Distribution: FEDORA
Posts: 37

Rep: Reputation: 16
linking an .obj to exe file issue

heya everyone... how you've been?

so.. that my issue... i have an obj file created when i assembled it's asm with ml.exe(MS VISUAL C++) and i am trying to link it to create the exe... but thats what i got...

>ml.exe /C WRITESTR.ASM(SUCCESS... it gave me the obj file)

>link.exe WRITESTR.obj
LINK : fatal error LNK1561: entry point must be defined

all these in my windows platform...

PS: i ve been reading this period the book "BOOK OF ASSEMBLY FOR PC" by Peter Norton and John Socha. it has been written in 93 when it came with a floppy disk.. think of that...

so the examples are very old and i cant make them work in 21 century...

if anyone that has read the book or someone who knows how to define the entry point pls help

i am working strictly from command line cause thats the point when working with assembly... i dont want to use ms's visual products..

thank you folks
Old 07-07-2009, 02:07 PM   #2
Registered: Dec 2008
Distribution: Ubuntu
Posts: 62

Rep: Reputation: 23
The link below gives an outline for defining an entry point in MASM ( I only know GAS ) which seems at first glance to be the problem. They have an explanation about it too on the page.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.exe file terminated issue . 786 General 1 07-03-2009 12:35 PM
.c.asm.obj.exe jackall Linux - Newbie 2 11-20-2008 09:16 PM
samba compatibility with microsoft srvtools.exe (usrmgr.exe and srvmgr.exe) checkmate3001 Linux - Software 1 09-06-2008 06:08 AM
IMMIDIATE : making an obj. file kapsikum Programming 12 04-25-2005 02:38 AM
Wine issue with iKernel.exe ex0r Linux - Newbie 1 03-13-2004 04:22 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration