cvs.gedasymbols.org/archives/browse.cgi | search |
From: | Derek Greene <topcoder AT mindspring DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Nasm-Djgpp link errors |
Date: | Sat, 04 Oct 1997 09:32:58 -0400 |
Organization: | MindSpring Enterprises |
Lines: | 32 |
Message-ID: | <3436458A.6409@mindspring.com> |
References: | <EHGIE1 DOT 2Ks AT nonexistent DOT com> |
NNTP-Posting-Host: | user-2k7i8es.dialup.mindspring.com |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Sam Davies wrote: > > Ok... when I try to compile the COFFTEST.ASM file (which comes with > NASM) along with the COFFTEST.C file on RHIDE, I get the following two > errors: > > Error: c:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to > `main' > Error: c:/djgpp/lib/libc.a(crt1.o)(.text+0x312):crt1.c: undefined > reference to `main' > > Also... I had to comment out the following lines (in COFFTEST.ASM) to > avoid a bunch of other errors: > > GLOBAL _lrotate ; [1] > GLOBAL _greet ; [1] > GLOBAL _asmstr ; [2] > GLOBAL _textptr ; [2] > GLOBAL _selfptr ; [2] > GLOBAL _integer ; [3] > > Everything else is exactly as it came in the NASM distribution .ZIP > file... but as far as I can tell, this these are completely unrelated... > Can someone who has successfully gotten NASM files to link with DJGPP > files (on RHIDE) help me? Thanks alot! > Sam > -- > Sam Davies <sdavies AT mail DOT trilogy DOT net> the problem is with your djgpp installation....least thats what it appeared to be when i was having those problems....i real installed and it worked fine
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |