when i type make, these are the errors i got
gcc -g -c -Wall act_comm.c
gcc -g -c -Wall act_info.c
gcc -g -c -Wall act_move.c
gcc -g -c -Wall act_obj.c
act_obj.c: In function âdo_sacrificeâ:
act_obj.c:2277: warning: integer constant is too large for âlongâ type
act_obj.c:2370: warning: integer constant is too large for âlongâ type
gcc -g -c -Wall act_wiz.c
act_wiz.c: In function âdo_msetâ:
act_wiz.c:3636: warning: integer constant is too large for âlongâ type
act_wiz.c:3640: warning: integer constant is too large for âlongâ type
act_wiz.c: At top level:
act_wiz.c:6912: error: static declaration of âdir_nameâ follows non-static declaration
merc.h:5797: error: previous declaration of âdir_nameâ was here
act_wiz.c: In function âdo_copyoverâ:
act_wiz.c:7290: warning: implicit declaration of function âlogfâ
act_wiz.c:7290: warning: incompatible implicit declaration of built-in function âlogfâ
act_wiz.c:7290: error: incompatible type for argument 1 of âlogfâ
act_wiz.c:7290: error: too many arguments to function âlogfâ
act_wiz.c: In function âcopyover_recoverâ:
act_wiz.c:7374: warning: incompatible implicit declaration of built-in function âlogfâ
act_wiz.c:7374: error: incompatible type for argument 1 of âlogfâ
act_wiz.c:7381: error: incompatible type for argument 1 of âlogfâ
make: *** [act_wiz.o] Error 1
i think the server is running redhat 9
|