Weird make error.

Login to reply  Page: « < 1 of 1 > »
07 Jun 2010 - 20:072683
Weird make error.
Trying to hand patch the crafts code. Make gave me this stuff:

raymond@raymond-laptop:~/tbamud-3.61/tbamud-3.61$ cd src
raymond@raymond-laptop:~/tbamud-3.61/tbamud-3.61/src$ make clean
make: Warning: File `Makefile' has modification time 3.1e+04 s in the future
gcc -MM *.c > depend
make: Warning: File `Makefile' has modification time 3.1e+04 s in the future
rm -f *.o depend
make: warning: Clock skew detected. Your build may be incomplete.
raymond@raymond-laptop:~/tbamud-3.61/tbamud-3.61/src$

raymond@raymond-laptop:~/tbamud-3.61/tbamud-3.61/src$ make
make: Warning: File `Makefile' has modification time 3.1e+04 s in the future
gcc -MM *.c > depend
make: Warning: File `Makefile' has modification time 3.1e+04 s in the future
make ../bin/circle
make[1]: Entering directory `/home/raymond/tbamud-3.61/tbamud-3.61/src'
make[1]: Warning: File `Makefile' has modification time 3.1e+04 s in the future
gcc -g -O2 -Wall -c -o act.comm.o act.comm.c
gcc -g -O2 -Wall -c -o act.informative.o act.informative.c
act.informative.c: In function :
act.informative.c:2582: warning: format not a string literal and no format arguments
gcc -g -O2 -Wall -c -o act.item.o act.item.c
gcc -g -O2 -Wall -c -o act.movement.o act.movement.c
gcc -g -O2 -Wall -c -o act.offensive.o act.offensive.c
gcc -g -O2 -Wall -c -o act.other.o act.other.c
gcc -g -O2 -Wall -c -o act.social.o act.social.c
gcc -g -O2 -Wall -c -o act.wizard.o act.wizard.c
gcc -g -O2 -Wall -c -o aedit.o aedit.c
gcc -g -O2 -Wall -c -o asciimap.o asciimap.c
gcc -g -O2 -Wall -c -o ban.o ban.c
gcc -g -O2 -Wall -c -o boards.o boards.c
gcc -g -O2 -Wall -c -o bsd-snprintf.o bsd-snprintf.c
gcc -g -O2 -Wall -c -o castle.o castle.c
gcc -g -O2 -Wall -c -o cedit.o cedit.c
gcc -g -O2 -Wall -c -o class.o class.c
gcc -g -O2 -Wall -c -o comm.o comm.c
gcc -g -O2 -Wall -c -o config.o config.c
gcc -g -O2 -Wall -c -o constants.o constants.c
gcc -g -O2 -Wall -c -o craft.o craft.c
gcc -g -O2 -Wall -c -o db.o db.c
gcc -g -O2 -Wall -c -o dg_comm.o dg_comm.c
gcc -g -O2 -Wall -c -o dg_db_scripts.o dg_db_scripts.c
gcc -g -O2 -Wall -c -o dg_event.o dg_event.c
gcc -g -O2 -Wall -c -o dg_handler.o dg_handler.c
gcc -g -O2 -Wall -c -o dg_misc.o dg_misc.c
gcc -g -O2 -Wall -c -o dg_mobcmd.o dg_mobcmd.c
gcc -g -O2 -Wall -c -o dg_objcmd.o dg_objcmd.c
gcc -g -O2 -Wall -c -o dg_olc.o dg_olc.c
gcc -g -O2 -Wall -c -o dg_scripts.o dg_scripts.c
gcc -g -O2 -Wall -c -o dg_triggers.o dg_triggers.c
gcc -g -O2 -Wall -c -o dg_variables.o dg_variables.c
gcc -g -O2 -Wall -c -o dg_wldcmd.o dg_wldcmd.c
gcc -g -O2 -Wall -c -o fight.o fight.c
gcc -g -O2 -Wall -c -o genmob.o genmob.c
gcc -g -O2 -Wall -c -o genobj.o genobj.c
gcc -g -O2 -Wall -c -o genolc.o genolc.c
gcc -g -O2 -Wall -c -o genqst.o genqst.c
gcc -g -O2 -Wall -c -o genshp.o genshp.c
gcc -g -O2 -Wall -c -o genwld.o genwld.c
gcc -g -O2 -Wall -c -o genzon.o genzon.c
gcc -g -O2 -Wall -c -o graph.o graph.c
gcc -g -O2 -Wall -c -o handler.o handler.c
gcc -g -O2 -Wall -c -o hedit.o hedit.c
gcc -g -O2 -Wall -c -o house.o house.c
gcc -g -O2 -Wall -c -o ibt.o ibt.c
gcc -g -O2 -Wall -c -o improved-edit.o improved-edit.c
gcc -g -O2 -Wall -c -o interpreter.o interpreter.c
gcc -g -O2 -Wall -c -o limits.o limits.c
gcc -g -O2 -Wall -c -o magic.o magic.c
gcc -g -O2 -Wall -c -o mail.o mail.c
gcc -g -O2 -Wall -c -o medit.o medit.c
gcc -g -O2 -Wall -c -o mobact.o mobact.c
gcc -g -O2 -Wall -c -o modify.o modify.c
gcc -g -O2 -Wall -c -o oasis.o oasis.c
gcc -g -O2 -Wall -c -o oasis_copy.o oasis_copy.c
gcc -g -O2 -Wall -c -o oasis_delete.o oasis_delete.c
gcc -g -O2 -Wall -c -o oasis_list.o oasis_list.c
gcc -g -O2 -Wall -c -o objsave.o objsave.c
gcc -g -O2 -Wall -c -o oedit.o oedit.c
gcc -g -O2 -Wall -c -o players.o players.c
gcc -g -O2 -Wall -c -o prefedit.o prefedit.c
gcc -g -O2 -Wall -c -o qedit.o qedit.c
gcc -g -O2 -Wall -c -o quest.o quest.c
gcc -g -O2 -Wall -c -o random.o random.c
gcc -g -O2 -Wall -c -o redit.o redit.c
gcc -g -O2 -Wall -c -o sedit.o sedit.c
gcc -g -O2 -Wall -c -o shop.o shop.c
gcc -g -O2 -Wall -c -o spec_assign.o spec_assign.c
gcc -g -O2 -Wall -c -o spec_procs.o spec_procs.c
gcc -g -O2 -Wall -c -o spell_parser.o spell_parser.c
gcc -g -O2 -Wall -c -o spells.o spells.c
gcc -g -O2 -Wall -c -o tedit.o tedit.c
gcc -g -O2 -Wall -c -o utils.o utils.c
gcc -g -O2 -Wall -c -o weather.o weather.c
gcc -g -O2 -Wall -c -o zedit.o zedit.c
gcc -g -O2 -Wall -c -o zmalloc.o zmalloc.c
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/home/raymond/tbamud-3.61/tbamud-3.61/src'
make utils
make[1]: Entering directory `/home/raymond/tbamud-3.61/tbamud-3.61/src'
make[1]: Warning: File `Makefile' has modification time 3.1e+04 s in the future
(cd util; make all)
make[2]: Entering directory `/home/raymond/tbamud-3.61/tbamud-3.61/src/util'
make[2]: Warning: File `depend' has modification time 3.1e+04 s in the future
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/asciipasswd asciipasswd.c -lcrypt
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/autowiz autowiz.c
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/plrtoascii plrtoascii.c
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/shopconv shopconv.c
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/sign sign.c
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/split split.c
gcc -g -O2 -Wall -DCIRCLE_UTIL -I.. -o ../../bin/wld2html wld2html.c
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Leaving directory `/home/raymond/tbamud-3.61/tbamud-3.61/src/util'
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/home/raymond/tbamud-3.61/tbamud-3.61/src'
make: warning: Clock skew detected. Your build may be incomplete.
raymond@raymond-laptop:~/tbamud-3.61/tbamud-3.61/src$

code snippet from act.informative.c

/* may want to add more restrictions here, too */
send_to_char(ch, "You quickly scan the area.\r\n");
for (door = 0; door < NUM_OF_DIRS - 2; door++) /* don't scan up/down */
if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE &&
!IS_SET(EXIT(ch, door)->exit_info, EX_CLOSED)
&& !IS_DARK(EXIT(ch, door)->to_room)) {
if (world[EXIT(ch, door)->to_room].people) {
list_scanned_chars(world[EXIT(ch, door)->to_room].people, ch, 0, door);
} else if (_2ND_EXIT(ch, door) && _2ND_EXIT(ch, door)->to_room !=
NOWHERE && !IS_SET(_2ND_EXIT(ch, door)->exit_info, EX_CLOSED)
&& !IS_DARK(_2ND_EXIT(ch, door)->to_room)) {
/* check the second room away */
if (world[_2ND_EXIT(ch, door)->to_room].people) {
list_scanned_chars(world[_2ND_EXIT(ch, door)->to_room].people, ch, 1, door);
} else if (_3RD_EXIT(ch, door) && _3RD_EXIT(ch, door)->to_room !=
NOWHERE && !IS_SET(_3RD_EXIT(ch, door)->exit_info, EX_CLOSED)
&& !IS_DARK(_3RD_EXIT(ch, door)->to_room)) {
/* check the third room */
if (world[_3RD_EXIT(ch, door)->to_room].people) {
list_scanned_chars(world[_3RD_EXIT(ch, door)->to_room].people, ch, 2,
door);
}

}
}
}
}


07 Jun 2010 - 20:102685
Which one is line 2582?


07 Jun 2010 - 21:522686
My bad, I was WAY off. That line reads:

}
send_to_char(ch, buf);
}


07 Jun 2010 - 21:562687
A little thing aside. I was coding on another computer. The server the MUD normally runs on is remote. I put the MUD on a flash USB to code so I wouldn't crash the MUD itself if I messed up the patch. Researching, I found that the time error thing has something to do with an internal clock.

I really have no idea.


08 Jun 2010 - 03:302688
Time Skew Error: Fixed
Drink Error: Unresolved
Act.Informative.c Error: Unresolved

GR!


08 Jun 2010 - 22:032689
time skew:

touch Makefile
make clean
make


warning:
send_to_char(ch, "%s", buf);


__________________
You know who I am.
Login to reply  Page: « < 1 of 1 > »