[ERROR]
It is an error when a function is really empty because such a function can not be represented in the memory and it does not have an address. Because all C functions have at least a return instruction, this error can only occur with the pragma NO_EXIT. Remark that not all targets support NO_EXIT.
#pragma NO_EXIT
void main(void) {}
Remove the function. It is not possible to use an empty function.