|
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
|