Hi everyone. I am sort of a noob to linux.
I am writing a program on openSUSE 11.3 x64.
I want to link the math library. When I try to compile using GCC. Here is what I get.
bryan@linux-6x86:~/workspace/ece498/src> gcc main.c -l math
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lmath
collect2: ld returned 1 exit status
I am not sure what is the deal.
If you can please be specific on what is wrong and how to fix.
thanks