[newbie] Systax Error

From: Mike Carpenter (abram@DELTANET.COM)
Date: 03/03/98


What does this mean?
act.other.c:404: Undefined symbol `_ch' referenced from text segment

here is the code:
void remove_keys()
{
        struct obj_data *obj;
        extern struct char_data *ch;

        for(obj=ch->carrying; obj; obj=obj->next_content) {
         if(obj){
          if(GET_OBJ_TYPE(obj) == ITEM_KEY) {
              if(GET_OBJ_TIMER(obj) > 0) {
                GET_OBJ_TIMER(obj)--;
              } else
                extract_obj(obj);
          }
         }
        }
}


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



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