.. i type "gcc hello.c" and i get "/usr/lib/crt1.o(.text+0x36): undefined reference to 'main' " this is an example from RedHat book, where i've taken the CD from. it contained this code " main() { printf("Hello World\n"); }"