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

From: dontmailme AT iname DOT com (Steamer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking)
Date: Fri, 28 Apr 2000 10:36:23 GMT
Organization: always disorganized
Lines: 19
Message-ID: <390969a0.9237112@news.freeserve.net>
References: <39096460 DOT 1D069B39 AT pop DOT gis DOT net>
NNTP-Posting-Host: modem-71.muellers-butterfly.dialup.pol.co.uk
X-Trace: news7.svr.pol.co.uk 956918184 13457 62.136.217.71 (28 Apr 2000 10:36:24 GMT)
NNTP-Posting-Date: 28 Apr 2000 10:36:24 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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