[Circle] [newbie][code] OLC patchprobs

From: invincibill (long@hercules.ntsource.com)
Date: 11/01/96


okay..i'm probably gonna get my pee pee spanked for asking this.....

i am going to remake my mud worlds from scratch...so i figured i had better
have an olc to help out my builders.
i decided on oasis.  when i applied the patch, it ran through some of the
messages and then said "ignoring the rest of the garbage".  this didnt look
exactly normal but i decided to go ahead and try to make it.  well, it
recompiled every file, i got no messages saying that any of the files were
up to date, then after all that i got a whole bunch of undefined symbols
errors and fatal errors.  i am running on unixware 2.0 and have had
absolutely zero problems compiling so far..not one.  i'm wondering if maybe
the patch and my sys had a disagreement...

here is the code i got if it will help.  if anybody has seen this before
please let me know.  i shudder at the idea of going in and trying to do it
all by hand, although i suppose it would be good for my "circlemud learning
curve" hehehe  or worse yet....write my own editor*shudder*  that would take
me several decades i suppose.. j/k

here is the tail end of the patch being applied  (patch < OasisOLC.patch)

--------------------------
|diff -c oldsrc/shop.c newsrc/shop.c
|*** oldsrc/shop.c      Mon Apr  8 18:13:54 1996
|--- newsrc/shop.c      Mon Apr  8 18:51:51 1996
--------------------------
Patching file shop.c using Plan A...
Hunk #1 succeeded at 12.
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|diff -c oldsrc/shop.h newsrc/shop.h
|*** oldsrc/shop.h      Mon Apr  8 18:13:55 1996
|--- newsrc/shop.h      Mon Apr  8 18:51:34 1996
--------------------------
Patching file shop.h using Plan A...
Hunk #1 succeeded at 95.
Hunk #2 succeeded at 103.
Hunk #3 succeeded at 134.
Hunk #4 succeeded at 145.
Hunk #5 succeeded at 154.
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|diff -c oldsrc/structs.h newsrc/structs.h
|*** oldsrc/structs.h   Mon Apr  8 18:13:54 1996
|--- newsrc/structs.h   Mon Apr  8 20:13:25 1996
--------------------------
Patching file structs.h using Plan A...
Hunk #1 succeeded at 219.
Hunk #2 succeeded at 733 (offset 3 lines).
Hunk #3 succeeded at 907 (offset 3 lines).
Hmm... Ignoring the trailing garbage.
done

and here is the last part that i got when i tried to make it right after the
patch.  i tried three time and got the exact
same thing all three times....(patch and remake)

        gcc -o ../bin/circle  comm.o act.comm.o act.informative.o
act.movement.o act.item.o  act.offensive.o act.other.o act.social.o
act.wizard.o ban.o
boards.o  castle.o class.o config.o constants.o db.o fight.o graph.o handler.o 
house.o interpreter.o limits.o magic.o mail.o mobact.o modify.o  objsave.o
olc.o shop.o spec_assign.o spec_procs.o spell_parser.o  spells.o utils.o
weather.o 
random.o -lcrypt -lmalloc -lsocket 
Undefined                       first referenced
 symbol                             in file
redit_parse                         interpreter.o
redit_disp_menu                     modify.o
medit_save_to_disk                  olc.o
redit_setup_new                     olc.o
oedit_parse                         interpreter.o
free_shop                           olc.o
oedit_save_to_disk                  olc.o
real_shop                           olc.o
redit_save_to_disk                  olc.o
zedit_new_zone                      olc.o
medit_disp_menu                     modify.o
medit_setup_existing                olc.o
medit_setup_new                     olc.o
oedit_disp_menu                     modify.o
oedit_setup_existing                olc.o
oedit_setup_new                     olc.o
zedit_setup                         olc.o
sedit_setup_new                     olc.o
zedit_parse                         interpreter.o
sedit_setup_existing                olc.o
free_room                           olc.o
sedit_parse                         interpreter.o
redit_setup_existing                olc.o
zedit_save_to_disk                  olc.o
redit_disp_exit_menu                modify.o
oedit_disp_extradesc_menu           modify.o
sedit_save_to_disk                  olc.o
medit_parse                         interpreter.o
redit_disp_extradesc_menu           modify.o
UX:ld: ERROR: ../bin/circle: fatal error: Symbol referencing errors. No
output w
ritten to ../bin/circle
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

pretty much the only code changes i have made so far that are more than
slightly structural are 3 funct that
list out mobs, objects, and rooms (very similar to the rlist, olist, and
mlist snippit)


any ideas??
sorry this is so long, but i'm totally stumped and need help in a bad way.

-bill

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST