delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/04/18:30:15

From: "Gary Slaughenhaupt" <gary DOT slaughenhaupt AT ia DOT nsc DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Problem making from NASM generated o file
Date: Fri, 4 Aug 2000 16:18:41 -0600
Organization: National Semiconductor, Santa Clara
Lines: 13
Message-ID: <8mffh9$apa$1@voder.nsc.com>
NNTP-Posting-Host: catalpa.ia.nsc.com
X-Trace: voder.nsc.com 965427561 11050 147.5.204.236 (4 Aug 2000 22:19:21 GMT)
X-Complaints-To: usenet AT voder DOT nsc DOT com
NNTP-Posting-Date: 4 Aug 2000 22:19:21 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Help, I am a beginner
I used NASM to generate an o file in coff format then when I try to make it
with gcc I get the following error.

c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to `main'
c:/djgpp/lib/libc.a(crt1.o)(.text+0x446):crt1.c: undefined reference to
`main'

What am I doing wrong?
Thanks for your time!



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019