* hands everyone mallets * ok now ya all can start bonking me.... Made one little stupid error in db.c which caused the whole problem :) forgot to #undef the thing when it was done :) ohhhhh welll
now everyone please not all at once.. Sincerely, Siron Redkoala Mud Services ----- Original Message ----- From: "Steven Radziul" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, February 18, 2002 5:02 AM Subject: GSN Errors > Greetings, > > I am trying to consolidate my gsn_ stuff down to one file and I've tried a > few things and can't seem to figure out what the heck is going on.. I mostly > been able to answer all of my problems cept for this one as I am not sure > what the heck is wrong > > I tried this: > > #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 > > I tried adding: > #if !defined(GSN_H) > #define GSN_H > > #if defined(IN_DB_C) > #if defined(GSN) > #undef GSN > #endif > #define GSN(gsn)sh_int gsn > > #else > #if defined(GSN) > #undef GSN > #endif > #define GSN(gsn) extern sh_int gsn > #endif > > which is just a more spoofy way of doing what I did before, still with no > luck.. Can someone point me to where my problems are? > > Sincerely, > Siron > Redkoala Mud Services > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom

