Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ub!dsinc!netnews.upenn.edu!eniac.seas.upenn.edu!diaz From: diaz@eniac.seas.upenn.edu (Carmen M. Diaz) Newsgroups: comp.lang.c Subject: Problem with ceil Message-ID: <33390@netnews.upenn.edu> Date: 25 Nov 90 22:35:14 GMT Sender: news@netnews.upenn.edu Reply-To: diaz@eniac.seas.upenn.edu (Carmen M. Diaz) Organization: University of Pennsylvania Lines: 20 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 Does anyone have any suggestions? Carmen (diaz@eniac.seas.upenn.edu)