我使用的是smart 2200开发板, 现在通过串口联接打印机, 想通过printf()函数向打印机输出数据, 可是printf()无法编译通过, 已经include <stdio.h> 错误报告如下, 请高手及周工的工程师指点一下, 如何才能使用printf()函数??
Error : L6200E: Symbol _sys_close multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol _sys_write multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol _sys_read multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol _sys_istty multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol _sys_seek multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol _sys_ensure multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol _sys_flen multiply defined (by sys_io.o and target.o).
Error : L6200E: Symbol __semihosting_swi_guard multiply defined (by use_semi.o and use_no_semi.o).
Not enough information to list the image sizes and/or totals.
Finished: 1 information, 0 warning and 8 error messages.
|