it now finally builds...
add ndas_core_main.c