cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/22/03:53:08

Message-ID: <33D4E451.6440@maltanet.net>
Date: Tue, 22 Jul 1997 09:48:17 -0700
From: Ivan-Mark Debono <ivanmdeb AT maltanet DOT net>
Reply-To: ivanmdeb AT maltanet DOT net
Organization: Axiom Entertainment
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: error: undefined reference

Hi all,

I'm coding a map editor and I have decided to split my routines into
smaller files. This is the list of the current files:

- BWMAPED.C 	(Main program)
- DATASTRT.H 	(Various constants and data structures)
- TILE.H	(Tile routines)
- SPRITE.H	(Sprite routines)
- MAP.H		(Map routines)

I have the include declaration for each header file in the main program,
but when I try to compile the code and I'm referring to a routine in
MAP.H (for example), the following error occurs:

bwmaped.c(101) Error: undefined reference to 'IMD_new_map'

Could you please help me sort this bit out, as I'm still new to DJGPP
and C.

Tks & Rgds,
Ivan

- Raw text -


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