From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29537 invoked from network); 19 Mar 1998 14:49:06 -0000 Received: from zruty.comnets.rwth-aachen.de (137.226.4.16) by mail2.redhat.com with SMTP; 19 Mar 1998 14:49:06 -0000 Received: from dilbert.comnets.rwth-aachen.de (dilbert [137.226.4.242]) by zruty.comnets.rwth-aachen.de (8.8.8/8.8.8) with ESMTP id PAA06567; Thu, 19 Mar 1998 15:48:20 +0100 (MET) Received: (ost@localhost) by dilbert.comnets.rwth-aachen.de (8.6.12/COMNETS-1.0) id PAA12219; Thu, 19 Mar 1998 15:48:18 +0100 Sender: ost@comnets.rwth-aachen.de To: Tom Browder Cc: axp-list@redhat.com Subject: Re: sqrt FPE's and fclose errors References: Reply-To: Martin Ostermann x-no-archive: yes From: Martin Ostermann Date: 19 Mar 1998 15:48:17 +0100 In-Reply-To: Tom Browder's message of Thu, 19 Mar 1998 08:07:43 -0600 (CST) Message-ID: <434t0uohxq.fsf@comnets.rwth-aachen.de> X-Mailer: Gnus v5.3/Emacs 19.34 Tom Browder writes: > I should have added that the fclose error ONLY > occurs when using g++, not gcc. This has been know for months, and I really wonder why it hadn't been fixed by now. Maybe we should scream "security flaw!" , and see what happens ... Anyway, I was told the cause is a duplication of functions in libc and somewhere in libstc++ of libg++. Often those libraries aren't really needed, but since g++ is trying to link them, the wrong functions are taken. Try to use 'gcc' instead of 'g++', this often works. If you get missing symbols during linking, try 'gcc -lc -lstc++' instead, (or even 'gcc -lc -lstc++ -lg++', though I havn't used that on jet). Also, you could use egcs-1.0.1, or even try out how the freshly released gcc-2.8.1 works on RH-5.0. HTH, Martin -- Martin Ostermann | mailto:ost+sig0@comnets.rwth-aachen.de Communication Networks | http://www.comnets.rwth-aachen.de/~ost Aachen University of Technology | phone: ++49/241/807917 Germany | fax: ++49/241/8888242