delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/03/17:17:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000501c222d7$8623a070$d1a14e89@NKONID2K>
From: "Nicholas Konidaris II" <npk AT jpl DOT nasa DOT gov>
To: <cygwin AT cygwin DOT com>
Subject: Unresolved symbols in math library, 1.3.11
Date: Wed, 3 Jul 2002 14:20:58 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019