The linker can not see the STATIC INT main_stat variable, which is invisible.