Re: silly gcc problem -- lost my libraries

2003-12-21 Thread Colin Watson
On Sat, Dec 20, 2003 at 09:19:19AM -0500, michelle wrote: > Colin Watson wrote: > > Remember that you need to link with -lm in order to call mathematical > > functions like sqrt(). > > Thanks, that's it. > After re-running, the fprintf went away as well. (That must have been > linker garbage due

Re: silly gcc problem -- lost my libraries

2003-12-21 Thread michelle
Colin Watson wrote: > > Remember that you need to link with -lm in order to call mathematical > functions like sqrt(). > Thanks, that's it. After re-running, the fprintf went away as well. (That must have been linker garbage due to 100 previous errors.) I'm down to one error now. The linker c

Re: silly gcc problem -- lost my libraries

2003-12-21 Thread Rob Weir
On Sat, Dec 20, 2003 at 06:39:42AM -0500, michelle said > and my marbles, I think. > > I can still compile "hello world", but I'm getting link errors if I call > math or file functions (basic stuff like sqrt, fprintf). They've been > available so long through the default library path that I don'

Re: silly gcc problem -- lost my libraries

2003-12-21 Thread Colin Watson
On Sat, Dec 20, 2003 at 06:39:42AM -0500, michelle wrote: > I can still compile "hello world", but I'm getting link errors if I call > math or file functions (basic stuff like sqrt, fprintf). They've been > available so long through the default library path that I don't know where > to find them

silly gcc problem -- lost my libraries

2003-12-20 Thread michelle
and my marbles, I think. I can still compile "hello world", but I'm getting link errors if I call math or file functions (basic stuff like sqrt, fprintf). They've been available so long through the default library path that I don't know where to find them. How do I restore this? How embarrassi