Skip to main content
Home Forums 68kMLA Error When Compiling a Hello World in MW C/C++ — #1
Post #1 by nathanpc
Source Forum68kMLA
CategoryHardware
Post DateSat, 26 Sep 2009 - 17:24
Original URLhttps://68kmla.org/bb/threads/error-when-compiling-a-hello-world-in-mw-c-c.18669/
Post
Hello,

I'm trying to make a Hello World project in MetroWerks C/C++ 1.01, see the code:

Code:
// Hello.c
#include 

int main(void)
{
   printf("Hello, World!");
 return 0;
}
And here is the make log:

Code:
·· Link Error   : LinkError:Hello.c: 'printf' referenced from 'main' is undefined.
Thanks,

Nathan Paulino Campos

mp.ls