snprintf won't link

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

snprintf won't link

693 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MX21 on Mon Apr 30 12:28:13 MST 2012
I'm using the small_printf library. The printf function works fine, but if I try to use snprintf, the linker fails, saying "undefined reference to `snprintf_nofloat'".
It's in the header file, but apparently needs something to enable it in the library?  Any help on how to make that work?

Thanks,

MX21
0 项奖励
回复
1 回复

674 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Wed May 02 03:52:11 MST 2012
@MX21.....Hi...!!!

Try debug_printf("MX21");


Thanks & Regards....:)
0 项奖励
回复