Re: [COMPILE] Circle30bpl15 and dg_pl6_with_oasis compile error

From: Prometheus (
Date: 03/18/99

Before you get too far, do you think you could post that Circle bpl15 with
oasis up on a site for us newbies?  I got about halfway into putting it into
the new 15, but I'm still too new at it I guess.

-----Original Message-----
From: Phillip Cowan <>
To: <>
Date: Thursday, March 18, 1999 8:30 PM
Subject:  [COMPILE] Circle30bpl15 and dg_pl6_with_oasis compile

>        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
>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.
>*** Compiling log ***
>make ../bin/circle
>make[1]: Entering directory
>gcc -o ../bin/circle  comm.o act.comm.o act.informative.o act.movement.o
>act.offensive.o act.other.o act.wizard.o alias.o ban.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_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_objcmd.o dg_scripts.o dg_triggers.o dg_wldcmd.o dg_olc.o -lcrypt
>oedit.o: In function `oedit_disp_spells_menu':
>undefined reference to `spells'
>make[1]: *** [../bin/circle] Error 1
>make[1]: Leaving directory
>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;
>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:  |
>     |  |
>     +------------------------------------------------------------+

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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