Compiling a .C file: Undefined symbols for architecture x86_64

28

You need a main function in date.c. Or you could just compile with -c to not link at this time and link the main function in later.

Leave a Comment