Problem with ceil

Richard A. O'Keefe ok at goanna.cs.rmit.oz.au
Mon Nov 26 19:44:00 AEST 1990


In article <33390 at netnews.upenn.edu>, diaz at eniac.seas.upenn.edu (Carmen M. Diaz) writes:
> gcc -lm -g sim.c
> sim.c:130: Undefined symbol _ceil referenced from text segment

> Does anyone have any suggestions?

(1) Read the ld(1) manual page.
(2) gcc {compiler options} {C source files} {library files}, e.g.
    gcc -g sim.c -lm

-- 
I am not now and never have been a member of Mensa.		-- Ariadne.



More information about the Comp.lang.c mailing list