delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/17/13:00:24

From: Simon Owen <simon DOT owen AT contactme DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sample program
Message-ID: <535sgukparov2914an81gtguukc0p4luck@4ax.com>
References: <aeksgp$a4b$1 AT news DOT tpi DOT pl>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Lines: 10
X-Complaints-To: abuse AT easynews DOT com
Organization: EasyNews, UseNet made Easy! - Test our service with our FREE trial at https://www.easynews.com/trial/trial.phtml
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 17 Jun 2002 16:56:17 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 17 Jun 2002 16:30:41 +0200, "jakub" <jakub AT mks DOT com DOT pl> wrote:
>c++locale.o(135) Error: undefined reference to `_finite'
>Error: collect2: ld returned 1 exit status

Try changing the order of libraries for the linking stage, so -lstdcxx
comes first (or certainly before -lm, if you use that).  That seemed
to fix it for me anyway.

Si

- Raw text -


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