Re: 30bpl19_dgolc + race errors help..

From: Welcor (welcor@dune.net)
Date: 10/02/01


From: "Mielikki" <mielikki@EXILEMUD.COM>
> 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 races .o -lcrypt
> act.comm.o: In function `do_say':
> /cygdrive/c/circle19/src/act.comm.c:62: undefined reference to
> `speech_mtrigger'
>
> /cygdrive/c/circle19/src/act.comm.c:63: undefined reference to
> `speech_wtrigger'

ERhm... You have altered your makefile (maybe run ./configure ?). Anyhow,
you've deleted the lines containing the olc (and script) files from your
makefile. This (of course) causes "undefined references" (=the compiler
can't find the functions, since they're not included in the make).

To fix:

Alter your makefile (AND your makefile.in) and add all the dg_*.o files , as
well as all files pertaining olc: redit.o, gen???.o, etc. in the OBJ_FILES
list (after races.o).
then 'rm depend' and 'make depend' and finally 'make'.

You should now have no more troubles with the invalid references.

Welcor

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST