LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-07-2009, 11:54 AM   #1
trelamenos
Member
 
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)

then...
>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, 01:07 PM   #2
aspire1
Member
 
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.

http://www.geocities.com/siliconvall.../asml1001.html
 
  


Reply


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 11:35 AM
.c.asm.obj.exe jackall Linux - Newbie 2 11-20-2008 08:16 PM
samba compatibility with microsoft srvtools.exe (usrmgr.exe and srvmgr.exe) checkmate3001 Linux - Software 1 09-06-2008 05:08 AM
IMMIDIATE : making an obj. file kapsikum Programming 12 04-25-2005 01:38 AM
Wine issue with iKernel.exe ex0r Linux - Newbie 1 03-13-2004 03:22 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:51 PM.

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