Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!awdprime.austin.ibm.com!sdl From: sdl@adagio.austin.ibm.com (sdl) Newsgroups: comp.unix.aix Subject: Re: strange errors compiling GCC Message-ID: Date: 5 Apr 91 21:22:19 GMT References: <1991Apr5.155207.26934@rhrk.uni-kl.de> Sender: news@awdprime.UUCP Reply-To: sdl@glasnost.austin.ibm.com Organization: IBM PS Programming Lines: 24 In-reply-to: unger@aix1.rhrk.uni-kl.de's message of 5 Apr 91 15:52:07 GMT >>>>> unger@aix1.rhrk.uni-kl.de writes: In article <1991Apr5.155207.26934@rhrk.uni-kl.de> unger@aix1.rhrk.uni-kl.de writes: Thomas> when the compiler (cc) tries to link the modules for 'cc1' Thomas> it reports two unresolved labels called 'scalb' and 'finite'. Thomas> but none of these labels occur in any of the .o or .c files Thomas> that are linked together. Thomas> am i wrong ? where's my fault ? This is a library bug. Your code is probably pulling frexp() from libc, which generates the dependency for scalb() and finite(). However, scalb() and finite() are in libm, not libc. This will be fixed in the next release. In the meantime, link with libm and you'll pick up the missing routines. If you're not picking up frexp() from libc please send me a note; it's not something I know about and I need to investigate further. -- -------------------------------------------------------------------- Stephen Linam AWD Austin T/L: 793-3674 Bell-net: (512) 823-3674 IBM Internet: sdl@adagio.austin.ibm.com VNET: LINAM at AUSTIN From outside IBM: sdl@glasnost.austin.ibm.com