Mail Archives: djgpp/1993/04/09/12:25:29
I'm writing a program in which I need to use bessel functions (jn(double,int)).
I don't need the accuracy of doubles, so I'm using floats... The compiler
can't find the linker can't find the function jn. I'm including math.h and
I'm linking libm.a. Could the problem be that, according to math.h the code
is actually C++ code and somehow the linker is looking for jn(float,int)
because of the way I've coded my program?
I know that other stuff in the math library works, sin, cos, etc. because I've
used those. I've never had a problem with passing floats or doubles to math
functions in other compilers...
Does anyone have any ideas!?
Thanks in advance.
Jon Nash
Tesla AT Lamar DOT ColoState DOT EDU
- Raw text -