This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS570LS3137: undefined reference to `__binit__'/'WDTCTL_SYM'/`__TI_pprof_out_hndl'/`_symval'

Part Number: TMS570LS3137


Tool/software: TI C/C++ Compiler

I am trying to compile the bootloader on linux with arm-linux-gnueabihf-gcc,the makefile gives me an undefined reference error:undefined reference to `__binit__'/'WDTCTL_SYM' /`__TI_pprof_out_hndl'/`_symval' in autoinit.h,I can't find where the `__binit__' /'WDTCTL_SYM' /`__TI_pprof_out_hndl'/`_symval' is defined.

autoinit.h:143: undefined reference to `__binit__'

autoinit.c:171: undefined reference to `WDTCTL_SYM'

exit.c:68: undefined reference to `__TI_pprof_out_hndl'

exit.c:68: undefined reference to `_symval'