Alright, I\'ve been trying to work with this for the longest time, and I simply can\'t seem to get it to work right. I have three files, main.c, hello_world.c
main.c
hello_world.c
You should link object file compled from your second .c file hello_world.c with your main.o
try this
cc -c main.c cc -c hello_world.c cc *.o -o hello_world