Wierd error?

From: Mendou (nikolai@MONTANA.COM)
Date: 03/14/98


I modified do_who in act.informative.c a bit and when I compiled,
I got a wierd error.  Here's the compiler output:

george:~/psycho/src# make
make ../bin/circle
make[1]: Entering directory `/root/psycho/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 ban.o
boards.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
comm.o: In function `main':
/root/psycho/src/comm.c:172: undefined reference to `mcount'
comm.o: In function `init_game':
/root/psycho/src/comm.c:256: undefined reference to `mcount'
comm.o: In function `init_socket':
/root/psycho/src/comm.c:330: undefined reference to `mcount'
comm.o: In function `get_max_players':
/root/psycho/src/comm.c:413: undefined reference to `mcount'
comm.o: In function `game_loop':
/root/psycho/src/comm.c:507: undefined reference to `mcount'
comm.o:/root/psycho/src/comm.c:733: more undefined references to `mcount'
followmake[1]: *** [../bin/circle] Error 1
make[1]: Leaving directory `/root/psycho/src'
make: *** [all] Error 2

The two of these points in the code I checked (line 172 and 256)
point to the opening brace of a function.

Any help would be greatly appreciated.

Jon Nielsen
nikolai@montana.com

"Where once was many, few now stand. The best and the brightest,
remaining steadfast in the face of the relentless enemy called
Reality. It's sweet embrace giving oblivion to those foolish enough
to step into it."
- Troy McLeod


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



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