delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/28/14:16:25

From: Joseph Rose <jorose AT mail DOT gis DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking)
Date: Fri, 28 Apr 2000 14:39:58 -0400
Organization: Posted via Supernews, http://www.supernews.com
Lines: 26
Message-ID: <3909DAFE.CADFC30F@pop.gis.net>
References: <39096460 DOT 1D069B39 AT pop DOT gis DOT net> <390969a0 DOT 9237112 AT news DOT freeserve DOT net>
X-Complaints-To: newsabuse AT supernews DOT com
X-Mailer: Mozilla 4.7 [en]C-NECCK (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have described what the asm source code looks like.  It's in the middle of
the paragraph.  If you need more, I can publish a function in question and
the beginning of the file.

Steamer wrote:

> Joseph Rose wrote:
>
> >When I link the test code for my graphics library, I get no error
> >message on references to C++ functions, but I get 'undefined reference'
> >error messages at every line of C++ code containing a function call to
> >an assembler routine.  I'm using nasm; GLOBAL statements appear at the
> >beginning of the source for about every function in the source without
> >any extra specifiers, and my functions start with just a label followed
> >by a colon.  Every other technique I've tried didn't assemble at all.
>
> So you're doing something wrong.  Post your code here and someone might
> tell you what.  But if you don't post your code, then only readers with
> exceptional telepathic powers will be able to help you.
>
> It's probably the asm code which is wrong, so you could post that first.
> From the beginning of the file to the end of the first function should be
> enough to see what you're doing wrong.
>
> S.

- Raw text -


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