From: Martin Str|mberg Subject: Re: Rhide 1.4.9: about message "Error: undefined reference to `_finite' " Newsgroups: comp.os.msdos.djgpp References: <2f478f73 DOT 0208040057 DOT 7436b26a AT posting DOT google DOT com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1028460902.466693@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 04 Aug 2002 11:35:02 GMT Lines: 38 NNTP-Posting-Date: 04 Aug 2002 11:35:02 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1028460902 news.luth.se 440 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andrea Pacquola wrote: : I have installed Rhide 1,4,9 on a system with Windows ME. : Rhide start using this file, (rhide.bat): : @echo off : setPATH=c:\djgpp\bin;%PATH% ^^ Missing space? : set DJGPP=c:\djgpp\djgpp.env : chdir c:\djgpp\prog..\bin\rhide.exe : I have tried the program hello.cpp: : # include < iostream > : using namespace std; : int main () : { : cout << "Hello world!"; : return 0; : } : Rhide shows this message: : Creating: hello.exe Error: : c:/djgpp/lib/gcc-lib/djgpp/3.1/libstdcxx.a(c++locale.o): In function : ` void std::__convert_to_v(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 think you need to add the math library to the library options and perhaps the cstd++ librabry as well. RIght, MartinS