Mob Porgrams

From: Che Lucero (alanche@main.phys.uconn.edu)
Date: 06/01/96


So i patched in  mobprog-3.00pb8.tar and did the patch... sorry that was a bad sentance.. its kinda late
and i went in and changed the c files so that at the top it includes conf.h and sysdep.h and it give me a SLEW
of errors like you woulnd't belive of defintions... here i'll give you a FRACTION of what i get
make all
make ../bin/circle
gcc -c -g -O -Wall -fno-strict-prototypes  mobcmd.c
In file included from mobcmd.c:39:
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.5.8/include/stdlib.h:39: conflicting types for `qsort'
sysdep.h:276: previous declaration of `qsort'
In file included from mobcmd.c:745:
structs.h:459: redefinition of `sbyte'
structs.h:459: `sbyte' previously declared here
structs.h:460: redefinition of `ubyte'
structs.h:460: `ubyte' previously declared here
structs.h:461: redefinition of `sh_int'
structs.h:461: `sh_int' previously declared here
structs.h:462: redefinition of `ush_int'
structs.h:462: `ush_int' previously declared here
structs.h:463: redefinition of `bool'
structs.h:463: `bool' previously declared here
structs.h:466: redefinition of `byte'
structs.h:466: `byte' previously declared here
structs.h:469: redefinition of `room_num'
structs.h:469: `room_num' previously declared here
structs.h:470: redefinition of `obj_num'
structs.h:470: `obj_num' previously declared here
structs.h:474: redefinition of `struct extra_descr_data'
structs.h:485: redefinition of `struct obj_flag_data'
structs.h:499: redefinition of `struct obj_affected_type'
structs.h:505: redefinition of `struct obj_spell_type'
structs.h:512: redefinition of `struct obj_data'
structs.h:539: redefinition of `struct obj_file_elem'
structs.h:553: redefinition of `struct rent_info'
structs.h:575: redefinition of `struct room_direction_data'
structs.h:587: redefinition of `struct room_data'
structs.h:610: redefinition of `struct memory_rec_struct'
structs.h:615: redefinition of `memory_rec'
structs.h:615: `memory_rec' previously declared here
structs.h:618: redefinition of `struct mob_prog_act_list'
structs.h:625: redefinition of `MPROG_ACT_LIST'
structs.h:625: `MPROG_ACT_LIST' previously declared here
structs.h:627: redefinition of `struct mob_prog_data'
structs.h:634: redefinition of `MPROG_DATA'
structs.h:634: `MPROG_DATA' previously declared here
structs.h:657: redefinition of `struct time_info_data'
structs.h:663: redefinition of `struct time_data'
structs.h:671: redefinition of `struct char_player_data'
structs.h:689: redefinition of `struct char_ability_data'
structs.h:701: redefinition of `struct char_point_data'
structs.h:727: redefinition of `struct char_special_data_saved'
structs.h:738: redefinition of `struct char_special_data'
structs.h:760: redefinition of `struct player_special_data_saved'
structs.h:806: redefinition of `struct player_special_data'
structs.h:819: redefinition of `struct mob_special_data'
structs.h:831: redefinition of `struct affected_type'
structs.h:843: redefinition of `struct follow_type'
structs.h:850: redefinition of `struct char_data'
structs.h:885: redefinition of `struct char_file_u'
structs.h:916: redefinition of `struct txt_block'
structs.h:923: redefinition of `struct txt_q'
structs.h:929: redefinition of `struct descriptor_data'
structs.h:966: redefinition of `struct msg_type'
structs.h:973: redefinition of `struct message_type'
structs.h:982: redefinition of `struct message_list'
structs.h:989: redefinition of `struct dex_skill_type'
structs.h:998: redefinition of `struct dex_app_type'
structs.h:1005: redefinition of `struct str_app_type'
structs.h:1013: redefinition of `struct wis_app_type'
structs.h:1018: redefinition of `struct int_app_type'
structs.h:1023: redefinition of `struct con_app_type'
structs.h:1029: redefinition of `struct weather_data'
structs.h:1037: redefinition of `struct title_type'
structs.h:1045: redefinition of `struct index_data'
In file included from mobcmd.c:746:
db.h:88: redefinition of `struct reset_com'
db.h:112: redefinition of `struct zone_data'
db.h:133: redefinition of `struct reset_q_element'
db.h:141: redefinition of `struct reset_q_type'
db.h:148: redefinition of `struct player_index_element'
db.h:154: redefinition of `struct help_index_element'
db.h:168: redefinition of `struct ban_list_element'
In file included from mobcmd.c:749:
interpreter.h:44: redefinition of `struct command_info'
interpreter.h:53: redefinition of `struct alias'
In file included from mobcmd.c:750:
comm.h:43: redefinition of `sigfunc'
comm.h:43: `sigfunc' previously declared here
mobcmd.c:776: redefinition of `mprog_type_to_name'
mobcmd.c:72: `mprog_type_to_name' previously defined here
mobcmd.c:798: redefinition of `str_prefix'
mobcmd.c:94: `str_prefix' previously defined here
mobcmd.c:816: redefinition of `do_mpasound'
mobcmd.c:112: `do_mpasound' previously defined here
mobcmd.c:857: redefinition of `do_mpkill'
mobcmd.c:153: `do_mpkill' previously defined here
mobcmd.c:914: redefinition of `do_mpjunk'
mobcmd.c:210: `do_mpjunk' previously defined here
mobcmd.c:959: redefinition of `do_mpechoaround'
mobcmd.c:255: `do_mpechoaround' previously defined here
mobcmd.c:993: redefinition of `do_mpechoat'
mobcmd.c:289: `do_mpechoat' previously defined here
mobcmd.c:1028: redefinition of `do_mpecho'
mobcmd.c:324: `do_mpecho' previously defined here
mobcmd.c:1056: redefinition of `do_mpmload'
mobcmd.c:352: `do_mpmload' previously defined here
mobcmd.c:1087: redefinition of `do_mpoload'
mobcmd.c:383: `do_mpoload' previously defined here
mobcmd.c:1131: redefinition of `do_mppurge'
mobcmd.c:427: `do_mppurge' previously defined here
mobcmd.c:1189: redefinition of `do_mpgoto'
mobcmd.c:485: `do_mpgoto' previously defined here
mobcmd.c:1224: redefinition of `do_mpat'
mobcmd.c:520: `do_mpat' previously defined here
mobcmd.c:1271: redefinition of `do_mptransfer'
mobcmd.c:567: `do_mptransfer' previously defined here

and it goes on and on......
what can i do to remedy this?
please help :)



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