[COMPILE] Circle30bpl15 and dg_pl6_with_oasis compile error

From: Phillip Cowan (PCowan@asapintra.net)
Date: 03/18/99


Circlers'

        Ok, this one's got me miffed.  I am applying the latest
"dg_pl5a_with_oasis_patch" and "dg_with_oasis_pl5a_to_pl6_patch" to the new
Circle30bpl15, because I just happened to be rebuilding my circle30bpl14
version and I figured I would give it a shot.  The patches didn't do a lot,
so I had to do most by hand, and I am close to having it put together.  All
the .c files compile but once it tries to put the /bin/circle together, it
chokes.  I keep getting the compile error below.  I have spent the afternoon
scanning previous posts for info, but all the things suggested were either
fine or didn't seem to affect it. (and, yes, I have stripped my configure
logs and re-configured.). Oh, and this is on a RedHat Linux 5.2 / i386 and
just so you know... circle30bpl15 works perfectly.

Any ideas? Any would be much appreciated.

-vittlemaster

*** Compiling log ***

make ../bin/circle
make[1]: Entering directory
`/inet/circle30bpl15.vittlemaster/dg+oasis.o.circle/src'
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 alias.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 random.o shop.o
spec_assign.o
spec_procs.o spell_parser.o spells.o utils.o weather.o redit.o oedit.o
zedit.o medit.o
sedit.o dg_comm.o dg_db_scripts.o dg_event.o dg_handler.o dg_mobcmd.o
dg_misc.o
dg_objcmd.o dg_scripts.o dg_triggers.o dg_wldcmd.o dg_olc.o -lcrypt
oedit.o: In function `oedit_disp_spells_menu':
/inet/circle30bpl15.vittlemaster/dg+oasis.o.circle/src/oedit.c:591:
undefined reference to `spells'
make[1]: *** [../bin/circle] Error 1
make[1]: Leaving directory
`/inet/circle30bpl15.vittlemaster/dg+oasis.o.circle/src'
make: *** [all] Error 2

*** end Compiling log ***

*** snip of oedit.c ***

38:    extern const char *apply_types[];
39:    extern const char *container_bits[];
40:    extern const char *spells[];
41:    extern struct board_info_type board_info[];

582:   void oedit_disp_spells_menu(struct descriptor_data *d)
583:   {
584:     int counter, columns = 0;
585:
586:     get_char_cols(d->character);
587:   #if defined(CLEAR_SCREEN)
588:     send_to_char("^[[H^[[J", d->character);
589:   #endif
590:     for (counter = 0; counter < NUM_SPELLS; counter++) {
591:       sprintf(buf, "%s%2d%s) %s%-20.20s %s", grn, counter, nrm, yel,
592:                spells[counter], !(++columns % 3) ? "\r\n" : "");
593:       send_to_char(buf, d->character);
594:     }
595:     sprintf(buf, "\r\n%sEnter spell choice (0 for none) : ", nrm);
596:     send_to_char(buf, d->character);
597:   }

*** end snip oedit.c ***


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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