delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/29/23:27:50

From: "Jason" <jr_4226 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Undefined reference to _finite
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Original-NNTP-Posting-Host: 211.26.8.76
Message-ID: <3cf5917c_1@news.iprimus.com.au>
X-Original-NNTP-Posting-Host: 127.0.0.1
Organization: iPrimus Customer - reports relating to abuse should be sent to abuse AT iprimus DOT com DOT au
Date: Thu, 30 May 2002 02:41:12 GMT
NNTP-Posting-Host: 203.134.67.67
X-Complaints-To: news AT primus DOT ca
X-Trace: news.tor.primus.ca 1022726472 203.134.67.67 (Wed, 29 May 2002 22:41:12 EDT)
NNTP-Posting-Date: Wed, 29 May 2002 22:41:12 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi All,

  A strange one for you - after compiling a C++ program successfully using
RHIDE and GCC v 3.1, I get a strange linker error:

Error: c:/djgpp/lib/gcc-lib/djgpp/3.1/libstdcxx.a(c++locale.o): In function
` void std::__convert_to_v<float>(char const*, float&, std::_Ios_Iostate&,
int* const&, int)':
c++locale.o(135) Error: undefined reference to `_finite'
Error: collect2: ld returned 1 exit status

  I read a previous thread in this regard, and linking in libm.a doesn't fix
it.  Also, libstdcxx.a is linked automatically.

  What could be the problem?

  Jase.



- Raw text -


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