Unknown error with a multiple file program

Look for unclosed if statements and functions. The compiler is not seeing the setup and loop because a function has not been closed properly so it sees the setup and loop as errors.