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

Bug#231313: marked as done (libc6-dev: function 'pow', not found in 'math.h'?!)



Your message dated Thu, 5 Feb 2004 13:23:54 -0800
with message-id <20040205212354.GC2103@marge.v3.ca>
and subject line Bug#231313: libc6-dev: function 'pow', not found in 'math.h'?!
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Feb 2004 19:25:20 +0000
>From per@pb.homelinux.net Thu Feb 05 11:25:20 2004
Return-path: <per@pb.homelinux.net>
Received: from av7-1-sn1.fre.skanova.net [81.228.11.113] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Aop7o-0001ak-00; Thu, 05 Feb 2004 11:25:20 -0800
Received: by av7-1-sn1.fre.skanova.net (Postfix, from userid 502)
	id 0266F37E6C; Thu,  5 Feb 2004 20:24:46 +0100 (CET)
Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164])
	by av7-1-sn1.fre.skanova.net (Postfix) with ESMTP id E73F337E44
	for <submit@bugs.debian.org>; Thu,  5 Feb 2004 20:24:46 +0100 (CET)
Received: from pdebian (h192n1fls33o951.telia.com [213.66.78.192])
	by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP
	id A5B7C37E6D; Thu,  5 Feb 2004 20:24:46 +0100 (CET)
Received: from per by pdebian with local (Exim 3.36 #1 (Debian))
	id 1Aop9C-0000g1-00; Thu, 05 Feb 2004 20:26:46 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Per Blomqvist <per.blomqvist@telia.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: function 'pow', not found in 'math.h'?!
X-Mailer: reportbug 2.39
Date: Thu, 05 Feb 2004 20:26:46 +0100
Message-Id: <[🔎] E1Aop9C-0000g1-00@pdebian>
Sender: Per Blomqvist <per@pb.homelinux.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE,PLING_QUERY 
	autolearn=no version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Package: libc6-dev
Version: 2.3.2.ds1-11
Severity: grave
Tags: experimental
Justification: renders package unusable


Hello, Im Debian-sarge user.

function 'pow' are suppose to be in the 'math.h' according the "C
Library manual" glibc-doc.. :
file:///usr/share/doc/glibc-doc/html/libc_19.html#SEC394
(if you have it installed)

That was that. 

But there is one more thing that puzzle me is this:
Command: "dpkg -l glibc*" list:
un  glibc                       (Don't exist in my dselectlist)
un  glibc-2.3.2.ds1-11          (Don't exist in my dselect-list nether)
ii  glibc-doc   2.3.2.ds1-11    (THIS EXIST, I have it installed) GNU C Library: Documentation
un  glibc-pic                   (Don't exist in my dselectlist)
un  glibc2                      (Don't exist in my dselectlist)
un  glibcdoc                    (Don't exist in my dselectlist)

And command: "dpkg -l libc6*" list:
ii  libc6       2.3.2.ds1-11    GNU C Library: Shared libraries and Timezone data
un  libc6-bin           (Don't exist in my dselectlist)
pn  libc6-dbg
ii  libc6-dev           (this bugreport! GNU C Library: Development Libraries and Header Files)
un  libc6-doc           (Don't exist in my dselectlist)
pn  libc6-i686          
pn  libc6-pic
pn  libc6-prof
un  libc6.1             (Don't exist in my dselectlist)
un  libc6.1-dbg         (Don't exist in my dselectlist)
un  libc6.1-dev         (Don't exist in my dselectlist)
un  libc6.1-pic         (Don't exist in my dselectlist)

I have both a updated apt-list and dselectlist!

I speculate that "glibc-doc" don't document "libc6"..
( I use ftp.dk.debian.org, in my /etc/apt/sources.list file)

Any ideer whats wrong???



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pdebian 2.4.24-1-686 #1 Tue Jan 6 21:29:44 EST 2004 i686
Locale: LANG=sv_SE, LC_CTYPE=sv_SE

Versions of packages libc6-dev depends on:
ii  libc6                2.3.2.ds1-11        GNU C Library: Shared libraries an
ii  linux-kernel-headers 2.5.999-test7-bk-15 Linux Kernel Headers for developme

-- no debconf information


---------------------------------------
Received: (at 231313-done) by bugs.debian.org; 5 Feb 2004 23:54:36 +0000
>From jbailey@raspberryginger.com Thu Feb 05 15:54:36 2004
Return-path: <jbailey@raspberryginger.com>
Received: from marge.v3.ca [216.66.20.89] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AotKN-0004Xr-00; Thu, 05 Feb 2004 15:54:35 -0800
Received: from marge.v3.ca (localhost [127.0.0.1])
	by marge.v3.ca (8.12.11.Beta0/8.12.11.Beta0/Debian-1) with ESMTP id i15NmsSs009823
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 5 Feb 2004 15:49:33 -0800
Received: (from jbailey@localhost)
	by marge.v3.ca (8.12.11.Beta0/8.12.10/Debian-0) id i15LNsfd020978;
	Thu, 5 Feb 2004 13:23:54 -0800
X-Authentication-Warning: marge.v3.ca: jbailey set sender to jbailey@raspberryginger.com using -f
Date: Thu, 5 Feb 2004 13:23:54 -0800
From: Jeff Bailey <jbailey@raspberryginger.com>
To: phoohb@yahoo.se
Cc: Jeff Bailey <jbailey@raspberryginger.com>, 231313-done@bugs.debian.org
Subject: Re: Bug#231313: libc6-dev: function 'pow', not found in 'math.h'?!
Message-ID: <20040205212354.GC2103@marge.v3.ca>
References: <[🔎] E1Aop9C-0000g1-00@pdebian> <[🔎] 20040205194825.GA2103@marge.v3.ca> <[🔎] 4022B32E.4080904@telia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 4022B32E.4080904@telia.com>
User-Agent: Mutt/1.5.4i
X-EMSscan-MailScanner: Found to be clean
X-EMSscan-MailScanner-SpamCheck: not spam, SpamAssassin (score=-8.714,
	required 5, BAYES_00 -4.90, PLING_QUERY 0.29, USER_AGENT_MUTT -4.11)
Delivered-To: 231313-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER,PLING_QUERY 
	autolearn=no version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Lovely.  Add -lm then to your link line.  Closing this bug.

On Thu, Feb 05, 2004 at 10:18:38PM +0100, Per Blomqvist wrote:
> Well, your example worked!
> (but I have not read the gcc manual, and don't know what options I feed..)
> 
> My first case looked like this:
> -Ehe it's to long. But the same happened if I compile your testcase with 
> only: "cc main.c"
> 
> It will output:
> [
> 	/tmp/ccywC279.o(.text+0x24): In function `main':
> 	: undefined reference to `pow'
> 	collect2: ld returned 1 exit status
> ]
> 
> Jeff Bailey wrote:
> >On Thu, Feb 05, 2004 at 08:26:46PM +0100, Per Blomqvist wrote:
> >
> >>function 'pow' are suppose to be in the 'math.h' according the "C
> >>Library manual" glibc-doc.. :
> >
> >Here's my testcase:
> >
> >$ cat main.c
> >#include <stdio.h>
> >#include <math.h>
> > 
> >int
> >main ()
> >{
> >  printf("%f\n", pow(2, 3));
> >  return(0);
> >}
> >
> >$ gcc -O2 -Wall -W main.c -lm
> >$ ./a.out
> >8.000000
> >
> >So it works for me.  Please provide a testcase showing your problem.
> >
> >Tks,
> >Jeff Bailey



Reply to: