This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
"undefined symbols" error for the mathematic fuctions
- From: "Chenghai Sun" <csun at steele dot mgh dot harvard dot edu>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 7 Nov 2003 18:06:47 -0500
- Subject: "undefined symbols" error for the mathematic fuctions
Dear gcc-helper,
I tried to compile C codes with gcc on Sparc-Sun-Solaris-2.8.
It returned "undefined symbols" error for the mathematic fuctions, such as
sin, con, sqrt.
I included header <math.h> in code. I think it could not find some libraries
it needed.
I would realy appreciate if you could tell me how to make it work.
Chenghai Sun