[COMPILING] titles

From: Darren Steinke (darrens@flashmail.com)
Date: 04/17/99


Hi again.
I was told to post the src..so I will. I fixed all those errors in
act.other.c and i'm stuck with just this one when it compiles the.o files.
So here is the compiling message and the snippet of code it comes from:

comm.o: In function `prompt_str':
/home/fradmin/mud/mainmud/src/comm.c:1038: undefined reference to `titles'
/home/fradmin/mud/mainmud/src/comm.c:1067: undefined reference to `titles'
make[1]: *** [../bin/circle] Error 1
make[1]: Leaving directory `/home/fradmin/mud/mainmud/src'
make: *** [all] Error 2

-------the src in comm.c------

      case 'v':
        perc = (100 * GET_MOVE(ch)) / GET_MAX_MOVE(ch);
        break;
       case 'x':
        perc = (100 * GET_EXP(ch)) /
titles[(int)GET_CLASS(ch)][GET_LEVEL(ch)+1].exp;
        break;
       default:
        perc = 0;
        break;
  }
  sprintf(i, "%d%%", perc);
  tmp = i;
  break;

Any ideas on what I'm missing or some insights on this?

-ds


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST