22 Mar, 2009, pentair wrote in the 1st comment:
Votes: 0
right after downloading the code i compile.

make -s swreality
Compiling o/imc.o….
cc1: warnings being treated as errors
imc.c: In function ‘imc_recv_broadcast’:
imc.c:1901: warning: the address of ‘sender’ will always evaluate as ‘true’
imc.c: In function ‘imc_recv_chanwho’:
imc.c:2028: warning: the address of ‘cwho’ will always evaluate as ‘true’
imc.c: In function ‘imc_recv_isalive’:
imc.c:2640: warning: the address of ‘url’ will always evaluate as ‘true’
imc.c:2646: warning: the address of ‘version’ will always evaluate as ‘true’
imc.c:2652: warning: the address of ‘netname’ will always evaluate as ‘true’
imc.c:2664: warning: the address of ‘host’ will always evaluate as ‘true’
imc.c:2670: warning: the address of ‘iport’ will always evaluate as ‘true’
imc.c: In function ‘imc_recv_iceupdate’:
imc.c:2747: warning: the address of ‘chan’ will always evaluate as ‘true’
imc.c: In function ‘imc_process_authentication’:
imc.c:3231: warning: the address of ‘rname’ will always evaluate as ‘true’
imc.c:3244: warning: the address of ‘pw’ will always evaluate as ‘true’
imc.c:3287: warning: the address of ‘encrypt’ will always evaluate as ‘true’
imc.c: In function ‘imcsetup’:
imc.c:5600: warning: the address of ‘imccmd’ will always evaluate as ‘true’
imc.c:5600: warning: the address of ‘chan’ will always evaluate as ‘true’
imc.c:5668: warning: the address of ‘arg1’ will always evaluate as ‘true’
imc.c: In function ‘imcfinger’:
imc.c:6223: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imcconfig’:
imc.c:6582: warning: the address of ‘arg1’ will always evaluate as ‘true’
imc.c: In function ‘imcignore’:
imc.c:6853: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imcban’:
imc.c:6921: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imc_deny_channel’:
imc.c:6980: warning: the address of ‘vic_name’ will always evaluate as ‘true’
imc.c: In function ‘imcpermset’:
imc.c:7096: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imcremoteadmin’:
imc.c:7255: warning: the address of ‘server’ will always evaluate as ‘true’
imc.c:7255: warning: the address of ‘cmd’ will always evaluate as ‘true’
imc.c: In function ‘imccedit’:
imc.c:7408: warning: the address of ‘name’ will always evaluate as ‘true’
imc.c:7408: warning: the address of ‘option’ will always evaluate as ‘true’
imc.c: In function ‘imchedit’:
imc.c:7625: warning: the address of ‘name’ will always evaluate as ‘true’
imc.c:7625: warning: the address of ‘cmd’ will always evaluate as ‘true’
imc.c: In function ‘imc_send_social’:
imc.c:8105: warning: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:8112: warning: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:8119: warning: the address of ‘socbuf’ will always evaluate as ‘true’
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2

i am using newest versions :mad: of ubuntu and gcc.
22 Mar, 2009, Guest wrote in the 2nd comment:
Votes: 0
You should venture over to the smaugmuds.org website and grab the SWRFUSS 1.3 package from there. That's been updated for the gcc spam you just got.
22 Mar, 2009, pentair wrote in the 3rd comment:
Votes: 0
ok thanks i will try that
22 Mar, 2009, pentair wrote in the 4th comment:
Votes: 0
got the new code and got these errors now.

make -s swreality
Compiling o/imc.o….
Compiling o/act_comm.o….
Compiling o/act_info.o….
Compiling o/act_move.o….
Compiling o/act_obj.o….
Compiling o/act_wiz.o….
Compiling o/boards.o….
Compiling o/bounty.o….
Compiling o/build.o….
Compiling o/clans.o….
Compiling o/color.o….
Compiling o/comm.o….
comm.c: In function ‘char* act_string(const char*, CHAR_DATA*, CHAR_DATA*, const void*, const void*)’:
comm.c:2488: error: ‘MSL’ was not declared in this scope
comm.c:2590: error: ‘temp’ was not declared in this scope
comm.c:2600: error: ‘temp’ was not declared in this scope
cc1plus: warnings being treated as errors
comm.c: At global scope:
comm.c:49: warning: ‘rgObjNest’ defined but not used
make[1]: *** [o/comm.o] Error 1
make: *** [all] Error 2
22 Mar, 2009, Keberus wrote in the 5th comment:
Votes: 0
comm.c: In function ‘char* act_string(const char*, CHAR_DATA*, CHAR_DATA*, const void*, const void*)’: 
comm.c:2488: error: ‘MSL’ was not declared in this scope
comm.c:2590: error: ‘temp’ was not declared in this scope
comm.c:2600: error: ‘temp’ was not declared in this scope


To fix these just change the reference in comm.c, act_string from
char temp[MSL];


to:
char temp[MAX_STRING_LENGTH];


warning: ‘rgObjNest’ defined but not used


You can safely delete that line and it will stop giving you an error message.


Also, I just downloaded and compiled and you will get another error.
save.c: In function ‘void load_plr_home(CHAR_DATA*)’:
save.c:2141: error: invalid conversion from ‘const char*’ to ‘char*’


to fix in save.c line 2125 change:
char *word;


to:
const char *word;


After doing that, you should have a clean make.
22 Mar, 2009, pentair wrote in the 6th comment:
Votes: 0
thanks i will try later. to tired right now
0.0/6