View Single Post
Old Oct 25th, 2006, 3:52 PM   #2
FastFish
Newbie
 
Join Date: Oct 2006
Posts: 4
Rep Power: 0 FastFish is on a distinguished road
Need to link against standard library

Dude,

You're using printf in your code but your not linking with the library where printf is defined.

I don't know how your compiler and linker are set up but you need to adjust the settings to include this library.

If you're on a Unix box then 'man printf' should provide some clues - look for something like '-lstdio' (stdio is the name of the library) and add this to the command that you're using for linking.

-- FF
FastFish is offline   Reply With Quote