Message-ID: <33D4E451.6440@maltanet.net> Date: Tue, 22 Jul 1997 09:48:17 -0700 From: Ivan-Mark Debono Reply-To: ivanmdeb AT maltanet DOT net Organization: Axiom Entertainment MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: error: undefined reference Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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