I have two files, main.o and modules.o, and I\'m trying to compile them so that main.o can call functions in modules.o. I
main.o
modules.o
You should be including .h files which are "headers". So if your main file is using modules then you should include module's header file.
.h