Bug 1356 - Floor Ceil Problem
Floor Ceil Problem
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
4.2
i386 Linux
low Severity low
: ---
: ---
Assigned To: Cristian Gafton
http://www.abcgiant.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-02-26 20:15 EST by webmaster
Modified: 2015-03-18 14:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-08 12:22:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description webmaster 1999-02-26 20:15:04 EST
The problem was encountered when I was compiling a .c file
that made a reference to the function floor (in math.h).
The error is:

/tmp/cca090901.o(.text+0x2756): undefined reference to
`floor'

I had the same error with ceil yesterday.

Here is a simple program that produces an identical error:

#include <stdio.h>
#include <math.h>

void main() {
printf("%.03f = %ld\n",1.23,(long)ceil(1.23));
}
Comment 1 David Lawrence 1999-03-02 16:35:59 EST
I have verified this to be a problem on one of the test lab machines.
Comment 2 Cristian Gafton 1999-03-08 12:22:59 EST
link in the math library (-lm)
Comment 3 openshift-github-bot 2015-03-18 14:26:34 EDT
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/a46042a74f959d7ab24d8270c7712193e8638d74
Issue 1356 - setup should either save cert file or data

Note You need to log in before you can comment on or make changes to this bug.