I'm using gcc to write a small cgi-bin program.  The program is calculate.c and it was compiled using a script<br>
<br>
gcc -c calculate.c<br>
gcc calculate.o -o calculate.cgi -L./ -lcgic<br>
chmod 777 calculate.cgi<br>
<br>
All was well until I needed to use the pow function.  I used <br>
#include <math.h><br>
as in the past but when I link I get<br>
<br>
calculate.o(.text+0x14bf): In function `cgiMain':<br>
calculate.c: undefined reference to `pow'<br>
 <br>
when I look at math.h there is no reference to pow.  Can anyone
help or suggest another forum where I can ask this question?<br>
<br>
Thanks in advance,<br>
/Bob Cahn<br>
Gipsy Trail Club<br>
Carmel, NY 10512<br>