Message More than one main program has been defined. Description The compiler has encountered more than one main program in this compilation unit. Each program can have only one main program. User Action Remove one of the main programs.