With 1.0.21:
There are unnecessary typedefs in fear.h (line 4), equip.h (71), and bldg.c (3296 IIRC) that will prevent the game from compiling (at least on Linux). Removing those extra typedefs makes it compile normally.
Note BTW that this is 32-bit Linux, not 64. I'm also using a custom GrSecurity kernel, though I don't think that matters in this case.
Code:
$ make -f makefile.linux gcc -Wall -O2 -fno-strength-reduce -pipe -g -D"USE_X11" -D"USE_GCU" -I/usr/X11R6/include -c -o archaeologist.o archaeologist.c In file included from angband.h:57:0, from archaeologist.c:5: fear.h:4:29: error: redefinition of typedef ‘monster_type’ types.h:589:29: note: previous declaration of ‘monster_type’ was here In file included from angband.h:58:0, from archaeologist.c:5: equip.h:71:16: error: redefinition of typedef ‘object_p’ externs.h:1325:16: note: previous declaration of ‘object_p’ was here make: *** [archaeologist.o] Error 1
Note BTW that this is 32-bit Linux, not 64. I'm also using a custom GrSecurity kernel, though I don't think that matters in this case.
Comment