[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#92526: marked as done (glibc missing vital component)



Your message dated Mon, 2 Apr 2001 00:34:38 -0700
with message-id <20010402003438.A27096@vitelus.com>
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 jblack@linuxguru.net Mon Apr 02 02:15:36 2001
Return-path: <jblack@linuxguru.net>
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: submit@bugs.debian.org
Subject: glibc missing vital component
Message-ID: <20010402001359.A1855@linuxguru.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
From: James Blackwell <jblack@linuxguru.net>
Delivered-To: submit@bugs.debian.org

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:
jblack@comet:~$ 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 aaronl@vitelus.com Mon Apr 02 02:34:51 2001
Return-path: <aaronl@vitelus.com>
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 <aaronl@vitelus.com>
To: James Blackwell <jblack@linuxguru.net>, 92526-done@bugs.debian.org
Subject: Re: Bug#92526: glibc missing vital component
Message-ID: <20010402003438.A27096@vitelus.com>
References: <20010402001359.A1855@linuxguru.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <20010402001359.A1855@linuxguru.net>; from jblack@linuxguru.net on Mon, Apr 02, 2001 at 12:13:59AM -0700
Delivered-To: 92526-done@bugs.debian.org

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 to: