Unresolved symbols in math library, 1.3.11
Nicholas Konidaris II
npk@jpl.nasa.gov
Wed Jul 3 14:34:00 GMT 2002
Hello,
I was trying to compile guile on cygwin 1.3.11 and came across a problem
which I've isolated in the folowing test code:
[TEST CODE]
#include <stdio.h>
#include <math.h>
int main(int argc, char **argv)
{
isfinite(3.0);
}
[/TEST CODE]
[LINKER OUTPUT]
$ gcc test.c -lm -o t
/cygdrive/c/DOCUME~1/NPK~1.NKO/LOCALS~1/Temp/ccWZrqml.o(.text+0x44):test.c:
unde
fined reference to `__fpclassifyd'
/cygdrive/c/DOCUME~1/NPK~1.NKO/LOCALS~1/Temp/ccWZrqml.o(.text+0x5f):test.c:
unde
fined reference to `__fpclassifyd'
collect2: ld returned 1 exit status
[/LINKER OUTPUT]
As you can see, the __fpclassify[fd] functions are not part of the math
library.
I nm'd /lib/libm.a and could not find those symbols there!
What can I do to fix this?
n
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list