new prompt questions

From: Ryan Dean (rydean@psd.k12.co.us)
Date: 02/27/99


Hello MUD coders and implementors:

I have recently added the new prompt patch from the circlemud
/contrib/code dirrectory - the patch name is
new_prompt.diff -  and after making of the c files and completeion of the
o files i get this error:
 comm.o: In function `prompt_str':
/circle30bpl14/src/comm.c:1059: undefined reference to `titles'
/circle30bpl14/src/comm.c:1088: undefined reference to `titles'
make[1]: *** [../bin/circle] Error 1
make[1]: Leaving directory `/circle30bpl14/src'
make: *** [all] Error 2

here are the lines of 1509 and 1088 in comm.c

     case 'X': // exp to level
         sprintf(i, "%d", titles[(int)GET_CLASS(ch)][GET_LEVEL(ch)+1].exp
-
                 GET_EXP(ch));
         tmp = i;
         break;
 and         case 'x':
           perc = (100 * GET_EXP(ch)) /
titles[(int)GET_CLASS(ch)][GET_LEVEL(ch)+1].exp;
           break;
         default :
           perc = 0;

and this is the extern of titles at the top of the file:

extern struct title_type titles[NUM_CLASSES][LVL_IMPL + 1];


well thats all i can think of - any help?


     +------------------------------------------------------------+
     | 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