Your message dated Mon, 2 Apr 2001 00:34:38 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#92526: glibc missing vital component
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Apr 2001 07:15:36 +0000
>From [EMAIL PROTECTED] Mon Apr 02 02:15:36 2001
Return-path: <[EMAIL PROTECTED]>
Received: from mercury.linuxguru.net (comet.linuxguru.net) [63.197.220.106] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 14jyYq-00014E-00; Mon, 02 Apr 2001 02:15:36 -0500
Received: from jblack by comet.linuxguru.net with local (Exim 3.22 #1 (Debian))
        id 14jyXH-0000YU-00; Mon, 02 Apr 2001 00:13:59 -0700
Date: Mon, 2 Apr 2001 00:13:59 -0700
To: [EMAIL PROTECTED]
Subject: glibc missing vital component
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
From: James Blackwell <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Package: libstdc++2.9-glibc2.1
Version: 2.91.66-4
Date; 1 April 2001

When attempting to cheat on my algebra homework, I attempted to square 
some numbers via the sqrt (see man 3 sqrt) function. Howevever, the
following c program fails to compile:

#include <math.h>
main() {
        double i=9;double j;
        j = sqrt(i);
        return 0;
}

Output:
[EMAIL PROTECTED]:~$ gcc test.c -o test
/tmp/cc49CcOy.o: In function `main':
/tmp/cc49CcOy.o(.text+0x1c): undefined reference to `sqrt'
collect2: ld returned 1 exit status

Results: I will fail my algebra test, become a bum, and never figure out
what times itself is 9, thereby ending my budding tic-tac-toe professional
career, and reducing me to a life of rotgut and warm exaust grates.
Suggested Resolution:
Immediately withdraw all versions of libstdc from all Debian GNU
distributions, and all packages dependant upon glibc until such time as
either the manual page for sqrt is correct, or sqrt is indeed collected.
The good news is that Debian GNU will once again fit upon one CD. :) 


-- 
Please consider encrypting emails to this address with gnupg
Key available by email, or from www.keyserver.net
K:1024D/06357400 FP:AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400


---------------------------------------
Received: (at 92526-done) by bugs.debian.org; 2 Apr 2001 07:34:51 +0000
>From [EMAIL PROTECTED] Mon Apr 02 02:34:51 2001
Return-path: <[EMAIL PROTECTED]>
Received: from vitelus.com [64.81.36.147] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 14jyrT-0001zS-00; Mon, 02 Apr 2001 02:34:51 -0500
Received: from aaronl by vitelus.com with local (Exim 3.22 #1 (Debian))
        id 14jyrG-00075l-00; Mon, 02 Apr 2001 00:34:38 -0700
Date: Mon, 2 Apr 2001 00:34:38 -0700
From: Aaron Lehmann <[EMAIL PROTECTED]>
To: James Blackwell <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#92526: glibc missing vital component
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Mon, Apr 02, 2001 
at 12:13:59AM -0700
Delivered-To: [EMAIL PROTECTED]

Closing this bug.

I suggest using -lm when compiling it to link in the math library.

On Mon, Apr 02, 2001 at 12:13:59AM -0700, James Blackwell wrote:
> When attempting to cheat on my algebra homework, I attempted to square 
> some numbers via the sqrt (see man 3 sqrt) function.

I used to do things like "perl -e 'print sqrt 41'" before I got
Mathematica. Much faster than writing a C program.

> Howevever, the
> following c program fails to compile:

If it's "C" why did you file a bug on libstdc++?


Reply via email to