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't know where > to find them. How do I restore this?
For maths functions, you need -lm on the gcc command line. fprintf is in libc, so you don't need any extra link commands for it to work. Do you have build-essential installed? Are you #include'ing stdio.h? -- Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED] | Do I look like I want a CC? Words of the day: Pine Gap New World Order unclassified cracking encryption
signature.asc
Description: Digital signature