On Mon, Feb 18, 2002 at 05:02:30AM -0500, Steven Radziul wrote:
> 
> #ifdef IN_DB_C
> #define GSN(gsn) sh_int gsn
> #else
> #define GSN(gsn) extern sh_int gsn
> #endif
> 
> then I have
> GSN(gsn_dodge);
> ect ect. for each gsn...
> 
> when I compile, it gets down to linking then spits out a bunch of
> undefined reference to 'gsn_whatever' errors..
> 
> now I added #include "gsn.h" to my game.h (equivalent to merc.h) but I can't
> seem to figure out where the problem is trying..
> 
> I also put in #define IN_DB_C into db.c

                                  vvvvvvvvvvvvvvvvvvvvvv---- that's a hint :-)
The only thing I can think of without seeing any real code is that
you have defined IN_DB_C after the #include of merc.h.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to