This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]