Newbie needs help with linker problem


2004-08-13 03:12:09 PM
cppbuilder73
CbuilderX Personal.
I have two files in the project, both are c files.
They compile okay but will not link.
The files are 'defect_map.c' and 'interface.c'.
The linker error message is;
Error: Unresolved external '_main' referenced from C:\CBUILDERX\LIB\C0X32.OBJ
The build order is defect_map, interface.
If I swap the build order the linker error message is;
Error: Unresolved external '_interface' referenced from C:\CBUILDERX\LIB\C0X32.OBJ
I haven't a clue as to what the problem is. ANY HELP would be most appreciated.