Re: Using functions from src in util

From: Welcor (
Date: 12/04/01

----- Original Message -----
From: "Cathy Gore" <cheron@ARCANEREALMS.ORG>

> When I go to compile it, it's telling me "undefined reference to
> load_char".  similar for clear_char and free_char.  Is there a way to get
> it to recognize the functions from the main src in the util dir?  Or am I
> stuck and have to rewrite the autowiz to include it as part of the circle
> executable?

Add the line

#include "../db.h"

to include prototypes[1] for the database funcs.


[1] A prototype is needed for the compiler to know how where to search for
    specific functions, and how they are supposed to be called.
    In your case load_char(), etc.

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 06/24/03 PDT