Hello,
Thank you for your question.
The linking problem is related to the included libraries which were compiled in CodeWarrior. The object code is not compatible between CodeWarrior (mwcceppc) and S32DS (gcc) compiler and therefore the linking fail.
From the listing I can see there are not just standard libraries (Runtime.*.a, MSL_C.*.c) but also some custom libs (libbsw.a)
I'd recommend you to get rid of standard libs and replace them with EWL libs compiled by S32DS gcc compiler (c:\NXP\S32DS_Power_v2.1\S32DS\build_tools\e200_ewl2\lib\*.a)
and also rebuild the custom libraries in S32DS (gcc) compiler.
Then you should be able to build/link your project correctly in S32DS.
Hope it helps.
Stan