gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o birth.o -c birth.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cave.o -c cave.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd0.o -c cmd0.c cave.c: In function ‘map_info’: cave.c:957: warning: suggest parentheses around ‘&&’ within ‘||’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd1.o -c cmd1.c birth.c: In function ‘get_stats’: birth.c:218: warning: ‘humanstat’ may be used uninitialized in this function cmd1.c: In function ‘critical_norm’: cmd1.c:170: warning: ‘tmp’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd2.o -c cmd2.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd3.o -c cmd3.c cmd2.c: In function ‘do_cmd_throw’: cmd2.c:3316: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ cmd2.c: In function ‘squelchable_hook’: cmd2.c:3912: warning: unused variable ‘k_ptr’ cmd1.c: In function ‘py_attack’: cmd1.c:2119: warning: ‘k’ may be used uninitialized in this function cmd1.c:2324: warning: ‘quk’ may be used uninitialized in this function cmd2.c: In function ‘do_cmd_throw’: cmd2.c:3264: warning: ‘dy’ may be used uninitialized in this function cmd2.c:3264: warning: ‘dx’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd4.o -c cmd4.c cmd2.c: In function ‘do_cmd_fire’: cmd2.c:2770: warning: ‘dy’ may be used uninitialized in this function cmd2.c:2770: warning: ‘dx’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd5.o -c cmd5.c cmd4.c:4630: warning: return type defaults to ‘int’ cmd4.c: In function ‘get_danger_feeling’: cmd4.c:4773: warning: unused variable ‘ap_cnt’ cmd4.c: In function ‘do_cmd_note_old’: cmd4.c:4632: warning: control reaches end of non-void function cmd2.c: In function ‘do_telekinesis’: cmd2.c:2554: warning: ‘dir’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o cmd6.o -c cmd6.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o dungeon.o -c dungeon.c dungeon.c: In function ‘sense_inventory’: dungeon.c:226: warning: statement with no effect dungeon.c: In function ‘decrease_timeouts’: dungeon.c:1185: warning: unused variable ‘o_ptr’ dungeon.c: In function ‘process_world’: dungeon.c:1589: warning: implicit declaration of function ‘summon_nogroups’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o files.o -c files.c files.c: In function ‘get_panel’: files.c:1742: warning: unused variable ‘o_ptr’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o generate.o -c generate.c generate.c: In function ‘place_puddle’: generate.c:403: warning: unused variable ‘finished’ generate.c: In function ‘build_empty’: generate.c:4037: warning: suggest parentheses around ‘&&’ within ‘||’ generate.c:4396: warning: unused variable ‘r_ptr’ generate.c: In function ‘generate_cave’: generate.c:6175: warning: implicit declaration of function ‘get_danger_feeling’ generate.c:6071: warning: unused variable ‘maxfeel’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o init1.o -c init1.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o init2.o -c init2.c generate.c: In function ‘build_type3’: generate.c:1488: warning: ‘y’ may be used uninitialized in this function generate.c:1488: warning: ‘x’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o load.o -c load.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o melee1.o -c melee1.c load.c: In function ‘rd_monster’: load.c:566: warning: unused variable ‘tmp8u’ load.c: In function ‘rd_savefile_new_aux’: load.c:870: warning: array subscript is above array bounds gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o melee2.o -c melee2.c melee2.c: In function ‘get_moves’: melee2.c:4160: warning: unused variable ‘rdes’ melee2.c: In function ‘do_daylight’: melee2.c:4670: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o monster1.o -c monster1.c melee2.c: In function ‘process_monster’: melee2.c:5016: warning: unused variable ‘ridx’ melee2.c: In function ‘bolt’: melee2.c:420: warning: ‘pflg’ is used uninitialized in this function monster1.c: In function ‘describe_monster_movement’: monster1.c:1371: warning: ‘msex’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o monster2.o -c monster2.c monster2.c: In function ‘get_mon_force_theme’: monster2.c:610: warning: operation on ‘choose’ may be undefined monster2.c: In function ‘get_mon_num’: monster2.c:1741: warning: unused variable ‘ood’ monster2.c:2291:9: warning: "/*" within comment monster2.c: In function ‘check_rtelep’: monster2.c:2687: warning: unused variable ‘normalesp’ monster2.c: In function ‘update_mon’: monster2.c:3600: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o obj-info.o -c obj-info.c monster2.c: In function ‘place_monster_aux’: monster2.c:4869: warning: control reaches end of non-void function obj-info.c: In function ‘describe_secondary’: obj-info.c:136: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ obj-info.c:136: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ obj-info.c:136: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ obj-info.c:137: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ obj-info.c: In function ‘describe_attack’: obj-info.c:1179: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ obj-info.c: In function ‘object_info_screen’: obj-info.c:2174: warning: unused variable ‘mfake’ monster2.c: In function ‘get_mon_force_theme’: monster2.c:478: warning: ‘choose’ may be used uninitialized in this function monster2.c: In function ‘get_mon_num’: monster2.c:1742: warning: ‘r_idx’ may be used uninitialized in this function obj-info.c: In function ‘describe_attack’: obj-info.c:1438: warning: ‘strong_throw’ may be used uninitialized in this function obj-info.c:1050: warning: ‘multl’ may be used uninitialized in this function obj-info.c:1004: warning: ‘tmpblow’ may be used uninitialized in this function obj-info.c:1004: warning: ‘sbdam’ may be used uninitialized in this function obj-info.c:1004: warning: ‘dam’ may be used uninitialized in this function obj-info.c:1004: warning: ‘critc’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o object1.o -c object1.c object1.c: In function ‘display_itemlist’: object1.c:4492: warning: pointer targets in passing argument 2 of ‘scan_floor’ differ in signedness object1.c:2467: note: expected ‘int *’ but argument is of type ‘unsigned int *’ monster2.c: In function ‘monster_swap’: monster2.c:3794: warning: ‘r_ptr’ may be used uninitialized in this function monster2.c: In function ‘display_monlist’: monster2.c:2043: warning: ‘heartype’ may be used uninitialized in this function monster2.c:2024: warning: ‘cur_x’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o object2.o -c object2.c object2.c: In function ‘object_known’: object2.c:956: warning: implicit declaration of function ‘do_cmd_note’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o randart.o -c randart.c randart.c: In function ‘add_ability’: randart.c:1215: warning: suggest explicit braces to avoid ambiguous ‘else’ object1.c: In function ‘object_desc’: object1.c:880: warning: ‘fk_ptr’ may be used uninitialized in this function randart.c:1390: warning: ‘ftval’ may be used uninitialized in this function object1.c: In function ‘show_inven’: object1.c:2927: warning: ‘thissp’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o randname.o -c randname.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o pathfind.o -c pathfind.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o signals.o -c signals.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o save.o -c save.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o spells1.o -c spells1.c spells1.c: In function ‘teleport_away’: spells1.c:94: warning: unused variable ‘f6’ spells1.c: In function ‘take_hit_reallynow’: spells1.c:824: warning: implicit declaration of function ‘do_cmd_note’ spells1.c: In function ‘project_m’: spells1.c:3493: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ spells1.c:4875: warning: unused variable ‘gotpoly’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o spells2.o -c spells2.c spells2.c: In function ‘reveal_monsters’: spells2.c:2224: warning: unused variable ‘l_ptr’ spells2.c: In function ‘earthquake’: spells2.c:4400: warning: unused variable ‘dodgeblast’ spells1.c: In function ‘inc_stat’: spells1.c:1446: warning: ‘again’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o squelch.o -c squelch.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o store.o -c store.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o tables.o -c tables.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o ui.o -c ui.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o use-obj.o -c use-obj.c use-obj.c: In function ‘use_staff’: use-obj.c:1933: warning: unused variable ‘joedark’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o util.o -c util.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o variable.o -c variable.c use-obj.c: In function ‘describe_item_activation’: use-obj.c:4175: warning: ‘minute’ may be used uninitialized in this function use-obj.c:4175: warning: ‘sec’ may be used uninitialized in this function use-obj.c:4175: warning: ‘rsec’ may be used uninitialized in this function use-obj.c:4175: warning: ‘rminute’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o wizard1.o -c wizard1.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o wizard2.o -c wizard2.c gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o x-spell.o -c x-spell.c x-spell.c: In function ‘get_spell_info’: x-spell.c:1156: warning: unused variable ‘curehp’ x-spell.c:1156: warning: unused variable ‘curep’ x-spell.c: In function ‘cast_luck_spell’: x-spell.c:4638: warning: statement with no effect x-spell.c: In function ‘cast_chem_spell’: x-spell.c:5428: warning: implicit declaration of function ‘blast_a_wall’ x-spell.c:4943: warning: unused variable ‘px’ x-spell.c:4942: warning: unused variable ‘py’ x-spell.c: In function ‘cast_dark_spell’: x-spell.c:6512: warning: suggest parentheses around ‘&&’ within ‘||’ x-spell.c:5886: warning: unused variable ‘dcmw’ x-spell.c:5886: warning: unused variable ‘sdmg’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o xtra1.o -c xtra1.c xtra1.c: In function ‘calc_bonuses’: xtra1.c:2391: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ xtra1.c:3278: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ xtra1.c:3485: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o xtra2.o -c xtra2.c xtra2.c: In function ‘monster_death’: xtra2.c:1605: warning: unused variable ‘player_name’ xtra2.c: In function ‘disguise_object_desc’: xtra2.c:3035: warning: unused variable ‘c2’ xtra2.c:3035: warning: unused variable ‘c1’ xtra2.c:3034: warning: unused variable ‘b2’ xtra2.c:3034: warning: unused variable ‘b1’ xtra2.c:3031: warning: unused variable ‘v’ xtra2.c:3030: warning: unused variable ‘u’ xtra2.c: In function ‘target_set_interactive_aux’: xtra2.c:3538: warning: ‘monaswall’ may be used uninitialized in this function xtra2.c:3637: warning: ‘heartype’ may be used uninitialized in this function gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o z-file.o -c z-file.c [clean until...] gcc -Wall -O2 -Wno-unused-parameter -DUSE_X11 -DUSE_GCU -DUSE_CURSES -DHAVE_MKSTEMP -o dajangband birth.o cave.o cmd0.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o dungeon.o files.o generate.o init1.o init2.o load.o melee1.o melee2.o monster1.o monster2.o obj-info.o object1.o object2.o randart.o randname.o pathfind.o signals.o save.o spells1.o spells2.o squelch.o store.o tables.o ui.o use-obj.o util.o variable.o wizard1.o wizard2.o x-spell.o xtra1.o xtra2.o z-file.o z-form.o z-rand.o z-term.o z-type.o z-util.o z-virt.o main.o main-gcu.o main-sdl.o snd-sdl.o maid-x11.o main-x11.o main-xaw.o main-gtk.o -lX11 -lcurses cmd1.o: In function `py_attack': cmd1.c:(.text+0x447a): undefined reference to `rxp_drain' cmd2.o: In function `do_cmd_throw': cmd2.c:(.text+0xedf): undefined reference to `rxp_drain' cmd2.o: In function `do_cmd_fire': cmd2.c:(.text+0x274c): undefined reference to `rxp_drain' cmd6.o: In function `do_cmd_activate': cmd6.c:(.text+0x370): undefined reference to `rxp_drain' dungeon.o: In function `recharge_objects': dungeon.c:(.text+0x898): undefined reference to `do_something_annoying' dungeon.o: In function `dungeon': dungeon.c:(.text+0x37e9): undefined reference to `do_call_help' melee2.o: In function `make_attack_spell': melee2.c:(.text+0x1f4c): undefined reference to `heal_monsters' melee2.c:(.text+0x78d7): undefined reference to `heal_monsters' melee2.c:(.text+0x7962): undefined reference to `heal_monsters' obj-info.o: In function `dsc_enhance': obj-info.c:(.text+0x28cc): undefined reference to `item_tester_hook_bigwand' spells1.o: In function `project': spells1.c:(.text+0xebdd): undefined reference to `rxp_drain' spells1.c:(.text+0xecdf): undefined reference to `do_call_help' spells1.c:(.text+0xed01): undefined reference to `do_call_help' x-spell.o: In function `cast_chem_spell': x-spell.c:(.text+0x937): undefined reference to `mass_amnesia' x-spell.c:(.text+0x12e0): undefined reference to `zap_mimmic' x-spell.c:(.text+0x12ea): undefined reference to `mimmic_wand' x-spell.c:(.text+0x14c2): undefined reference to `enhance_wand' x-spell.o: In function `cast_dark_spell': x-spell.c:(.text+0x3914): undefined reference to `do_vampiric_drain' x-spell.c:(.text+0x3cd1): undefined reference to `do_call_help' x-spell.c:(.text+0x5364): undefined reference to `do_call_help' x-spell.c:(.text+0x5671): undefined reference to `do_call_help' x-spell.c:(.text+0x573d): undefined reference to `do_call_help' x-spell.c:(.text+0x5956): undefined reference to `do_call_help' x-spell.o: In function `cast_priest_spell': x-spell.c:(.text+0x6238): undefined reference to `truce' x-spell.c:(.text+0x64d4): undefined reference to `bless_weapon' x-spell.o: In function `cast_spell': x-spell.c:(.text+0x7d41): undefined reference to `do_call_help' x-spell.c:(.text+0x8e08): undefined reference to `treasure_map' x-spell.c:(.text+0x9274): undefined reference to `spell_potluck_stats' x-spell.c:(.text+0x929f): undefined reference to `spell_affect_other' x-spell.c:(.text+0x92ae): undefined reference to `spell_affect_self' x-spell.c:(.text+0x9533): undefined reference to `spell_adjust_curse' x-spell.c:(.text+0x9725): undefined reference to `mass_amnesia' x-spell.c:(.text+0xa014): undefined reference to `spell_wonder' x-spell.c:(.text+0xab51): undefined reference to `do_call_help' x-spell.c:(.text+0xaf56): undefined reference to `spell_wonder' x-spell.c:(.text+0xc182): undefined reference to `do_call_help' x-spell.c:(.text+0xc1ce): undefined reference to `do_call_help' x-spell.c:(.text+0xc3a3): undefined reference to `do_call_help' x-spell.c:(.text+0xc4d1): undefined reference to `do_call_help' x-spell.c:(.text+0xc542): undefined reference to `do_call_help' x-spell.o:x-spell.c:(.text+0xc609): more undefined references to `do_call_help' follow x-spell.o: In function `cast_spell': x-spell.c:(.text+0xf299): undefined reference to `spell_adjust_curse' x-spell.c:(.text+0xf2a8): undefined reference to `spell_potluck_stats' x-spell.c:(.text+0xf2b7): undefined reference to `spell_affect_self' x-spell.c:(.text+0xf2cd): undefined reference to `do_call_help' x-spell.c:(.text+0xf2e3): undefined reference to `do_call_help' x-spell.c:(.text+0xf2f9): undefined reference to `do_call_help' x-spell.c:(.text+0xf30f): undefined reference to `do_call_help' x-spell.c:(.text+0xf325): undefined reference to `do_call_help' x-spell.o:x-spell.c:(.text+0xf33d): more undefined references to `do_call_help' follow x-spell.o: In function `cast_spell': x-spell.c:(.text+0xfa44): undefined reference to `spell_affect_other' collect2: ld returned 1 exit status make: *** [dajangband] Error 1