[Newbie][Problem] I got some DG Scripts Errors #1st Part

From: Abraham Dizon (soldier2003@hotmail.com)
Date: 06/15/01


Okay I got a big problem, I patched my MUD (circle30bpl17) with
OasisOLCv2.0a-bpl17.patch and it went in clean. When I patched
DG7a_Assembly_for_Oasis2_bpl17.patch it had some errors. I really need some
help solving them because I don't know how to solve some of them. Here is
the log:

make ../bin/circle
make[1]: Entering directory '/home/falcon/circle30bpl17/src'
gcc -g -02 -Wall    -c -o act.informative.o act.informative.c
In file included from act.informative.c:22:
constants.h:39: conflicting types for 'rev_dir'
constants.h:34: previous declaration of 'rev_dir'
constants.h:40: conflicting types for 'movement_loss'
constants.h:35: previous declaration of 'movement_loss'
make[1]: *** [act.informative.o] Error 1
make[1]: Leaving directory '/home/falcon/circle30bpl17/src'
make: *** [all] Error 2

and here's my constants.h file:

extern const char *circlemud_version;
extern const char *dirs[];
extern const char *room_bits[];
extern const char *exit_bits[];
extern const char *sector_types[];
extern const char *genders[];
extern const char *position_types[];
extern const char *player_bits[];
extern const char *action_bits[];
extern const char *preference_bits[];
extern const char *affected_bits[];
extern const char *connected_types[];
extern const char *where[];
extern const char *equipment_types[];
extern const char *item_types[];
extern const char *wear_bits[];
extern const char *extra_bits[];
extern const char *apply_types[];
extern const char *container_bits[];
extern const char *drinks[];
extern const char *drinknames[];
extern const char *color_liquid[];
extern const char *fullness[];
extern const char *spell_wear_off_msg[];
extern const char *npc_class_types[];
extern const char *weekdays[];
extern const char *month_name[];
extern const struct str_app_type str_app[];
extern const struct dex_skill_type dex_app_skill[];
extern const struct dex_app_type dex_app[];
extern const struct con_app_type con_app[];
extern const struct int_app_type int_app[];
extern const struct wis_app_type wis_app[];
extern int rev_dir[];
extern int movement_loss[];
extern int drink_aff[][3];
extern const char *spell_wear_off_msg[];
extern const char *npc_class_types[];
extern const int rev_dir[];
extern const int movement_loss[];
extern const char *weekdays[];
extern const char *month_name[];

I hope someone can help me with this problem on DG_Scripts. I hope this is
the only thing that needs fixing. Any input is welcome. Thanks for your
time.

-Hero

One for all and all for one.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST