This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Unresolved symbols in math library, 1.3.11
- From: "Nicholas Konidaris II" <npk at jpl dot nasa dot gov>
- To: <cygwin at cygwin dot com>
- Date: Wed, 3 Jul 2002 14:20:58 -0700
- Subject: Unresolved symbols in math library, 1.3.11
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/