Go Back   Angband Forums > Angband > Variants

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 2, 2013, 13:53   #1
Therem Harth
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Extraneous typedefs in PosChengband

With 1.0.21:

$ 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
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.
Therem Harth is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Announce] PosChengband 1.0.0 chris Variants 411 October 19, 2014 08:22
PosChengband dual wield. Dougiegee Variants 5 January 18, 2013 22:52

All times are GMT +1. The time now is 12:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.