delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/11/19:54:34

Date: Sat, 11 Oct 1997 16:52:15 -0700 (PDT)
Message-Id: <199710112352.QAA25370@adit.ap.net>
Mime-Version: 1.0
To: Gary AT bbs DOT st DOT net DOT au (Gary), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: undefined reference's

At 11:43  10/11/1997, Gary wrote:
>While I think this is not specific to this group,there is the off chance it
>could be,I have compiled and assembled a group of files,the code was written
>for BorlandsC++4.0 flat model,IDEAL mode.I have converted the assembly routines
>using the Ta2as converter,i had to do some editing,hopefully correctly.I have
>created a library with these files.Along with them came a utility program that
>I have compiled without any errors,however when I come to link it with the
>newly created library I get.
> Error: file.c(.text+0x266): undefined reference to `DrawSolidCeilSolidFloor'
>where `DrawSolidCeilSolidFloor' is a assembly function,and is called from
>within file.c as follows.
>
> FloorCeilRtn = DrawSolidCeilSolidFloor;
But how is it defined in the asm file? I hope as _DrawSolidCeilSolidFloor.
If not, that's the problem. If not, post the smallest example that shows the
problem.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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