> I dont understand why this is happening, because it used to run fine utill I
> recompiled it today. I dont like chess but it is still a wonderful snippet.
> /home/free/brian/muck/oasis20-bpl17/src/spec_procs.c:772: undefined reference
> to
> `chess_rules'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/circle] Error 1
> make[1]: Leaving directory `/home/free/brian/muck/oasis20-bpl17/src'
> make: *** [circle] Error 2
> mudprovider:~/muck/oasis20-bpl17/src$
>
I believe that 'chess_rules' is defined in db.c as a global char
pointer. It's given it's info in the section with all the
file_to_string_alloc() calls. If it's giving you that problem, simply
make sure that the line:
extern char *chess_rules;
appears in the special(chessboard) definition.
PjD
+------------------------------------------------------------+
| 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 : 04/10/01 PDT