Red Hat Bugzilla – Bug 1356
Floor Ceil Problem
Last modified: 2016-11-24 07:18:30 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)); }
I have verified this to be a problem on one of the test lab machines.
link in the math library (-lm)
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