math.h doesn't include pow?

2004-11-08 Thread Vince Sabio
My C library documentation states that the pow (power) function is included in math.h. However, when I go to link (compiling and linking with gcc), I get the following: In function `[function name]': [path/]datetime.c:668: undefined reference to `pow' Yes, I'm including math.h. If I compile the

Re: math.h doesn't include pow?

2004-11-08 Thread Peter Seebach
In message [EMAIL PROTECTED], Vince Sabio writes: My C library documentation states that the pow (power) function is included in math.h. However, when I go to link (compiling and linking with gcc), I get the following: In function `[function name]': [path/]datetime.c:668: undefined reference to

Re: math.h doesn't include pow?

2004-11-08 Thread Vince Sabio
** Sometime around 13:03 -0600 11/08/2004, Peter Seebach sent everyone: In message [EMAIL PROTECTED], Vince Sabio writes: In function `[function name]': [path/]datetime.c:668: undefined reference to `pow' Yes, I'm including math.h. If I compile the exact same code under Darwin (BSD on PowerPC), it

Re: math.h doesn't include pow?

2004-11-08 Thread Peter Seebach
In message [EMAIL PROTECTED], Vince Sabio writes: I thought it must have been, so I searched my list archives -- which, admittedly, go back only to January of this year -- but didn't find anything on this problem. If there's a formal FreeBSD FAQ, I'd be happy to be clue-batted with it FFR.