undefined reference to `__pformatter'

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

undefined reference to `__pformatter'

跳至解决方案
1,694 次查看
Saikiran
Contributor II

Currently I am porting MQX4.1 project to MQX4.2 which is running on MK60FN1M0VLQ12 controller. we want to use UART for debug output application is building properly but at linking stage showing error ARM_GCC_Support/ewl/EWL_C/src/stdio/vsnprintf.c:58: undefined reference to `__pformatter' related to ewl library, please suggest possible solution for this issue.

Regards,

Saikiran

0 项奖励
回复
1 解答
1,670 次查看
Saikiran
Contributor II

Hi @danielchen 

Thanks for the Help, I tried the solution provided by you still the issue is not provided. found below ticket similar to my issue.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/How-to-use-printf-function-in-S32DS-fo...  

changed linker settings flags and it worked issue resolved.

Regards,

Saikiran.M

在原帖中查看解决方案

标记 (1)
2 回复数
1,680 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @Saikiran 

 

Please refer to below link:  "undefined reference to __pformatter"

https://community.nxp.com/t5/CodeWarrior-Development-Tools/error-quot-undefined-reference-to-pformat...

 

I hope it helps.

 

Regards

Daniel

0 项奖励
回复
1,671 次查看
Saikiran
Contributor II

Hi @danielchen 

Thanks for the Help, I tried the solution provided by you still the issue is not provided. found below ticket similar to my issue.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/How-to-use-printf-function-in-S32DS-fo...  

changed linker settings flags and it worked issue resolved.

Regards,

Saikiran.M

标记 (1)