Matt Miller wrote:
>
> The following C program:
>
> #include <math.h>
>
> int main ()
> {
> double p = pow (2, 3);
> return 0;
> }
>
> fails to link. ld issues the following complaint:
>
> undefined reference to `pow'
>
> Am I missing a library? How can I search libraries to see which
> library has a given function?
add -lm when linking
erik