Re: [code] POW problem... Sep 3, 97 01:55:02 pm

From: Andrew Helm (ashe@IGLOU.COM)
Date: 09/03/97


> But when i'm porting the code to a linux box, the damn thing tells me
> that pow() is a undefined reference... any clue for this? (This in two
> different machines, one with the slackware distribution and other with
> Red Hat, both with GCC.

When you link the object files, include a "-lm"


     +------------------------------------------------------------+
     | 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/08/00 PST