Problem with ceil

Carmen M. Diaz diaz at eniac.seas.upenn.edu
Mon Nov 26 09:35:14 AEST 1990


I've got a problem with ceil.

the error I get is:
================================================================
cd /home/students/d/diaz/cse380/assn2/BAD/
gcc -lm -g sim.c
sim.c:130: Undefined symbol _ceil referenced from text segment

Compilation exited abnormally with code 1 at Sun Nov 25 17:23:56
================================================================

but I do have the following line in my code (at the beginning of the file):
#include <math.h>


Does anyone have any suggestions?


Carmen
(diaz at eniac.seas.upenn.edu)



More information about the Comp.lang.c mailing list